[[ParentLinkage(=)]] [[BR]] [[PageOutline]] = '''Using libIGCM librairie with ORCA2_LIM''' = == A - Purposes: == [[BR]] * Document the using of libIGCM for NEMO, in configuration ORCA2_LIM [[BR]] [[BR]] == B - Quick start guide: == [[BR]] [[BR]] * Define the following alias to use SVN : [[BR]] {{{ alias svn_ano='svn co http://forge.ipsl.jussieu.fr/igcmg/svn/modipsl/trunk modipsl' alias svn_libigcm='svn co http://forge.ipsl.jussieu.fr/libigcm/svn/tags/libIGCM_v1_1 libIGCM' alias svn_nemoligcm='svn co http://forge.ipsl.jussieu.fr/nemo/svn/branches/libIGCM/ORCA2_LIM/IGCM00 IGCM00' }}} * Create and go to the working directory : [[BR]] {{{ mkdir TRY ; cd TRY }}} * Extract modipsl : [[BR]] {{{ svn_ano }}} * Extract NEMO : [[BR]] {{{ cd modipsl/util ./model NEMO }}} * Extract libigcm : [[BR]] {{{ cd ../ svn_libigcm }}} * Extract card for NEMO for libIGCM : [[BR]] {{{ cd config/ORCA2_LIM svn_nemolibigcm }}} * Choosing ORCA2_LIM configuration : [[BR]] {{{ cd ../../modeles/util ./fait_config ORCA2_LIM }}} Editing at this point modipsl/config/ORCA2_LIM/IGCM00/config.card * Install the makefiles and makejob : [[BR]] {{{ cd ../../util ./ins_make ./ins_job }}} * Compile : [[BR]] {{{ cd ../config/ORCA2_LIM gmake }}} * Submit Job : [[BR]] {{{ cd IGCM00 qsub Job_NL1 (on brodie.idris.fr) }}} [[BR]] == C - List of possible errors : == [[BR]] [[BR]] === C.1 Errors in modipsl/config/ORCA2_LIM/IGCM00/Script_Output_''Job'' === * '''TERM = (vt100) ${HOME:-.}/.profile: .bashrc: not found''' * '''ksh: D--------------------------------------------------------------------==: not found''' it can depends on your '''.profile''' file. Everything works when your file .profile is like: «# .profile (idris) # Fichier d environnement a charger sur la frontale TX7 unix LINUX # Vous pouvez mettre a jour le fichier .profile_tx if [ `hostname` = "brodie" -a -f $HOME/.profile_tx ]; then . $HOME/.profile_tx # Fichier d environnement a charger sur les noeuds SX8 unix SUPER-UX # Vous pouvez mettre a jour le fichier .profile_sx elif [ `hostname` != "brodie" -a -f $HOME/.profile_sx ]; then . $HOME/.profile_sx else echo fi » [[BR]] * '''Error « cat: cannot open ........./modipsl/config/ORCA2_LIM/IGCM00/../.resol »''' : it is due to modipsl/libIGCM/AA_job file. You have to change in this way: #-- Resolution FLAG for oasis input #RESOL=$(cat ${SUBMIT_DIR}/../.resol) RESOL= (does not still fixed in libIGCM_v1_1) * '''Input files and BC for NEMO''' In this moment we've still to download '''/u/rech/eee/reee512/NEMO/ORCA2_LIM_nemo_v3.tar''' file, and to untar it into the directory: ${R_BC}/OCE/ORCA2_LIM and where ${R_BC} is a variable that can be changed in modipsl/config/ORCA2_LIM/IGCM00/config.card file