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

Last change on this file since 1524 was 944, checked in by aslmd, 12 years ago

associated changes to previous commit. additional readmes and fixes.

File size: 3.2 KB
Line 
1####################################
2## README.INSTALL                 ##
3## if you are outside LMD or IPSL ##
4## e.g. on your laptop            ##
5####################################
6
7This README describes the required steps to install the necessary python distribution and packages.
8This is only an example. The necessary python libraries (numpy, matplotlib, etc...) can also be installed one by one.
9
10----------------
11Step 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."
15EPD includes a distribution of Python and a set of libraries for plots and data analysis. It is free for academics.
16
17e.g. different versions are available.
1864 bit version for linux: epd-7.1-2-rh5-x86_64.sh (recommended)
1932 bit version for linux is also available if the above fails: epd-7.1-2-rh5-x86.sh
2064 bit version for MacOSX has also been successfully tested: epd-7.1-2-macosx-x86_64.dmg
21
22--------------------
23Step 2/- INSTALL EPD
24--------------------
25
26Simply 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-------------------------
29Step 3/- SET ENVIRONNMENT
30-------------------------
31
32You 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
35Then you must add to your $PATH in your .env_pers.ksh:
36export PATH=/u/bwhitelmd/san0/Python/64bits/epd-7.1-2-rh5-x86_64/bin:$PATH
37
38Note 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
40###################################
41## README.INSTALL                ##
42## if you are inside LMD or IPSL ##
43## e.g. on your laptop           ##
44###################################
45
46If you work on LMD or IPSL computers, you don't necessarily need to install EPD.
47
48-------------------------
49account on lmd.jussieu.fr
50-------------------------
51
52A. 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#####################################
56if [ `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
62fi
63#####################################
64
65---------------------------------
66account on ciclad.ipsl.jussieu.fr
67---------------------------------
68
69P. 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######################################
73PATH="/opt/epd-7.1-1/bin/:$PATH"
74PYTHONPATH=/home/spiga/MODELES/UTIL/PYTHON/
75export PYTHONPATH
76PATH=$PYTHONPATH:$PATH
77######################################
78
79-----------------------------------------------------------
80-----------------------------------------------------------
81-----------------------------------------------------------
82-----------------------------------------------------------
83Authors : A. Colaitis and A. Spiga
84
Note: See TracBrowser for help on using the repository browser.