.
Google

e hënë, 18 qershor 2007

Episode 02 -- Install software for ROMS

=:=:=:=:=:=:=:=:
    Checklist
=:=:=:=:=:=:=:=:
       Internet
       >1G free space
       Linux with GNOME and Mozilla Firefox

=:=:=:=:=:=:=:=:
    Installation
=:=:=:=:=:=:=:=:

1. Install JRE (Java Runtime Environment) -- Smartsvn requires JRE 1.4.1 or higher
Navigate to http://www.java.com/en/download/manual.jsp#lin and download Linux (self-extracting file) to /user/java
Login as root user
# cd /user/java
# chmod a+x jre-1_5_0-linux-i586.bin
# ./jre-1_5_0-linux-i586.bin and follow the instructions to complete installation
(Note: for more information see http://www.java.com/en/download/help/5000010500.xml#selfextracting)

2. Install Smartsvn
Smartsvn can be used as soon as it is unpacked, so choose an appropriate directory before you start this program.
Navigate to http://www.syntevo.com/smartsvn/download.jsp and download Generic (Linux, Unix, OS/2)
# gunzip smartsvn-generic-2_1_8.tar.gz
# tar –xvf smartsvn-generic-2_1_8.tar
# cd smartsvn-2_1_8/bin
# smartsvn.sh

3. Install ifort (Intel® Fortran Compiler)
Navigate to http://www.intel.com/cd/software/products/asmo-na/eng/compilers/282048.htm
click “Free Non-commercial download” >“accept” > “Intel® Fortran Compiler Professional Edition for Linux”
You need provide a valid email address, so that Intel Software Development can send you the serial number and *.lic file (1st installation with serial number and 2nd needs *.lic)
“Intel(R) Fortran Compiler for Linux” > Version “9.0” > “Full Product”>”download”
# gunzip l_fc_c_9.0.033.tar.gz
# tar –xvf l_fc_c_9.0.033.tar
# cd l_fc_c_9.0.033
# ./install.sh and follow the instructions to complete installation. You may need to choose a directory to install opt/intel/fc/9.0 and opt/intel/idb/9.0.
Wherever you decide to create such a directory, please remember to add them to $PATH
# gedit $HOME/.bash_profile
Find “user specific environment and startup program”
$PATH = /opt/intel/fc/9.0/bin: /opt/intel/idb/9.0/bin:$PATH
This new $PATH will not be activated until you restart the PC

4. Install Netcdf
# wget http://www.unidata.ucar.edu/downloads/netcdf/ftp/netcdf.tar.gz
# gunzip netcdf.tar.gz
# tar –xvf netcdf.tar
# cd netcdf-3.6.2
# ./configure (if you are not root user, please specify a subdirectory you have write permission like ./configure –prefix=/home/yunli/user/local)
# make check
# make install
(If you are not root user, please)
# gedit $HOME/.bash_profile, and change “$PATH = :$PATH”

5. Install make3.81 (if running ROMS-3.0)
# wget ftp://ftp.gnu.org/gnu/make/make-3.81.tar.gz
# gunzip make-3.81.tar.gz
# tar –xvf make-3.81.tar
# cd make-3.81
# ./configure (if you are not root user, please specify a subdirectory you have write permission like ./configure –prefix=/home/yunli/user/local)
# make
# make install
(If you are not root user, please)
# gedit $HOME/.bash_profile and change “$PATH = :$PATH”

Nuk ka komente: