Changes between Version 18 and Version 19 of user/flavoni/libIGCM_v4.0a
- Timestamp:
- 2017-08-18T20:34:32+02:00 (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
user/flavoni/libIGCM_v4.0a
v18 v19 1 1 [[TOC(heading=Using libIGCM library to run 50 years of ORCA2_LIM3_PISCES nemo_v4_0_alpha, depth=2, libIGCM_nemo_v_4_0_alpha/config.card_description)]] 2 2 3 = '''Using libIGCM library with ORCA2_LIM3_PISCES with nemo_v3_4_0_alpha (= dev_merge_2016) January 2017''' = 4 == Purposes == 5 Through LibIGCM give an example of 50 years run of ORCA2_LIM3_PISCES configuration, with : 3 = '''Using libIGCM library with ORCA2_LIM3_PISCES with nemo_v3_4_0_alpha (= dev_merge_2016) January 2017''' 6 4 7 * Climatological and Interannual (years from 1948 to 2009) forcing files COREII 8 * outputs: 9 * ocean: 1D 5D 1M 1Y 10 * ice: 1M 11 * biology: 1D 1M 1Y 5 Last edition: '''[[Wikinfo(changed_ts)]]''' by '''[[Wikinfo(changed_by)]]''' 12 6 13 * RESTARTS every year 14 * on Idris ADA machine 7 == Purposes 8 9 Through LibIGCM give an example of 50 years run of ORCA2_LIM3_PISCES configuration, with : 10 11 * Climatological and Interannual (years from 1948 to 2009) forcing files COREII 12 * outputs: 13 * ocean: 1D 5D 1M 1Y 14 * ice: 1M 15 * biology: 1D 1M 1Y 16 * RESTARTS every year 17 * on Idris ADA machine 15 18 16 19 Official documentation of Libigcm is : 20 https://forge.ipsl.jussieu.fr/igcmg_doc/wiki/Doc 17 21 18 https://forge.ipsl.jussieu.fr/igcmg_doc/wiki/Doc 22 == Quick start guide 19 23 20 == Quick start guide :[https://forge.ipsl.jussieu.fr/nemo/browser/branches/2015/nemo_v3_6_STABLE/NEMOGCM http://www.nemo-ocean.eu/Using-NEMO/Configurations/] == 21 * Create and go into working directory : 24 [source:/branches/2015/nemo_v3_6_STABLE/NEMOGCM] 22 25 23 {{{ 24 cd $WORKDIR ; mkdir test_O2L3PIS_50years_merge2016 ; cd test_O2L3PIS_50years_merge2016 26 * Create and go into working directory : 27 {{{#!sh 28 cd $WORKDIR ; mkdir test_O2L3PIS_50years_merge2016 ; cd test_O2L3PIS_50years_merge2016 25 29 }}} 26 * Define the following alias to use SVN :27 30 28 {{{ 29 alias svn_ano='svn co http://forge.ipsl.jussieu.fr/igcmg/svn/modipsl/trunk modipsl' 31 * Define the following alias to use SVN : 32 {{{#!sh 33 alias svn_ano='svn co http://forge.ipsl.jussieu.fr/igcmg/svn/modipsl/trunk modipsl' 30 34 }}} 31 * Extract modipsl (modipsl with LibIGCM)32 35 33 {{{ 34 svn_ano 36 * Extract modipsl (modipsl with LibIGCM) 37 {{{#!sh 38 svn_ano 35 39 }}} 36 * Change mod.def: the model "NEMO_v5": 37 {{{ 40 41 * Change mod.def: the model "NEMO_v5": 42 {{{#!sh 38 43 cd modipsl/util 39 44 vi mod.def 40 45 }}} 41 42 46 edit mod.def file at ''NEMO_v5'' configuration: 43 47 change the original with these lines: … … 53 57 }}} 54 58 55 56 59 * Extract the model "NEMO_v5": 57 58 60 {{{ 59 61 cd modipsl/util 60 62 ./model NEMO_v5 61 63 }}} 62 64 63 64 * To compile and run NEMO is needed to download and compile xios: 65 * To compile and run NEMO is needed to download and compile xios: 66 * Download XIOS ('''branch 1.0 revision 703''')\\ 67 (The documentation of xios is available [//ioserver/wiki/documentation here]) 68 * Compile XIOS (on ADA machine): 69 {{{#!sh 70 cd $WORKDIR 71 svn co http://forge.ipsl.jussieu.fr/ioserver/svn/XIOS/branchs/xios-1.0 XIOS -r 703 72 cd XIOS 73 ./make_xios --avail 74 ./make_xios --arch X64_ADA --full --prod --job 8 75 }}} 65 76 66 * Download XIOS ('''branch 1.0 revision 703''') 77 * Compile ORCA2_LIM3_PISCES configuration (Using ./makenemo -h to see help ( to see list of compilers available, to see options,...)) 78 {{{#!sh 79 cd ../modeles/NEMOGCM/CONFIG 80 ./makenemo -n ORCA2_LIM3_PISCES -m X64_ADA -j8 81 #-j8 compile with 8 proc for compilation phase 82 #-j0 option create only configuration directory but does not compile it 83 }}} 67 84 68 (The documentation of xios is available here: http://forge.ipsl.jussieu.fr/ioserver/wiki/documentation ) 69 70 * Compile XIOS (on ADA machine): 71 72 {{{ 73 cd $WORKDIR 74 svn co http://forge.ipsl.jussieu.fr/ioserver/svn/XIOS/branchs/xios-1.0 XIOS -r 703 75 cd XIOS 76 }}} 77 {{{ 78 ./make_xios --avail 79 ./make_xios --arch X64_ADA --full --prod --job 8 80 81 }}} 82 * Compile ORCA2_LIM3_PISCES configuration (Using ./makenemo -h to see help ( to see list of compilers availables, to see options,...)) 83 84 {{{ 85 cd ../modeles/NEMOGCM/CONFIG 86 ./makenemo -n ORCA2_LIM3_PISCES -m X64_ADA -j8 87 88 -j8 compile with 8 proc for compilation phase 89 -j0 option create only configuration directory but does not compile it 90 91 }}} 92 * Copy executable nemo.exe (and xios_server.exe if needed in detached mode) in modipsl : 93 94 {{{ 85 * Copy executable nemo.exe (and xios_server.exe if needed in detached mode) in modipsl : 86 {{{#!sh 95 87 cd ../../../bin 96 88 ln -s ../modeles/NEMOGCM/CONFIG/ORCA2_LIM3_PISCES/BLD/bin/nemo.exe nemo.exe 97 (ln -s $WORKDIR/XIOS/bin/xios_server.exe xios_server.exe) 98 89 ln -s $WORKDIR/XIOS/bin/xios_server.exe xios_server.exe 99 90 }}} 100 ''' NOTA: YOU CAN WANT TO USE MORE THAN ONE EXECUTABLE''': so you can do, for example,101 {{{ 91 '''NOTA: YOU CAN WANT TO USE MORE THAN ONE EXECUTABLE''': so you can do, for example, 92 {{{#!sh 102 93 ln -s ../modeles/NEMOGCM/CONFIG/ORCA2_LIM3_PISCES/BLD/bin/nemo.exe nemo_orca2_lim3_pisces.exe 103 94 ln -s ../modeles/NEMOGCM/CONFIG/ORCA2_LIM2_PISCES/BLD/bin/nemo.exe nemo_orca2_lim2_pisces.exe 95 }}} 96 JUST BE CAREFUL to use '''SAME''' executable '''name''' in config.card 104 97 105 }}} 106 JUST BECAREFUL to use ''' SAME''' executable ''' name''' in config.card 107 108 * This is the structure of config in modipsl: 109 98 * This is the structure of config in modipsl: 110 99 {{{ 111 100 modipsl/config/NEMO_v6/ … … 120 109 opa9.card 121 110 }}} 122 * To create submission directory you have to copy config.card file in config/NEMO-v6 directory:123 111 124 {{{ 125 cd ../config/NEMO_v6 126 cp EXPERIMENTS/ORCA2_LIM3_PISCES/clim/config.card . 112 * To create submission directory you have to copy config.card file in config/NEMO-v6 directory: 113 {{{#!sh 114 cd ../config/NEMO_v6 115 cp EXPERIMENTS/ORCA2_LIM3_PISCES/clim/config.card . 127 116 }}} 128 * Editing at this point '''modipsl/config/NEMO_v6/config.card''' (according to iodef.xml file) see detailed page for more informations: [https://forge.ipsl.jussieu.fr/nemo/wiki/libIGCM_nemo_v_3_6/config.card_description page description of config.card]129 117 118 * Editing at this point '''modipsl/config/NEMO_v6/config.card''' (according to iodef.xml file)\\ 119 See detailed page for more informations: [wiki:libIGCM_nemo_v_3_6/config.card_description page description of config.card] 130 120 131 '''IMPORTANT NOTE''' : in config.card BE CAREFUL TO THESE LINES: [[BR]]121 '''IMPORTANT NOTE''' : in config.card BE CAREFUL TO THESE LINES:\\ 132 122 Parameters Files 133 123 134 124 in '''opa.card''' 135 136 List= [[BR]]137 || (${MODIPSL}/modeles/NEMOGCM/CONFIG/SHARED/namelist_ref, || namelist_ref ), \ || 138 || (${SUBMIT_DIR}/PARAM/v4_0_alpha/namelist_${RESOL_OCE}${EXPTYPE}_cfg, || namelist_cfg ), \ || 139 || (${SUBMIT_DIR}/PARAM/v4_0_alpha/iodef.xml, || iodef.xml ), \ || 140 || (${SUBMIT_DIR}/PARAM/v4_0_alpha/domain_def.xml, || domain_def.xml), \ || 141 || (${SUBMIT_DIR}/PARAM/v4_0_alpha/field_def.xml, || field_def.xml ) || 142 125 {{{#!sh 126 List= (${MODIPSL}/modeles/NEMOGCM/CONFIG/SHARED/namelist_ref , namelist_ref ), \ 127 (${SUBMIT_DIR}/PARAM/v4_0_alpha/namelist_${RESOL_OCE}${EXPTYPE}_cfg, namelist_cfg ), \ 128 (${SUBMIT_DIR}/PARAM/v4_0_alpha/iodef.xml , iodef.xml ), \ 129 (${SUBMIT_DIR}/PARAM/v4_0_alpha/domain_def.xml , domain_def.xml ), \ 130 (${SUBMIT_DIR}/PARAM/v4_0_alpha/field_def.xml , field_def.xml ) 131 }}} 132 143 133 in '''lim3.card''' 144 145 || (${SUBMIT_DIR}/PARAM/v4_0_alpha/namelist_lim3_ref, || namelist_ice_ref), \ || 146 || (${SUBMIT_DIR}/PARAM/v4_0_alpha/namelist_lim3_cfg, || namelist_ice_cfg) || 134 {{{#!sh 135 (${SUBMIT_DIR}/PARAM/v4_0_alpha/namelist_lim3_ref , namelist_ice_ref ), \ 136 (${SUBMIT_DIR}/PARAM/v4_0_alpha/namelist_lim3_cfg , namelist_ice_cfg ) 137 }}} 147 138 148 139 in '''pisces.card''' 149 150 || (${SUBMIT_DIR}/PARAM/v4_0_alpha/namelist_top_ref, || namelist_top_ref), \ || 151 || (${SUBMIT_DIR}/PARAM/v4_0_alpha/namelist_top_${RESOL_OCE}_cfg, || namelist_top_cfg), \ || 152 || (${SUBMIT_DIR}/PARAM/v4_0_alpha/namelist_pisces_ref, || namelist_pisces_ref), \ || 153 || (${SUBMIT_DIR}/PARAM/v4_0_alpha/namelist_pisces_${RESOL_OCE}_cfg, || namelist_pisces_cfg) || 154 155 156 140 {{{#!sh 141 (${SUBMIT_DIR}/PARAM/v4_0_alpha/namelist_top_ref , namelist_top_ref ), \ 142 (${SUBMIT_DIR}/PARAM/v4_0_alpha/namelist_top_${RESOL_OCE}_cfg , namelist_top_cfg ), \ 143 (${SUBMIT_DIR}/PARAM/v4_0_alpha/namelist_pisces_ref , namelist_pisces_ref), \ 144 (${SUBMIT_DIR}/PARAM/v4_0_alpha/namelist_pisces_${RESOL_OCE}_cfg , namelist_pisces_cfg) 145 }}} 157 146 here you're coping iodef.xml,field_def.xml and domain_def.xml for '''XIOS1''' 158 147 159 {{{ 160 vi config.card 161 # Modify AT LEAST JobName=eOR2L3P 162 148 {{{#!sh 149 vi config.card 150 # Modify AT LEAST JobName=eOR2L3P 163 151 }}} 164 152 165 153 * Create Job : (using ins_job in modsipl/lib IGCM directory) 166 154 167 {{{ 155 {{{#!sh 168 156 ../../libIGCM/ins_job 169 170 ls modipsl/config/NEMO_v6 157 ls modipsl/config/NEMO_v6 171 158 GENERAL 172 159 EXPERIMENTS 173 160 eOR2L3P #new submission directory, config card is now HERE 161 }}} 174 162 175 }}} 176 * '''LOOK AT all parameters of the Job you've created ''': 163 * '''LOOK AT all parameters of the Job you've created ''': 177 164 178 165 '''NOTE''' : VERY VERY IMPORTANT: increase size of memory: … … 183 170 184 171 * by default is 1 hour ('''@ wall_clock_limit = 1:00:00'''), but for ORCA2-LIM3-PISCES is about '''???? 1:45''' on 32 cpus for 1 year ==>increas it to '''@ wall_clock_limit = 1:30:00''' 185 186 {{{ 172 {{{#!sh 187 173 cd eOR2L3P 188 174 vi Job_eOR2L3P 189 175 # @ wall_clock_limit = 2:00:00 190 176 }}} 191 * Submit Job :192 177 193 {{{ 178 * Submit Job : 179 {{{#!sh 194 180 llsubmit Job_eOR2L3P 195 181 }}} 196 182 If you want to switch from climatological to interannual see [https://forge.ipsl.jussieu.fr/nemo/wiki/libIGCM_nemo_v_3_6/config.card_description page description of config.card] 197 198 Simona Flavoni last update: [[Timestamp]]