1 | ########################### |
---|
2 | ############ README.INSTALL |
---|
3 | ########################### |
---|
4 | |
---|
5 | This README describes the required steps to install the python distribution and packages necessary to run the graphical routines. |
---|
6 | |
---|
7 | ---------------- |
---|
8 | Step 1/- GET EPD |
---|
9 | ---------------- |
---|
10 | |
---|
11 | "The Enthought Python Distribution (EPD) provides scientists with a comprehensive set of tools to perform rigorous data analysis and visualization." |
---|
12 | EPD includes a distribution of Python and a set of libraries for plots and data analysis. It is free for academics, and can be downloaded at: |
---|
13 | |
---|
14 | http://download.enthought.com/epd-7.1/ |
---|
15 | |
---|
16 | Different versions are available. |
---|
17 | 64 bit version for linux: epd-7.1-2-rh5-x86_64.sh (recommended) |
---|
18 | 32 bit version for linux is also available if the above fails: epd-7.1-2-rh5-x86.sh |
---|
19 | 64 bit version for MacOSX has also been successfully tested: epd-7.1-2-macosx-x86_64.dmg |
---|
20 | |
---|
21 | -------------------- |
---|
22 | Step 2/- INSTALL EPD |
---|
23 | -------------------- |
---|
24 | |
---|
25 | 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) |
---|
26 | |
---|
27 | ------------------------- |
---|
28 | Step 3/- SET ENVIRONNMENT |
---|
29 | ------------------------- |
---|
30 | |
---|
31 | You must put the path to the /bin of EPD in your $PATH. For exemple, if EPD is installed in: |
---|
32 | /u/bwhitelmd/san0/Python/64bits/epd-7.1-2-rh5-x86_64/ |
---|
33 | |
---|
34 | Then you must add to your $PATH in your .env_pers.ksh: |
---|
35 | export PATH=/u/bwhitelmd/san0/Python/64bits/epd-7.1-2-rh5-x86_64/bin:$PATH |
---|
36 | |
---|
37 | 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. |
---|
38 | |
---|
39 | LMD routines for python plots are on the svn repository in YOUR_SVN_INSTALL/trunk/UTIL/PYTHON/. You must declare the $PYTHONPATH environment variable to point to these routines. For example: |
---|
40 | export PYTHONPATH=/san0/bwhitelmd/SVN/trunk/UTIL/PYTHON/ |
---|
41 | |
---|
42 | Finally, you might want to add $PYTHONPATH to your $PATH so that the main scripts can be called from anywhere in command line. |
---|
43 | |
---|
44 | ------------------------------ |
---|
45 | Step 4/- Read the README.PP ;) |
---|
46 | ------------------------------ |
---|
47 | |
---|
48 | NB: To use the movie capability, you will have to install mencoder. |
---|
49 | NB: To use advance interpolation methods for GCM and mesoscale files, you will have to compile fortran routines with f2py (or compile those independently). |
---|
50 | |
---|
51 | ########################### |
---|
52 | ############ README.INSTALL.LMD |
---|
53 | ########################### |
---|
54 | |
---|
55 | If you work on LMD or IPSL computers, you don't necessarily need to install EPD. |
---|
56 | |
---|
57 | [NB: You don't necessarily need to download pp.py sources either but in case |
---|
58 | you would like to try modifications of the code please use the command |
---|
59 | svn co http://svn.lmd.jussieu.fr/Planeto/trunk/UTIL/PYTHON |
---|
60 | and change PYTHONPATH accordingly in the lines given in what follows] |
---|
61 | |
---|
62 | ------------------------- |
---|
63 | account on lmd.jussieu.fr |
---|
64 | ------------------------- |
---|
65 | |
---|
66 | A. Spiga installed on his account a version of EPD. |
---|
67 | --> Add the following lines to your env_pers.ksh, then source the file. You're OK! |
---|
68 | --> (ask for an installation of mencoder if you'd like to use movie capabilities) |
---|
69 | |
---|
70 | ##################################### |
---|
71 | if [ `uname` = 'Linux' ] ;then |
---|
72 | if [ `uname -m` = 'x86_64' ] ;then |
---|
73 | PATH="/donnees/aslmd/PY/epd-7.0-2-rh3-x86_64/bin/:$PATH" |
---|
74 | else |
---|
75 | PATH="/donnees/aslmd/PY/epd-7.0-2-rh5-x86/bin/:$PATH" |
---|
76 | fi |
---|
77 | fi |
---|
78 | PYTHONPATH=/donnees/aslmd/MODELES/UTIL/PYTHON/ |
---|
79 | export PYTHONPATH |
---|
80 | PATH=$PYTHONPATH:$PATH |
---|
81 | ##################################### |
---|
82 | |
---|
83 | --------------------------------- |
---|
84 | account on ciclad.ipsl.jussieu.fr |
---|
85 | --------------------------------- |
---|
86 | |
---|
87 | P. Weill installed on the system a version of EPD (and mencoder for movie capabilities) |
---|
88 | --> Just add the following lines to your .bashrc, then source the file. You're OK! |
---|
89 | |
---|
90 | ###################################### |
---|
91 | PATH="/opt/epd-7.1-1/bin/:$PATH" |
---|
92 | PYTHONPATH=/home/spiga/MODELES/UTIL/PYTHON/ |
---|
93 | export PYTHONPATH |
---|
94 | PATH=$PYTHONPATH:$PATH |
---|
95 | ###################################### |
---|
96 | |
---|
97 | ----------------------------------------------------------- |
---|
98 | ----------------------------------------------------------- |
---|
99 | ----------------------------------------------------------- |
---|
100 | ----------------------------------------------------------- |
---|
101 | Authors : A. Colaitis and A. Spiga |
---|
102 | |
---|