source: trunk/UTIL/PYTHON/README.INSTALL @ 796

Last change on this file since 796 was 723, checked in by aslmd, 12 years ago

UTIL PYTHON : added seasonal and wind capability to MCD python interface. updated READMEs for LMD insiders.

File size: 4.1 KB
Line 
1###########################
2############ README.INSTALL
3###########################
4
5This README describes the required steps to install the python distribution and packages necessary to run the graphical routines.
6
7----------------
8Step 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."
12EPD 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
14http://download.enthought.com/epd-7.1/
15
16Different versions are available.
1764 bit version for linux: epd-7.1-2-rh5-x86_64.sh (recommended)
1832 bit version for linux is also available if the above fails: epd-7.1-2-rh5-x86.sh
1964 bit version for MacOSX has also been successfully tested: epd-7.1-2-macosx-x86_64.dmg
20
21--------------------
22Step 2/- INSTALL EPD
23--------------------
24
25Simply 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-------------------------
28Step 3/- SET ENVIRONNMENT
29-------------------------
30
31You 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
34Then you must add to your $PATH in your .env_pers.ksh:
35export PATH=/u/bwhitelmd/san0/Python/64bits/epd-7.1-2-rh5-x86_64/bin:$PATH
36
37Note 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
39LMD 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:
40export PYTHONPATH=/san0/bwhitelmd/SVN/trunk/UTIL/PYTHON/
41
42Finally, you might want to add $PYTHONPATH to your $PATH so that the main scripts can be called from anywhere in command line.
43
44------------------------------
45Step 4/- Read the README.PP ;)
46------------------------------
47
48NB: To use the movie capability, you will have to install mencoder.
49NB: 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
55If 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
58you would like to try modifications of the code please use the command
59   svn co http://svn.lmd.jussieu.fr/Planeto/trunk/UTIL/PYTHON
60and change PYTHONPATH accordingly in the lines given in what follows]
61
62-------------------------
63account on lmd.jussieu.fr
64-------------------------
65
66A. 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#####################################
71if [ `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
77fi
78PYTHONPATH=/donnees/aslmd/MODELES/UTIL/PYTHON/
79export PYTHONPATH
80PATH=$PYTHONPATH:$PATH
81#####################################
82
83---------------------------------
84account on ciclad.ipsl.jussieu.fr
85---------------------------------
86
87P. 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######################################
91PATH="/opt/epd-7.1-1/bin/:$PATH"
92PYTHONPATH=/home/spiga/MODELES/UTIL/PYTHON/
93export PYTHONPATH
94PATH=$PYTHONPATH:$PATH
95######################################
96
97-----------------------------------------------------------
98-----------------------------------------------------------
99-----------------------------------------------------------
100-----------------------------------------------------------
101Authors : A. Colaitis and A. Spiga
102
Note: See TracBrowser for help on using the repository browser.