Installation Environnement Commun : Différence entre versions
m |
m |
||
(6 révisions intermédiaires par le même utilisateur non affichées) | |||
Ligne 9: | Ligne 9: | ||
|} | |} | ||
− | *Get bootstrap '''installer''' from the [http://scaweb.sca.uqam.ca/armnlib/repository software depot]<br>use your browser to get the most recent installer bootstrap script<br>INSTALL_BOOTSTRAP-8.11.002 (as of writing this documentation)<br>into your UNIX/Linux HOME<br>make sure there is no directory called '''ECssm''' in your HOME<br>make sure that there is an empty directory or a link to an empty directory called '''ssm-domains-base''' in your HOME <br>(it is not necessary but usually a good idea to dedicate an account to EC environment maintenance) <br> | + | = installation procedure for UQAM/SCA version of EC software = |
+ | |||
+ | *Get bootstrap '''installer''' from the SCA [http://scaweb.sca.uqam.ca/armnlib/repository software depot]<br>use your browser to get the most recent installer bootstrap script<br>INSTALL_BOOTSTRAP-8.11.002 (as of writing this documentation)<br>into your UNIX/Linux HOME<br>make sure there is no directory called '''ECssm''' in your HOME<br>make sure that there is an empty directory or a link to an empty directory called '''ssm-domains-base''' in your HOME <br>(it is not necessary but usually a good idea to dedicate an account to EC environment maintenance) <br> | ||
*Prepare your account for setup<br>get rid of (remove, rename, move, ...) '''.bashrc''', '''.profile''' and '''.bash_profile'''<br>'''ln -s ECssm/multi/bin/.profile .profile<br>'''the installer will create a soft link called '''ECssm''' pointing to the right place<br> | *Prepare your account for setup<br>get rid of (remove, rename, move, ...) '''.bashrc''', '''.profile''' and '''.bash_profile'''<br>'''ln -s ECssm/multi/bin/.profile .profile<br>'''the installer will create a soft link called '''ECssm''' pointing to the right place<br> | ||
*Run installer <br>chmod 755 INSTALL_BOOTSTRAP-8.11.002<br>ssh localhost ./INSTALL_BOOTSTRAP-8.11.002 <br>the installer should have created a soft link called ECssm pointing to the right place<br> | *Run installer <br>chmod 755 INSTALL_BOOTSTRAP-8.11.002<br>ssh localhost ./INSTALL_BOOTSTRAP-8.11.002 <br>the installer should have created a soft link called ECssm pointing to the right place<br> | ||
*logout and login again (with setup this time) <br>you should now see the welcoming setup messages <br> | *logout and login again (with setup this time) <br>you should now see the welcoming setup messages <br> | ||
+ | *Choose and install (or get installed) a Fortran compiler<br>gfortran is available on most Linux distributions (4.4 or better highly recommended) | ||
*Configure compilers and compiling tools (needed for any development work) <br>the s.list_ssm_shortcuts command can be used to find where the "shortcuts" reside<br> | *Configure compilers and compiling tools (needed for any development work) <br>the s.list_ssm_shortcuts command can be used to find where the "shortcuts" reside<br> | ||
− | **gfortran (version 4.4 or better)<br>generic gfortran (versionless | + | **gfortran (version 4.4 or better)<br>generic gfortran (versionless) architecture already preconfigured <br> [http://scaweb.sca.uqam.ca/armnlib/repository/gcc-4.6.tar.bz2 gcc4.6 binary tar file] available in repository at UQAM (should work on a lot of Linux distributions)<br> |
**Portland Group compiler (version 11)<br>the '''pgi11.sh''' shortcut file will have to be adjusted | **Portland Group compiler (version 11)<br>the '''pgi11.sh''' shortcut file will have to be adjusted | ||
**Portland Group compiler (version 12)<br>the '''pgi12.sh''' shortcut file will have to be adjusted | **Portland Group compiler (version 12)<br>the '''pgi12.sh''' shortcut file will have to be adjusted | ||
− | **Portland Group compiler (version >12)<br>a '''pgi'''''nn'''''.sh''' shortcut file will have to be created (nn is version number) and a proper Compiler_rules file created and installed | + | **Portland Group compiler (version >12)<br>the '''pgi'''''_all'''''.sh''' shortcut file will have to be adjusted (use the generic pgi_all compiler architecture)<br>or<br>a '''pgi'''''nn'''''.sh''' shortcut file will have to be created (nn is version number) and a proper Compiler_rules file created and installed <br>(helper script needed ?) |
**Other compiler <br>an appropriate shortcut file will have to be created and a compiler architecture name defined and a proper Compiler_rules file created and installed<br>(helper script needed ?) | **Other compiler <br>an appropriate shortcut file will have to be created and a compiler architecture name defined and a proper Compiler_rules file created and installed<br>(helper script needed ?) | ||
*Generate librmn_xxx.a (needed for any development work) <br>acquire a compiler<br>e.g.: '''. s.ssmuse.dot gfortran''' <br>go into the RMNLIB_013 source directory <br> | *Generate librmn_xxx.a (needed for any development work) <br>acquire a compiler<br>e.g.: '''. s.ssmuse.dot gfortran''' <br>go into the RMNLIB_013 source directory <br> | ||
− | *Configure MPI (needed for EC model work ) | + | *Configure MPI (needed for EC model work )for the selected compiler architecture<br> |
*Generate the rpn_comm MPI model toolkit library (needed for EC model work ) | *Generate the rpn_comm MPI model toolkit library (needed for EC model work ) |
Version actuelle datée du 28 de janvier 2013 à 14:07
en construction(cette page s'adresse aux installateurs/développeurs) |
under construction(this page is for installers/developers) |
installation procedure for UQAM/SCA version of EC software
- Get bootstrap installer from the SCA software depot
use your browser to get the most recent installer bootstrap script
INSTALL_BOOTSTRAP-8.11.002 (as of writing this documentation)
into your UNIX/Linux HOME
make sure there is no directory called ECssm in your HOME
make sure that there is an empty directory or a link to an empty directory called ssm-domains-base in your HOME
(it is not necessary but usually a good idea to dedicate an account to EC environment maintenance) - Prepare your account for setup
get rid of (remove, rename, move, ...) .bashrc, .profile and .bash_profile
ln -s ECssm/multi/bin/.profile .profile
the installer will create a soft link called ECssm pointing to the right place - Run installer
chmod 755 INSTALL_BOOTSTRAP-8.11.002
ssh localhost ./INSTALL_BOOTSTRAP-8.11.002
the installer should have created a soft link called ECssm pointing to the right place - logout and login again (with setup this time)
you should now see the welcoming setup messages - Choose and install (or get installed) a Fortran compiler
gfortran is available on most Linux distributions (4.4 or better highly recommended) - Configure compilers and compiling tools (needed for any development work)
the s.list_ssm_shortcuts command can be used to find where the "shortcuts" reside
- gfortran (version 4.4 or better)
generic gfortran (versionless) architecture already preconfigured
gcc4.6 binary tar file available in repository at UQAM (should work on a lot of Linux distributions) - Portland Group compiler (version 11)
the pgi11.sh shortcut file will have to be adjusted - Portland Group compiler (version 12)
the pgi12.sh shortcut file will have to be adjusted - Portland Group compiler (version >12)
the pgi_all.sh shortcut file will have to be adjusted (use the generic pgi_all compiler architecture)
or
a pginn.sh shortcut file will have to be created (nn is version number) and a proper Compiler_rules file created and installed
(helper script needed ?) - Other compiler
an appropriate shortcut file will have to be created and a compiler architecture name defined and a proper Compiler_rules file created and installed
(helper script needed ?)
- gfortran (version 4.4 or better)
- Generate librmn_xxx.a (needed for any development work)
acquire a compiler
e.g.: . s.ssmuse.dot gfortran
go into the RMNLIB_013 source directory - Configure MPI (needed for EC model work )for the selected compiler architecture
- Generate the rpn_comm MPI model toolkit library (needed for EC model work )