[944] | 1 | #################################### |
---|
| 2 | ## README.INSTALL ## |
---|
| 3 | ## if you are outside LMD or IPSL ## |
---|
| 4 | ## e.g. on your laptop ## |
---|
| 5 | #################################### |
---|
[723] | 6 | |
---|
[944] | 7 | This README describes the required steps to install the necessary python distribution and packages. |
---|
| 8 | This is only an example. The necessary python libraries (numpy, matplotlib, etc...) can also be installed one by one. |
---|
[446] | 9 | |
---|
| 10 | ---------------- |
---|
| 11 | Step 1/- GET EPD |
---|
| 12 | ---------------- |
---|
| 13 | |
---|
| 14 | "The Enthought Python Distribution (EPD) provides scientists with a comprehensive set of tools to perform rigorous data analysis and visualization." |
---|
[944] | 15 | EPD includes a distribution of Python and a set of libraries for plots and data analysis. It is free for academics. |
---|
[446] | 16 | |
---|
[944] | 17 | e.g. different versions are available. |
---|
[446] | 18 | 64 bit version for linux: epd-7.1-2-rh5-x86_64.sh (recommended) |
---|
| 19 | 32 bit version for linux is also available if the above fails: epd-7.1-2-rh5-x86.sh |
---|
| 20 | 64 bit version for MacOSX has also been successfully tested: epd-7.1-2-macosx-x86_64.dmg |
---|
| 21 | |
---|
| 22 | -------------------- |
---|
| 23 | Step 2/- INSTALL EPD |
---|
| 24 | -------------------- |
---|
| 25 | |
---|
| 26 | Simply put the .sh file you downloaded where you want to install python and run "bash epd-7.1-2-rh5-x86_64.sh" (or whatever version you got from the website) |
---|
| 27 | |
---|
| 28 | ------------------------- |
---|
| 29 | Step 3/- SET ENVIRONNMENT |
---|
| 30 | ------------------------- |
---|
| 31 | |
---|
| 32 | You must put the path to the /bin of EPD in your $PATH. For exemple, if EPD is installed in: |
---|
| 33 | /u/bwhitelmd/san0/Python/64bits/epd-7.1-2-rh5-x86_64/ |
---|
| 34 | |
---|
| 35 | Then you must add to your $PATH in your .env_pers.ksh: |
---|
| 36 | export PATH=/u/bwhitelmd/san0/Python/64bits/epd-7.1-2-rh5-x86_64/bin:$PATH |
---|
| 37 | |
---|
| 38 | Note that a version of python was probably already installed on your machine, in /usr/bin/. Make sure that "which python" gets you the correct path to EPD python after you sourced your .env_pers.ksh. |
---|
| 39 | |
---|
[944] | 40 | ################################### |
---|
| 41 | ## README.INSTALL ## |
---|
| 42 | ## if you are inside LMD or IPSL ## |
---|
| 43 | ## e.g. on your laptop ## |
---|
| 44 | ################################### |
---|
[446] | 45 | |
---|
[723] | 46 | If you work on LMD or IPSL computers, you don't necessarily need to install EPD. |
---|
| 47 | |
---|
| 48 | ------------------------- |
---|
| 49 | account on lmd.jussieu.fr |
---|
| 50 | ------------------------- |
---|
| 51 | |
---|
| 52 | A. Spiga installed on his account a version of EPD. |
---|
| 53 | --> Add the following lines to your env_pers.ksh, then source the file. You're OK! |
---|
| 54 | |
---|
| 55 | ##################################### |
---|
| 56 | if [ `uname` = 'Linux' ] ;then |
---|
| 57 | if [ `uname -m` = 'x86_64' ] ;then |
---|
| 58 | PATH="/donnees/aslmd/PY/epd-7.0-2-rh3-x86_64/bin/:$PATH" |
---|
| 59 | else |
---|
| 60 | PATH="/donnees/aslmd/PY/epd-7.0-2-rh5-x86/bin/:$PATH" |
---|
| 61 | fi |
---|
| 62 | fi |
---|
| 63 | ##################################### |
---|
| 64 | |
---|
| 65 | --------------------------------- |
---|
| 66 | account on ciclad.ipsl.jussieu.fr |
---|
| 67 | --------------------------------- |
---|
| 68 | |
---|
| 69 | P. Weill installed on the system a version of EPD (and mencoder for movie capabilities) |
---|
| 70 | --> Just add the following lines to your .bashrc, then source the file. You're OK! |
---|
| 71 | |
---|
| 72 | ###################################### |
---|
| 73 | PATH="/opt/epd-7.1-1/bin/:$PATH" |
---|
| 74 | PYTHONPATH=/home/spiga/MODELES/UTIL/PYTHON/ |
---|
| 75 | export PYTHONPATH |
---|
| 76 | PATH=$PYTHONPATH:$PATH |
---|
| 77 | ###################################### |
---|
| 78 | |
---|
| 79 | ----------------------------------------------------------- |
---|
| 80 | ----------------------------------------------------------- |
---|
| 81 | ----------------------------------------------------------- |
---|
| 82 | ----------------------------------------------------------- |
---|
| 83 | Authors : A. Colaitis and A. Spiga |
---|
| 84 | |
---|