Installation Environnement Commun : Différence entre versions

Un article de Informaticiens département des sciences de la Terre et l'atmosphère
Aller à: navigation, charcher
m
m
Ligne 9: Ligne 9:
 
|}
 
|}
  
*Get '''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)  
+
*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>  
*Run installer <br>chmod 755 INSTALL_BOOTSTRAP-8.11.002<br>ssh localhost ./INSTALL_BOOTSTRAP-8.11.002
+
*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 setup<br>get rid of (remove, rename, move, ...) '''.bashrc''', '''.profile''' and '''.bash_profile'''<br>'''ln -s ECssm/multi/bin/.profile .profile<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  
+
*logout and login again (with setup this time) <br>you should now see the welcoming setup messages <br>
 
*Configure compilers and compiling tools (needed for any development work)  
 
*Configure compilers and compiling tools (needed for any development work)  
 
**gfortran (version 4.4 or better)<br>already configured  
 
**gfortran (version 4.4 or better)<br>already configured  
 
**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 &gt;12)<br>a '''pgi'''''nn'''''.sh''' shortcut file will have to be created (nn is version number)<br>
+
**Portland Group compiler (version &gt;12)<br>a '''pgi'''''nn'''''.sh''' shortcut file will have to be created (nn is version number)<br>  
**Other compiler <br>an appropriate shortcut file will have to be created and a compiler architecture name defined  
+
**Other compiler <br>an appropriate shortcut file will have to be created and a compiler architecture name defined <br>
*Generate librmn_xxx.a (needed for any development work) <br>acquire a compiler<br>e.g.:&nbsp;&nbsp; '''. s.ssmuse.dot gfortran'''&nbsp; <br>go into the RMNLIB_013 source directory
+
*Generate librmn_xxx.a (needed for any development work) <br>acquire a compiler<br>e.g.:&nbsp;&nbsp; '''. s.ssmuse.dot gfortran'''&nbsp; <br>go into the RMNLIB_013 source directory <br>
 
*Configure MPI (needed for EC model work )  
 
*Configure MPI (needed for EC model work )  
 
*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 depuis le 28 de janvier 2013 à 13:09

en construction(cette page s'adresse aux installateurs/développeurs)

under construction(this page is for installers/developers)

  • Get bootstrap installer from the 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
  • Configure compilers and compiling tools (needed for any development work)
    • gfortran (version 4.4 or better)
      already configured
    • 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)
      a pginn.sh shortcut file will have to be created (nn is version number)
    • Other compiler
      an appropriate shortcut file will have to be created and a compiler architecture name defined
  • 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 )
  • Generate the rpn_comm MPI model toolkit library (needed for EC model work )