Changeset 2675
- Timestamp:
- 2011-03-09T09:42:15+01:00 (12 years ago)
- Location:
- trunk/NEMOGCM/SETTE
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMOGCM/SETTE/README
r2665 r2675 18 18 set_namelist : to set namelist values 19 19 (example : to set 75 time steps for one test : namelist nn_itend 75) 20 ( : to change cn_icerst_in name : namelist_ice cn_icerst_in \"test_00101231_restart_icemod.nc\")21 ( : to activate control print : namelist ln_ctl \".false.\")20 ( : to change cn_icerst_in name : namelist_ice cn_icerst_in \"test_00101231_restart_icemod\") 21 ( : to activate control print : namelist ln_ctl false ) 22 22 fcm_job.sh needs input: input_CONFIG_NAME TOTAL_NUMBER_OF_PROCS_used TEST_NAME 23 23 (for example if you compile ORCA2_LIM with nproci=2 and nprocj=2 24 24 and only run short test ===> ./fcm_job input_ORCA2_LIM.cfg 4 SHORT) 25 25 in param.cfg : 26 EXE_DIR : directory in which execute jobs(by default CONFIG_DIR)27 FORCING_DIR : directory where to get input tar file26 EXE_DIR : directory in which job s executed (by default CONFIG_DIR) 27 FORCING_DIR : directory in which will be found input.tar file (same name in input_CONFIG_NAME.cfg) 28 28 INPUT_DIR : directory in which store input files 29 29 TMPDIR : temporary directory NEEDED ONLY FOR IBM machines (put EXP00 directory) 30 30 OUTPUT_DIR : directory in which store output files 31 NEMO_VALIDATION_DIR : directory in which create NEMO_VALIDATION tree, and store restart and solver.stat files in31 NEMO_VALIDATION_DIR : directory in which create NEMO_VALIDATION tree, and store restart, solver.stat and ocean.output files in 32 32 tree NEMO_VALIDATION_DIR/WCONFIG_NAME/WCOMPILER_NAME/TEST_NAME/REVISION_NUMBER(or DATE) 33 33 in fcm_job.sh : … … 35 35 is the same of that in input_REF_CONFIG.cfg, if not change one. 36 36 change in "RUN OPA" part the command line (some examples are already written) 37 TEST_NAME iby convention is LONG: 10 days run or SHORT: 5 days run37 TEST_NAME by convention is LONG: 10 days run or SHORT: 5 days run 38 38 so NEMO_VALIDATION tree is coherent, 39 39 but user can choise a TEST_NAME that represent his own test. -
trunk/NEMOGCM/SETTE/all_functions.sh
r2637 r2675 49 49 # 50 50 # $ ./set_namelist.sh namelist nn_itend 75 51 # $ ./set_namelist.sh namelist_ice_lim2 cn_icerst_in \"00101231_restart_ice mod\"51 # $ ./set_namelist.sh namelist_ice_lim2 cn_icerst_in \"00101231_restart_ice\" 52 52 # 53 53 # -
trunk/NEMOGCM/SETTE/fcm_job.sh
r2665 r2675 34 34 # Simple job for SET TESTS for NEMO (SETTE) 35 35 # 36 # this job creates tree of validation in NEMO_VALIDATION_DIR (choosen in param.cfg)as follows :36 # this job creates tree of validation in NEMO_VALIDATION_DIR as follows : 37 37 # 38 38 # NEMO_VALIDATION_DIR/WCONFIG_NAME/WCOMPILER_NAME/TEST_NAME/REVISION_NUMBER(or DATE) -
trunk/NEMOGCM/SETTE/param.cfg
r2656 r2675 1 #- execution directory 1 2 EXE_DIR=${CONFIG_DIR} 2 3 #- forcing files storing -
trunk/NEMOGCM/SETTE/sette.sh
r2665 r2675 47 47 # Executing directory (EXE_DIR) 48 48 # 49 # Forcing files storing (FORCING_DIR) 49 50 50 # 51 51 # Input files storing (INPUT_DIR) … … 110 110 #- 111 111 # 112 112 113 SETTE_DIR=/PATH/OF/SETTE 113 114 114 cd ${SETTE_DIR} 115 . ../CONFIG/makenemo -m ifort_linux -n GYRE_1_1 -r GYRE 116 cd ${SETTE_DIR} 117 . param.cfg 118 . all_functions.sh 119 set_namelist namelist nn_it000 1 120 set_namelist namelist nn_itend 75 121 cd ${SETTE_DIR} 122 . ./fcm_job.sh input_GYRE.cfg 1 123 124 cd ${SETTE_DIR} 125 . ../CONFIG/makenemo -n ORCA2_LIM_1_2 -r ORCA2_LIM add_key "key_mpp_mpi key_nproci=1 key_nprocj=2" 126 cd ${SETTE_DIR} 127 . param.cfg 128 . all_functions.sh 129 set_namelist namelist nn_it000 1 130 set_namelist namelist nn_itend 75 131 cd ${SETTE_DIR} 132 . ./fcm_job.sh input_ORCA2_LIM.cfg 2 133 115 ## NBTEST=6 116 ## echo "TOTAL NUMBER OF TEST" ${NBTEST} 117 ## for (( config=2; config<=${NBTEST}; config++ )) 118 119 for config in 1 2 3 4 5 6 120 do 121 122 if [ ${config} -eq 1 ] ; then 123 # Restartability tests for GYRE_LOBSTER 124 cd ${SETTE_DIR} 125 . ../CONFIG/makenemo -m PW6MONO_VARGAS -n GYRELOB_LONG -r GYRE_LOBSTER del_key "key_diatrc" 126 cd ${SETTE_DIR} 127 . param.cfg 128 . all_functions.sh 129 set_namelist namelist cn_exp \"GYRELOB_LONG\" 130 set_namelist namelist nn_it000 1 131 set_namelist namelist nn_itend 120 132 set_namelist namelist nn_stock 60 133 set_namelist namelist_top ln_trcrad .false. 134 cd ${SETTE_DIR} 135 . ./fcm_job.sh input_GYRE.cfg 1 LONG 136 137 cd ${SETTE_DIR} 138 set_namelist namelist cn_exp \"GYRELOB_SHORT\" 139 set_namelist namelist nn_it000 61 140 set_namelist namelist nn_itend 120 141 set_namelist namelist nn_stock 60 142 set_namelist namelist ln_rstart .true. 143 set_namelist namelist nn_rstctl 2 144 set_namelist namelist cn_ocerst_in \"GYRELOB_LONG_00000060_restart\" 145 set_namelist namelist_top ln_trcrad .false. 146 set_namelist namelist_top ln_rsttr .true. 147 set_namelist namelist_top nn_rsttr 2 148 set_namelist namelist_top cn_trcrst_in \"GYRELOB_LONG_00000060_restart_trc\" 149 cd ${SETTE_DIR} 150 . ./fcm_job.sh input_GYRE.cfg 1 SHORT 151 fi 152 153 if [ ${config} -eq 2 ] ; then 154 # Restartability tests for ORCA2_LIM_PISCES 155 cd ${SETTE_DIR} 156 . ../CONFIG/makenemo -m PW6MONO_VARGAS -n ORCA2LIMPIS_LONG -r ORCA2_LIM_PISCES del_key "key_dtatrc key_diatrc" 157 cd ${SETTE_DIR} 158 . param.cfg 159 . all_functions.sh 160 set_namelist namelist cn_exp \"O2LP_LONG\" 161 set_namelist namelist nn_it000 1 162 set_namelist namelist nn_itend 150 163 set_namelist namelist nn_stock 75 164 set_namelist namelist_top ln_trcrad .false. 165 # put ln_pisdmp, ln_dustfer, ln_river, ln_ndepo, ln_sedinput to false 166 # if not you need input files, and for tests is not necessary 167 set_namelist namelist_pisces ln_pisdmp .false. 168 set_namelist namelist_pisces ln_dustfer .false. 169 set_namelist namelist_pisces ln_river .false. 170 set_namelist namelist_pisces ln_ndepo .false. 171 set_namelist namelist_pisces ln_sedinput .false. 172 cd ${SETTE_DIR} 173 . ./fcm_job.sh input_ORCA2_LIM_PISCES.cfg 1 LONG 174 175 cd ${SETTE_DIR} 176 . param.cfg 177 . all_functions.sh 178 set_namelist namelist cn_exp \"O2LP_SHORT\" 179 set_namelist namelist nn_it000 76 180 set_namelist namelist nn_itend 150 181 set_namelist namelist nn_stock 75 182 set_namelist namelist ln_rstart .true. 183 set_namelist namelist nn_rstctl 2 184 set_namelist namelist cn_ocerst_in \"O2LP_LONG_00000075_restart\" 185 set_namelist namelist_ice_lim2 cn_icerst_in \"O2LP_LONG_00000075_restart_ice\" 186 set_namelist namelist_top ln_trcrad .false. 187 set_namelist namelist_top ln_rsttr .true. 188 set_namelist namelist_top nn_rsttr 2 189 set_namelist namelist_top cn_trcrst_in \"O2LP_LONG_00000075_restart_trc\" 190 # put ln_pisdmp, ln_dustfer, ln_river, ln_ndepo, ln_sedinput 191 # if not you need input files, and for tests is not necessary 192 set_namelist namelist_pisces ln_pisdmp .false. 193 set_namelist namelist_pisces ln_dustfer .false. 194 set_namelist namelist_pisces ln_river .false. 195 set_namelist namelist_pisces ln_ndepo .false. 196 set_namelist namelist_pisces ln_sedinput .false. 197 cd ${SETTE_DIR} 198 . ./fcm_job.sh input_ORCA2_LIM_PISCES.cfg 1 SHORT 199 fi 200 201 if [ ${config} -eq 3 ] ; then 202 ## Restartability tests for POMME 203 cd ${SETTE_DIR} 204 . ../CONFIG/makenemo -m PW6MONO_VARGAS -n POMME_LONG -r POMME 205 cd ${SETTE_DIR} 206 . param.cfg 207 . all_functions.sh 208 set_namelist namelist cn_exp \"POMME_LONG\" 209 set_namelist namelist nn_it000 1 210 set_namelist namelist nn_itend 600 211 set_namelist namelist nn_stock 300 212 set_namelist namelist nn_write 300 213 cd ${SETTE_DIR} 214 . ./fcm_job.sh input_POMME.cfg 1 LONG 215 cd ${CONFIG_DIR} 216 `mv ${NEW_CONF}/EXP00/restart.obc.output ${NEW_CONF}/EXP00/restart.obc` 217 218 cd ${SETTE_DIR} 219 set_namelist namelist cn_exp \"POMME_SHORT\" 220 set_namelist namelist nn_it000 301 221 set_namelist namelist nn_itend 600 222 set_namelist namelist nn_stock 300 223 set_namelist namelist ln_rstart .true. 224 set_namelist namelist nn_rstctl 2 225 set_namelist namelist nn_write 300 226 set_namelist namelist cn_ocerst_in \"POMME_LONG_00000300_restart\" 227 cd ${SETTE_DIR} 228 . ./fcm_job.sh input_POMME.cfg 1 SHORT 229 fi 230 231 if [ ${config} -eq 4 ] ; then 232 ## Repropducilibity tests for GYRE_LOBSTER 233 cd ${SETTE_DIR} 234 . ../CONFIG/makenemo -m PW6_VARGAS -n GYRELOB_1_4 -r GYRE_LOBSTER add_key "key_mpp_mpi key_mpp_rep key_nproci=1 key_nprocj=4" del_key "key_vectopt_loop key_diatrc" 235 cd ${SETTE_DIR} 236 . param.cfg 237 . all_functions.sh 238 set_namelist namelist nn_it000 1 239 set_namelist namelist nn_itend 75 240 set_namelist namelist nn_fwb 0 241 set_namelist namelist nn_bench 0 242 set_namelist namelist ln_ctl .false. 243 cd ${SETTE_DIR} 244 . ./fcm_job.sh input_GYRE.cfg 4 SHORT 245 246 cd ${SETTE_DIR} 247 . ../CONFIG/makenemo -m PW6_VARGAS -n GYRELOB_2_2 -r GYRE_LOBSTER add_key "key_mpp_rep key_mpp_mpi key_nproci=2 key_nprocj=2" del_key "key_vectopt_loop key_diatrc" 248 cd ${SETTE_DIR} 249 . param.cfg 250 . all_functions.sh 251 set_namelist namelist nn_it000 1 252 set_namelist namelist nn_itend 75 253 set_namelist namelist nn_fwb 0 254 set_namelist namelist nn_bench 0 255 set_namelist namelist ln_ctl .false. 256 cd ${SETTE_DIR} 257 . ./fcm_job.sh input_GYRE.cfg 4 SHORT 258 fi 259 260 if [ ${config} -eq 5 ] ; then 261 ## Repropducilibity tests for ORCA2_LIM_PISCES 262 cd ${SETTE_DIR} 263 . ../CONFIG/makenemo -m PW6_VARGAS -n ORCA2LIMPIS_4_4 -r ORCA2_LIM_PISCES add_key "key_mpp_mpi key_mpp_rep key_nproci=4 key_nprocj=4" del_key "key_vectopt_loop key_dtatrc key_diatrc" 264 cd ${SETTE_DIR} 265 . param.cfg 266 . all_functions.sh 267 set_namelist namelist nn_it000 1 268 set_namelist namelist nn_itend 75 269 set_namelist namelist nn_fwb 0 270 set_namelist namelist nn_bench 0 271 set_namelist namelist ln_ctl .false. 272 # put ln_pisdmp, ln_dustfer, ln_river, ln_ndepo, ln_sedinput to false 273 # if not you need input files, and for tests is not necessary 274 set_namelist namelist_pisces ln_pisdmp .false. 275 set_namelist namelist_pisces ln_dustfer .false. 276 set_namelist namelist_pisces ln_river .false. 277 set_namelist namelist_pisces ln_ndepo .false. 278 set_namelist namelist_pisces ln_sedinput .false. 279 cd ${SETTE_DIR} 280 . ./fcm_job.sh input_ORCA2_LIM_PISCES.cfg 16 SHORT 281 282 cd ${SETTE_DIR} 283 . ../CONFIG/makenemo -m PW6_VARGAS -n ORCA2LIMPIS_2_8 -r ORCA2_LIM_PISCES add_key "key_mpp_rep key_mpp_mpi key_nproci=2 key_nprocj=8" del_key "key_vectopt_loop key_dtatrc key_diatrc" 284 cd ${SETTE_DIR} 285 . param.cfg 286 . all_functions.sh 287 set_namelist namelist nn_it000 1 288 set_namelist namelist nn_itend 75 289 set_namelist namelist nn_fwb 0 290 set_namelist namelist nn_bench 0 291 set_namelist namelist ln_ctl .false. 292 # put ln_pisdmp, ln_dustfer, ln_river, ln_ndepo, ln_sedinput to false 293 # if not you need input files, and for tests is not necessary 294 set_namelist namelist_pisces ln_pisdmp .false. 295 set_namelist namelist_pisces ln_dustfer .false. 296 set_namelist namelist_pisces ln_river .false. 297 set_namelist namelist_pisces ln_ndepo .false. 298 set_namelist namelist_pisces ln_sedinput .false. 299 cd ${SETTE_DIR} 300 . ./fcm_job.sh input_ORCA2_LIM_PISCES.cfg 16 SHORT 301 fi 302 303 if [ ${config} -eq 6 ] ; then 304 ## Reproductibility tests for POMME 305 cd ${SETTE_DIR} 306 . ../CONFIG/makenemo -m PW6_VARGAS -n POMME_1_4 -r POMME add_key "key_mpp_mpi key_mpp_rep key_nproci=1 key_nprocj=4" 307 cd ${SETTE_DIR} 308 . param.cfg 309 . all_functions.sh 310 set_namelist namelist nn_it000 1 311 set_namelist namelist nn_itend 300 312 set_namelist namelist nn_fwb 0 313 set_namelist namelist nn_bench 0 314 set_namelist namelist ln_ctl .false. 315 cd ${SETTE_DIR} 316 . ./fcm_job.sh input_POMME.cfg 4 SHORT 317 318 cd ${SETTE_DIR} 319 . ../CONFIG/makenemo -m PW6_VARGAS -n POMME_2_2 -r POMME add_key "key_mpp_mpi key_mpp_rep key_nproci=2 key_nprocj=2" 320 cd ${SETTE_DIR} 321 . param.cfg 322 . all_functions.sh 323 set_namelist namelist nn_it000 1 324 set_namelist namelist nn_itend 300 325 set_namelist namelist nn_fwb 0 326 set_namelist namelist nn_bench 0 327 set_namelist namelist ln_ctl .false. 328 cd ${SETTE_DIR} 329 . ./fcm_job.sh input_POMME.cfg 4 SHORT 330 fi 331 332 done
Note: See TracChangeset
for help on using the changeset viewer.