[3520] | 1 | #!/bin/bash |
---|
[3708] | 2 | ############################################################ |
---|
[3520] | 3 | # Author : Simona Flavoni for NEMO |
---|
[4245] | 4 | # Contact: sflod@locean-ipsl.upmc.fr |
---|
| 5 | # 2013 : A.C. Coward added options for testing with XIOS in dettached mode |
---|
[3520] | 6 | # |
---|
| 7 | # sette.sh : principal script of SET TEsts for NEMO (SETTE) |
---|
| 8 | # ---------------------------------------------------------------------- |
---|
| 9 | # NEMO/SETTE , NEMO Consortium (2010) |
---|
| 10 | # Software governed by the CeCILL licence (NEMOGCM/NEMO_CeCILL.txt) |
---|
| 11 | # ---------------------------------------------------------------------- |
---|
| 12 | # |
---|
| 13 | ############################################################# |
---|
[3532] | 14 | #set -x |
---|
[3520] | 15 | set -o posix |
---|
| 16 | #set -u |
---|
| 17 | #set -e |
---|
[4245] | 18 | # =========== |
---|
[3520] | 19 | # DESCRIPTION |
---|
| 20 | # =========== |
---|
| 21 | # |
---|
| 22 | # Variables to be checked by user: |
---|
| 23 | # |
---|
[4245] | 24 | # COMPILER : name of compiler as defined in NEMOGCM/ARCH directory |
---|
| 25 | # BATCH_COMMAND_PAR : name of the command for submitting parallel batch jobs |
---|
| 26 | # BATCH_COMMAND_SEQ : name of the command for submitting sequential batch jobs |
---|
| 27 | # INTERACT_FLAG : flag to run in interactive mode "yes" |
---|
| 28 | # to run in batch mode "no" |
---|
| 29 | # MPIRUN_FLAG : flag to run in parallel (MPI) "yes" |
---|
| 30 | # to run in sequential mode (NB_PROC = 1) "no" |
---|
| 31 | # USING_XIOS : flag to control the activation of key_iomput |
---|
| 32 | # "yes" to compile using key_iomput and link to the external XIOS library |
---|
| 33 | # "no" to compile without key_iomput and link to the old IOIPSL library |
---|
| 34 | # USING_MPMD : flag to control the use of stand-alone IO servers |
---|
| 35 | # requires USING_XIOS="yes" |
---|
| 36 | # "yes" to run in MPMD (detached) mode with stand-alone IO servers |
---|
| 37 | # "no" to run in SPMD (attached) mode without separate IO servers |
---|
[7698] | 38 | # USING_OMP : flag to control the use of OpenMP parallelization |
---|
[4245] | 39 | # NUM_XIOSERVERS : number of stand-alone IO servers to employ |
---|
| 40 | # set to zero if USING_MPMD="no" |
---|
[3520] | 41 | # |
---|
| 42 | # Principal script is sette.sh, that calls |
---|
| 43 | # |
---|
[4245] | 44 | # makenemo : to create successive exectuables in ${CONFIG_NAME}/BLD/bin/nemo.exe |
---|
| 45 | # and links to opa in ${CONFIG_NAME}/EXP00) |
---|
[3520] | 46 | # |
---|
| 47 | # param.cfg : sets and loads following directories: |
---|
| 48 | # |
---|
[4245] | 49 | # FORCING_DIR : is the directory for forcing files (tarfile) |
---|
| 50 | # INPUT_DIR : is the directory for input files storing |
---|
| 51 | # TMPDIR : is the temporary directory (if needed) |
---|
[3520] | 52 | # NEMO_VALIDATION_DIR : is the validation directory |
---|
| 53 | # |
---|
| 54 | # (NOTE: this file is the same for all configrations to be tested with sette) |
---|
| 55 | # |
---|
[4245] | 56 | # all_functions.sh : loads functions used by sette (note: new functions can be added here) |
---|
| 57 | # set_namelist : function declared in all_functions that sets namelist parameters |
---|
| 58 | # post_test_tidyup : creates validation storage directory and copies required output files |
---|
| 59 | # (solver.stat and ocean.output) in it after execution of test. |
---|
[3520] | 60 | # |
---|
[4245] | 61 | # VALIDATION tree is: |
---|
[3520] | 62 | # |
---|
| 63 | # NEMO_VALIDATION_DIR/WCONFIG_NAME/WCOMPILER_NAME/TEST_NAME/REVISION_NUMBER(or DATE) |
---|
| 64 | # |
---|
| 65 | # prepare_exe_dir.sh : defines and creates directory where the test is executed |
---|
[4245] | 66 | # execution directory takes name of TEST_NAME defined for every test |
---|
| 67 | # in sette.sh. (each test in executed in its own directory) |
---|
[3520] | 68 | # |
---|
[4245] | 69 | # prepare_job.sh : to generate the script run_job.sh |
---|
[3520] | 70 | # |
---|
[4245] | 71 | # fcm_job.sh : run in batch (INTERACT_FLAG="no") or interactive (INTERACT_FLAG="yes") |
---|
| 72 | # see sette.sh and BATCH_TEMPLATE directory |
---|
[3520] | 73 | # |
---|
[4245] | 74 | # NOTE: jobs requiring initial or forcing data need to have an input_CONFIG.cfg in which |
---|
| 75 | # can be found paths to the input tar file) |
---|
| 76 | # NOTE: if job is not launched for any reason you have the executable ready in ${EXE_DIR} |
---|
| 77 | # directory |
---|
| 78 | # NOTE: the changed namelists are left in ${EXE_DIR} directory whereas original namelists |
---|
| 79 | # remain in ${NEW_CONF}/EXP00 |
---|
[3520] | 80 | # |
---|
[4245] | 81 | # NOTE: a log file, output.sette, is created in ${SETTE_DIR} with the echoes of |
---|
| 82 | # executed commands |
---|
[3520] | 83 | # |
---|
[4245] | 84 | # NOTE: if sette.sh is stopped in output.sette there is written the last command |
---|
| 85 | # executed by sette.sh |
---|
[3520] | 86 | # |
---|
[4245] | 87 | # example use: ./sette.sh |
---|
| 88 | ######################################################################################### |
---|
[3520] | 89 | # |
---|
[4245] | 90 | # Compiler among those in NEMOGCM/ARCH |
---|
[7698] | 91 | export USING_OMP="no" |
---|
| 92 | # |
---|
| 93 | if [ ${USING_OMP} == "yes" ] |
---|
| 94 | then |
---|
| 95 | COMPILER=ifort_athena_xios_omp |
---|
| 96 | else |
---|
[7715] | 97 | COMPILER=X64_ADA |
---|
[7698] | 98 | fi |
---|
[5398] | 99 | export BATCH_COMMAND_PAR="llsubmit" |
---|
[4245] | 100 | export BATCH_COMMAND_SEQ=$BATCH_COMMAND_PAR |
---|
[4990] | 101 | export INTERACT_FLAG="no" |
---|
[4245] | 102 | export MPIRUN_FLAG="yes" |
---|
| 103 | export USING_XIOS="yes" |
---|
[3520] | 104 | # |
---|
[4245] | 105 | export DEL_KEYS="key_iomput" |
---|
| 106 | if [ ${USING_XIOS} == "yes" ] |
---|
| 107 | then |
---|
| 108 | export DEL_KEYS="" |
---|
| 109 | fi |
---|
[3520] | 110 | # |
---|
[4245] | 111 | # Settings which control the use of stand alone servers (only relevant if using xios) |
---|
[3520] | 112 | # |
---|
[4245] | 113 | export USING_MPMD="no" |
---|
| 114 | export NUM_XIOSERVERS=4 |
---|
| 115 | export JOB_PREFIX=batch-mpmd |
---|
[3520] | 116 | # |
---|
[4245] | 117 | if [ ${USING_MPMD} == "no" ] |
---|
| 118 | then |
---|
| 119 | export NUM_XIOSERVERS=0 |
---|
| 120 | export JOB_PREFIX=batch |
---|
| 121 | fi |
---|
[3520] | 122 | # |
---|
| 123 | # |
---|
[4245] | 124 | if [ ${USING_MPMD} == "yes" ] && [ ${USING_XIOS} == "no"] |
---|
| 125 | then |
---|
| 126 | echo "Incompatible choices. MPMD mode requires the XIOS server" |
---|
| 127 | exit |
---|
| 128 | fi |
---|
[3520] | 129 | # |
---|
[7698] | 130 | # Settings which control the hybrid parallel execution |
---|
| 131 | # |
---|
| 132 | OMP_NTHR=1 |
---|
| 133 | if [ ${USING_OMP} == "yes" ] |
---|
| 134 | then |
---|
| 135 | OMP_NTHR=8 |
---|
| 136 | fi |
---|
[3520] | 137 | |
---|
| 138 | # Directory to run the tests |
---|
| 139 | SETTE_DIR=$(cd $(dirname "$0"); pwd) |
---|
[6460] | 140 | MAIN_DIR=$(dirname $SETTE_DIR) |
---|
[7715] | 141 | CONFIG_DIR0=${MAIN_DIR}/CONFIG |
---|
[3520] | 142 | TOOLS_DIR=${MAIN_DIR}/TOOLS |
---|
| 143 | COMPIL_DIR=${TOOLS_DIR}/COMPILE |
---|
| 144 | |
---|
| 145 | CMP_NAM=${1:-$COMPILER} |
---|
| 146 | # Copy job_batch_COMPILER file for specific compiler into job_batch_template |
---|
| 147 | cd ${SETTE_DIR} |
---|
[4245] | 148 | cp BATCH_TEMPLATE/${JOB_PREFIX}-${COMPILER} job_batch_template || exit |
---|
[4316] | 149 | # Description of configuration tested: |
---|
[7715] | 150 | # GYRE_PISCES : 1 & 2 |
---|
| 151 | # ORCA2_LIM3_PISCES : 3 & 4 |
---|
| 152 | # ORCA2_OFF_PISCES : 5 & 6 |
---|
| 153 | # AMM12 : 7 & 8 |
---|
| 154 | # SAS : 9 fos SAS there is no solver so is useless to test REPRO |
---|
| 155 | # ISOMIP : 10 & 11 |
---|
| 156 | # ORCA2_LIM3_OBS : 12 |
---|
| 157 | # ORCA2_AGRIF_LIM3 : 13 & 14 |
---|
| 158 | # 15 & 16 |
---|
[4147] | 159 | |
---|
[7722] | 160 | for config in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
---|
[5836] | 161 | |
---|
[3520] | 162 | do |
---|
| 163 | |
---|
[7715] | 164 | # TESTS FOR GYRE_PISCES CONFIGURATION |
---|
[3520] | 165 | if [ ${config} -eq 1 ] ; then |
---|
[7715] | 166 | ## Restartability tests for GYRE_PISCES |
---|
[3520] | 167 | export TEST_NAME="LONG" |
---|
[7715] | 168 | cd ${CONFIG_DIR0} |
---|
| 169 | . ./makenemo -m ${CMP_NAM} -n GYREPIS_LONG -r GYRE_PISCES -j 8 del_key ${DEL_KEYS} |
---|
[3520] | 170 | cd ${SETTE_DIR} |
---|
[4252] | 171 | . ./param.cfg |
---|
| 172 | . ./all_functions.sh |
---|
| 173 | . ./prepare_exe_dir.sh |
---|
[3520] | 174 | JOB_FILE=${EXE_DIR}/run_job.sh |
---|
[7646] | 175 | NPROC=32 |
---|
[4245] | 176 | if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi |
---|
[4147] | 177 | cd ${EXE_DIR} |
---|
[7715] | 178 | set_namelist namelist_cfg cn_exp \"GYREPIS_LONG\" |
---|
[4147] | 179 | set_namelist namelist_cfg nn_it000 1 |
---|
| 180 | set_namelist namelist_cfg nn_itend 120 |
---|
| 181 | set_namelist namelist_cfg nn_stock 60 |
---|
| 182 | set_namelist namelist_cfg ln_clobber .true. |
---|
[7646] | 183 | set_namelist namelist_cfg ln_linssh .true. |
---|
| 184 | set_namelist namelist_cfg ln_read_cfg .false. |
---|
[4318] | 185 | set_namelist namelist_cfg nn_fwb 0 |
---|
[7646] | 186 | set_namelist namelist_cfg jpni 4 |
---|
| 187 | set_namelist namelist_cfg jpnj 8 |
---|
| 188 | set_namelist namelist_cfg jpnij 32 |
---|
[4245] | 189 | if [ ${USING_MPMD} == "yes" ] ; then |
---|
| 190 | set_xio_using_server iodef.xml true |
---|
| 191 | else |
---|
| 192 | set_xio_using_server iodef.xml false |
---|
| 193 | fi |
---|
| 194 | cd ${SETTE_DIR} |
---|
[7698] | 195 | . ./prepare_job.sh input_GYRE.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${OMP_NTHR} |
---|
[3520] | 196 | |
---|
| 197 | cd ${SETTE_DIR} |
---|
| 198 | export TEST_NAME="SHORT" |
---|
[4252] | 199 | . ./prepare_exe_dir.sh |
---|
[3520] | 200 | cd ${EXE_DIR} |
---|
[7715] | 201 | set_namelist namelist_cfg cn_exp \"GYREPIS_SHORT\" |
---|
[4147] | 202 | set_namelist namelist_cfg nn_it000 61 |
---|
| 203 | set_namelist namelist_cfg nn_itend 120 |
---|
| 204 | set_namelist namelist_cfg nn_stock 60 |
---|
| 205 | set_namelist namelist_cfg ln_rstart .true. |
---|
| 206 | set_namelist namelist_cfg nn_rstctl 2 |
---|
| 207 | set_namelist namelist_cfg ln_clobber .true. |
---|
[7646] | 208 | set_namelist namelist_cfg ln_linssh .true. |
---|
| 209 | set_namelist namelist_cfg ln_read_cfg .false. |
---|
[4316] | 210 | set_namelist namelist_cfg nn_fwb 0 |
---|
[7646] | 211 | set_namelist namelist_cfg jpni 4 |
---|
| 212 | set_namelist namelist_cfg jpnj 8 |
---|
| 213 | set_namelist namelist_cfg jpnij 32 |
---|
[7715] | 214 | set_namelist namelist_cfg cn_ocerst_in \"GYREPIS_LONG_00000060_restart\" |
---|
[4245] | 215 | if [ ${USING_MPMD} == "yes" ] ; then |
---|
| 216 | set_xio_using_server iodef.xml true |
---|
| 217 | else |
---|
| 218 | set_xio_using_server iodef.xml false |
---|
| 219 | fi |
---|
[3537] | 220 | for (( i=1; i<=$NPROC; i++)) ; do |
---|
| 221 | L_NPROC=$(( $i - 1 )) |
---|
| 222 | L_NPROC=`printf "%04d\n" ${L_NPROC}` |
---|
[7715] | 223 | ln -sf ../LONG/GYREPIS_LONG_00000060_restart_${L_NPROC}.nc . |
---|
[3537] | 224 | done |
---|
[4245] | 225 | if [ ${USING_MPMD} == "yes" ] ; then |
---|
| 226 | set_xio_using_server iodef.xml true |
---|
| 227 | else |
---|
| 228 | set_xio_using_server iodef.xml false |
---|
| 229 | fi |
---|
[3520] | 230 | cd ${SETTE_DIR} |
---|
[7698] | 231 | . ./prepare_job.sh input_GYRE.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${OMP_NTHR} |
---|
[3520] | 232 | cd ${SETTE_DIR} |
---|
[3532] | 233 | . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} |
---|
[3520] | 234 | fi |
---|
| 235 | |
---|
| 236 | if [ ${config} -eq 2 ] ; then |
---|
[7715] | 237 | ## Reproducibility tests for GYRE_PISCES |
---|
[7646] | 238 | export TEST_NAME="REPRO_4_8" |
---|
[7715] | 239 | cd ${CONFIG_DIR0} |
---|
| 240 | . ./makenemo -m ${CMP_NAM} -n GYREPIS_32 -r GYRE_PISCES -j 8 del_key ${DEL_KEYS} |
---|
[3520] | 241 | cd ${SETTE_DIR} |
---|
[4252] | 242 | . ./param.cfg |
---|
| 243 | . ./all_functions.sh |
---|
| 244 | . ./prepare_exe_dir.sh |
---|
[3520] | 245 | JOB_FILE=${EXE_DIR}/run_job.sh |
---|
[7646] | 246 | NPROC=32 |
---|
[4245] | 247 | if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi |
---|
[3520] | 248 | cd ${EXE_DIR} |
---|
[7715] | 249 | set_namelist namelist_cfg cn_exp \"GYREPIS_48\" |
---|
[4147] | 250 | set_namelist namelist_cfg nn_it000 1 |
---|
| 251 | set_namelist namelist_cfg nn_itend 60 |
---|
| 252 | set_namelist namelist_cfg nn_fwb 0 |
---|
| 253 | set_namelist namelist_cfg ln_ctl .false. |
---|
| 254 | set_namelist namelist_cfg ln_clobber .true. |
---|
[7646] | 255 | set_namelist namelist_cfg ln_linssh .true. |
---|
| 256 | set_namelist namelist_cfg ln_read_cfg .false. |
---|
| 257 | set_namelist namelist_cfg jpni 4 |
---|
| 258 | set_namelist namelist_cfg jpnj 8 |
---|
| 259 | set_namelist namelist_cfg jpnij 32 |
---|
[4245] | 260 | if [ ${USING_MPMD} == "yes" ] ; then |
---|
| 261 | set_xio_using_server iodef.xml true |
---|
| 262 | else |
---|
| 263 | set_xio_using_server iodef.xml false |
---|
| 264 | fi |
---|
[3520] | 265 | cd ${SETTE_DIR} |
---|
[7698] | 266 | . ./prepare_job.sh input_GYRE.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${OMP_NTHR} |
---|
[3520] | 267 | cd ${SETTE_DIR} |
---|
| 268 | . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} |
---|
| 269 | |
---|
| 270 | cd ${SETTE_DIR} |
---|
[7646] | 271 | export TEST_NAME="REPRO_8_4" |
---|
[4252] | 272 | . ./prepare_exe_dir.sh |
---|
[3680] | 273 | JOB_FILE=${EXE_DIR}/run_job.sh |
---|
[7646] | 274 | NPROC=32 |
---|
[4245] | 275 | if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi |
---|
[3520] | 276 | cd ${EXE_DIR} |
---|
[7715] | 277 | set_namelist namelist_cfg cn_exp \"GYREPIS_84\" |
---|
[4147] | 278 | set_namelist namelist_cfg nn_it000 1 |
---|
| 279 | set_namelist namelist_cfg nn_itend 60 |
---|
| 280 | set_namelist namelist_cfg nn_fwb 0 |
---|
| 281 | set_namelist namelist_cfg ln_ctl .false. |
---|
| 282 | set_namelist namelist_cfg ln_clobber .true. |
---|
[7646] | 283 | set_namelist namelist_cfg ln_linssh .true. |
---|
| 284 | set_namelist namelist_cfg ln_read_cfg .false. |
---|
| 285 | set_namelist namelist_cfg jpni 8 |
---|
| 286 | set_namelist namelist_cfg jpnj 4 |
---|
| 287 | set_namelist namelist_cfg jpnij 32 |
---|
[4245] | 288 | if [ ${USING_MPMD} == "yes" ] ; then |
---|
| 289 | set_xio_using_server iodef.xml true |
---|
| 290 | else |
---|
| 291 | set_xio_using_server iodef.xml false |
---|
| 292 | fi |
---|
[3520] | 293 | cd ${SETTE_DIR} |
---|
[7698] | 294 | . ./prepare_job.sh input_GYRE.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${OMP_NTHR} |
---|
[3520] | 295 | cd ${SETTE_DIR} |
---|
| 296 | . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} |
---|
[3532] | 297 | |
---|
[3520] | 298 | fi |
---|
| 299 | |
---|
[7715] | 300 | # TESTS FOR ORCA2_LIM3_PISCES CONFIGURATION |
---|
[3520] | 301 | if [ ${config} -eq 3 ] ; then |
---|
[7646] | 302 | ## Restartability tests for ORCA2_LIM3_PISCES |
---|
| 303 | export TEST_NAME="LONG" |
---|
[7715] | 304 | cd ${CONFIG_DIR0} |
---|
[7646] | 305 | . ./makenemo -m ${CMP_NAM} -n ORCA2LIM3PIS_LONG -r ORCA2_LIM3_PISCES -j 8 del_key ${DEL_KEYS} |
---|
| 306 | cd ${SETTE_DIR} |
---|
| 307 | . ./param.cfg |
---|
| 308 | . ./all_functions.sh |
---|
| 309 | . ./prepare_exe_dir.sh |
---|
| 310 | JOB_FILE=${EXE_DIR}/run_job.sh |
---|
| 311 | NPROC=32 |
---|
| 312 | if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi |
---|
| 313 | cd ${EXE_DIR} |
---|
| 314 | set_namelist namelist_cfg cn_exp \"O2L3P_LONG\" |
---|
| 315 | set_namelist namelist_cfg nn_it000 1 |
---|
| 316 | set_namelist namelist_cfg nn_itend 150 |
---|
| 317 | set_namelist namelist_cfg nn_stock 75 |
---|
| 318 | set_namelist namelist_cfg ln_clobber .true. |
---|
| 319 | set_namelist namelist_cfg ln_read_cfg .true. |
---|
| 320 | set_namelist namelist_cfg ln_linssh .false. |
---|
| 321 | set_namelist namelist_cfg nn_fwb 0 |
---|
| 322 | set_namelist namelist_cfg jpni 4 |
---|
| 323 | set_namelist namelist_cfg jpnj 8 |
---|
| 324 | set_namelist namelist_cfg jpnij 32 |
---|
[4147] | 325 | set_namelist namelist_top_cfg ln_trcdta .false. |
---|
[3520] | 326 | # put ln_ironsed, ln_river, ln_ndepo, ln_dust to false |
---|
| 327 | # if not you need input files, and for tests is not necessary |
---|
[4147] | 328 | set_namelist namelist_pisces_cfg ln_presatm .false. |
---|
| 329 | set_namelist namelist_pisces_cfg ln_varpar .false. |
---|
| 330 | set_namelist namelist_pisces_cfg ln_dust .false. |
---|
| 331 | set_namelist namelist_pisces_cfg ln_solub .false. |
---|
| 332 | set_namelist namelist_pisces_cfg ln_river .false. |
---|
| 333 | set_namelist namelist_pisces_cfg ln_ndepo .false. |
---|
| 334 | set_namelist namelist_pisces_cfg ln_ironsed .false. |
---|
[7646] | 335 | set_namelist namelist_pisces_cfg ln_ironice .false. |
---|
[4147] | 336 | set_namelist namelist_pisces_cfg ln_hydrofe .false. |
---|
[4245] | 337 | if [ ${USING_MPMD} == "yes" ] ; then |
---|
| 338 | set_xio_using_server iodef.xml true |
---|
| 339 | else |
---|
| 340 | set_xio_using_server iodef.xml false |
---|
| 341 | fi |
---|
[3520] | 342 | cd ${SETTE_DIR} |
---|
[7698] | 343 | . ./prepare_job.sh input_ORCA2_LIM3_PISCES.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${OMP_NTHR} |
---|
[3532] | 344 | |
---|
| 345 | cd ${SETTE_DIR} |
---|
[3520] | 346 | export TEST_NAME="SHORT" |
---|
[4252] | 347 | . ./prepare_exe_dir.sh |
---|
[3520] | 348 | cd ${EXE_DIR} |
---|
[7646] | 349 | set_namelist namelist_cfg cn_exp \"O2L3P_SHORT\" |
---|
[4147] | 350 | set_namelist namelist_cfg nn_it000 76 |
---|
| 351 | set_namelist namelist_cfg nn_itend 150 |
---|
| 352 | set_namelist namelist_cfg nn_stock 75 |
---|
| 353 | set_namelist namelist_cfg ln_rstart .true. |
---|
| 354 | set_namelist namelist_cfg nn_rstctl 2 |
---|
| 355 | set_namelist namelist_cfg ln_clobber .true. |
---|
[7646] | 356 | set_namelist namelist_cfg ln_read_cfg .true. |
---|
| 357 | set_namelist namelist_cfg ln_linssh .false. |
---|
[7715] | 358 | set_namelist namelist_cfg ln_icebergs .true. |
---|
[4316] | 359 | set_namelist namelist_cfg nn_fwb 0 |
---|
[7646] | 360 | set_namelist namelist_cfg jpni 4 |
---|
| 361 | set_namelist namelist_cfg jpnj 8 |
---|
| 362 | set_namelist namelist_cfg jpnij 32 |
---|
[4147] | 363 | set_namelist namelist_top_cfg ln_rsttr .true. |
---|
| 364 | set_namelist namelist_top_cfg nn_rsttr 2 |
---|
[7646] | 365 | set_namelist namelist_cfg cn_ocerst_in \"O2L3P_LONG_00000075_restart\" |
---|
| 366 | set_namelist namelist_ice_cfg cn_icerst_in \"O2L3P_LONG_00000075_restart_ice\" |
---|
| 367 | set_namelist namelist_top_cfg cn_trcrst_in \"O2L3P_LONG_00000075_restart_trc\" |
---|
[3520] | 368 | # put ln_ironsed, ln_river, ln_ndepo, ln_dust |
---|
| 369 | # if not you need input files, and for tests is not necessary |
---|
[4147] | 370 | set_namelist namelist_pisces_cfg ln_presatm .false. |
---|
| 371 | set_namelist namelist_pisces_cfg ln_varpar .false. |
---|
| 372 | set_namelist namelist_pisces_cfg ln_dust .false. |
---|
| 373 | set_namelist namelist_pisces_cfg ln_solub .false. |
---|
| 374 | set_namelist namelist_pisces_cfg ln_river .false. |
---|
| 375 | set_namelist namelist_pisces_cfg ln_ndepo .false. |
---|
| 376 | set_namelist namelist_pisces_cfg ln_ironsed .false. |
---|
[7646] | 377 | set_namelist namelist_pisces_cfg ln_ironice .false. |
---|
[4147] | 378 | set_namelist namelist_pisces_cfg ln_hydrofe .false. |
---|
[3680] | 379 | # put ln_pisdmp to false : no restoring to global mean value |
---|
[4147] | 380 | set_namelist namelist_pisces_cfg ln_pisdmp .false. |
---|
[3537] | 381 | for (( i=1; i<=$NPROC; i++)) ; do |
---|
| 382 | L_NPROC=$(( $i - 1 )) |
---|
| 383 | L_NPROC=`printf "%04d\n" ${L_NPROC}` |
---|
[7646] | 384 | ln -sf ../LONG/O2L3P_LONG_00000075_restart_${L_NPROC}.nc . |
---|
| 385 | ln -sf ../LONG/O2L3P_LONG_00000075_restart_trc_${L_NPROC}.nc . |
---|
| 386 | ln -sf ../LONG/O2L3P_LONG_00000075_restart_ice_${L_NPROC}.nc . |
---|
[7715] | 387 | ln -sf ../LONG/O2L3P_LONG_icebergs_00000075_restart_${L_NPROC}.nc O2L3P_LONG_00000075_restart_icebergs_${L_NPROC}.nc |
---|
[3537] | 388 | done |
---|
[4245] | 389 | if [ ${USING_MPMD} == "yes" ] ; then |
---|
| 390 | set_xio_using_server iodef.xml true |
---|
| 391 | else |
---|
| 392 | set_xio_using_server iodef.xml false |
---|
| 393 | fi |
---|
[3520] | 394 | cd ${SETTE_DIR} |
---|
[7698] | 395 | . ./prepare_job.sh input_ORCA2_LIM3_PISCES.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${OMP_NTHR} |
---|
[3520] | 396 | cd ${SETTE_DIR} |
---|
[3532] | 397 | . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} |
---|
[3520] | 398 | fi |
---|
| 399 | |
---|
[7715] | 400 | if [ ${config} -eq 4 ] ; then |
---|
[7646] | 401 | ## Reproducibility tests for ORCA2_LIM3_PISCES |
---|
| 402 | export TEST_NAME="REPRO_4_8" |
---|
[7715] | 403 | cd ${CONFIG_DIR0} |
---|
[7646] | 404 | . ./makenemo -m ${CMP_NAM} -n ORCA2LIM3PIS_32 -r ORCA2_LIM3_PISCES -j 8 del_key ${DEL_KEYS} |
---|
[3520] | 405 | cd ${SETTE_DIR} |
---|
[4252] | 406 | . ./param.cfg |
---|
| 407 | . ./all_functions.sh |
---|
| 408 | . ./prepare_exe_dir.sh |
---|
[3520] | 409 | JOB_FILE=${EXE_DIR}/run_job.sh |
---|
[7646] | 410 | NPROC=32 |
---|
[4245] | 411 | if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi |
---|
[3520] | 412 | cd ${EXE_DIR} |
---|
[4147] | 413 | set_namelist namelist_cfg nn_it000 1 |
---|
| 414 | set_namelist namelist_cfg nn_itend 75 |
---|
| 415 | set_namelist namelist_cfg nn_fwb 0 |
---|
| 416 | set_namelist namelist_cfg ln_ctl .false. |
---|
| 417 | set_namelist namelist_cfg ln_clobber .true. |
---|
[7646] | 418 | set_namelist namelist_cfg ln_read_cfg .true. |
---|
| 419 | set_namelist namelist_cfg ln_linssh .false. |
---|
[7715] | 420 | set_namelist namelist_cfg ln_icebergs .true. |
---|
[4147] | 421 | set_namelist namelist_cfg jpni 4 |
---|
[7646] | 422 | set_namelist namelist_cfg jpnj 8 |
---|
| 423 | set_namelist namelist_cfg jpnij 32 |
---|
[4147] | 424 | set_namelist namelist_top_cfg ln_trcdta .false. |
---|
[3520] | 425 | # put ln_ironsed, ln_river, ln_ndepo, ln_dust to false |
---|
| 426 | # if not you need input files, and for tests is not necessary |
---|
[4147] | 427 | set_namelist namelist_pisces_cfg ln_presatm .false. |
---|
| 428 | set_namelist namelist_pisces_cfg ln_varpar .false. |
---|
| 429 | set_namelist namelist_pisces_cfg ln_dust .false. |
---|
| 430 | set_namelist namelist_pisces_cfg ln_solub .false. |
---|
| 431 | set_namelist namelist_pisces_cfg ln_river .false. |
---|
| 432 | set_namelist namelist_pisces_cfg ln_ndepo .false. |
---|
| 433 | set_namelist namelist_pisces_cfg ln_ironsed .false. |
---|
[7646] | 434 | set_namelist namelist_pisces_cfg ln_ironice .false. |
---|
[4147] | 435 | set_namelist namelist_pisces_cfg ln_hydrofe .false. |
---|
[3680] | 436 | # put ln_pisdmp to false : no restoring to global mean value |
---|
[4147] | 437 | set_namelist namelist_pisces_cfg ln_pisdmp .false. |
---|
[4245] | 438 | if [ ${USING_MPMD} == "yes" ] ; then |
---|
| 439 | set_xio_using_server iodef.xml true |
---|
| 440 | else |
---|
| 441 | set_xio_using_server iodef.xml false |
---|
| 442 | fi |
---|
[3520] | 443 | cd ${SETTE_DIR} |
---|
[7698] | 444 | . ./prepare_job.sh input_ORCA2_LIM3_PISCES.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${OMP_NTHR} |
---|
[3520] | 445 | cd ${SETTE_DIR} |
---|
[3532] | 446 | . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} |
---|
[3520] | 447 | |
---|
| 448 | cd ${SETTE_DIR} |
---|
[7646] | 449 | export TEST_NAME="REPRO_8_4" |
---|
[4252] | 450 | . ./prepare_exe_dir.sh |
---|
[3680] | 451 | JOB_FILE=${EXE_DIR}/run_job.sh |
---|
[7646] | 452 | NPROC=32 |
---|
[4245] | 453 | if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi |
---|
[3520] | 454 | cd ${EXE_DIR} |
---|
[4147] | 455 | set_namelist namelist_cfg nn_it000 1 |
---|
| 456 | set_namelist namelist_cfg nn_itend 75 |
---|
| 457 | set_namelist namelist_cfg ln_clobber .true. |
---|
[7646] | 458 | set_namelist namelist_cfg ln_read_cfg .true. |
---|
[7715] | 459 | set_namelist namelist_cfg ln_linssh .false. |
---|
| 460 | set_namelist namelist_cfg ln_icebergs .true. |
---|
[4316] | 461 | set_namelist namelist_cfg nn_fwb 0 |
---|
[7646] | 462 | set_namelist namelist_cfg jpni 8 |
---|
| 463 | set_namelist namelist_cfg jpnj 4 |
---|
| 464 | set_namelist namelist_cfg jpnij 32 |
---|
[4147] | 465 | set_namelist namelist_top_cfg ln_trcdta .false. |
---|
[3520] | 466 | # put ln_ironsed, ln_river, ln_ndepo, ln_dust to false |
---|
| 467 | # if not you need input files, and for tests is not necessary |
---|
[4147] | 468 | set_namelist namelist_pisces_cfg ln_presatm .false. |
---|
| 469 | set_namelist namelist_pisces_cfg ln_varpar .false. |
---|
| 470 | set_namelist namelist_pisces_cfg ln_dust .false. |
---|
| 471 | set_namelist namelist_pisces_cfg ln_solub .false. |
---|
| 472 | set_namelist namelist_pisces_cfg ln_river .false. |
---|
| 473 | set_namelist namelist_pisces_cfg ln_ndepo .false. |
---|
| 474 | set_namelist namelist_pisces_cfg ln_ironsed .false. |
---|
[7646] | 475 | set_namelist namelist_pisces_cfg ln_ironice .false. |
---|
[4147] | 476 | set_namelist namelist_pisces_cfg ln_hydrofe .false. |
---|
[3680] | 477 | # put ln_pisdmp to false : no restoring to global mean value |
---|
[4147] | 478 | set_namelist namelist_pisces_cfg ln_pisdmp .false. |
---|
[4245] | 479 | if [ ${USING_MPMD} == "yes" ] ; then |
---|
| 480 | set_xio_using_server iodef.xml true |
---|
| 481 | else |
---|
| 482 | set_xio_using_server iodef.xml false |
---|
| 483 | fi |
---|
[3520] | 484 | cd ${SETTE_DIR} |
---|
[7698] | 485 | . ./prepare_job.sh input_ORCA2_LIM3_PISCES.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${OMP_NTHR} |
---|
[3520] | 486 | cd ${SETTE_DIR} |
---|
| 487 | . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} |
---|
| 488 | fi |
---|
| 489 | |
---|
| 490 | # TESTS FOR ORCA2_OFF_PISCES CONFIGURATION |
---|
[7715] | 491 | if [ ${config} -eq 5 ] ; then |
---|
[3520] | 492 | ## Restartability tests for ORCA2_OFF_PISCES |
---|
| 493 | export TEST_NAME="LONG" |
---|
[7715] | 494 | cd ${CONFIG_DIR0} |
---|
[7646] | 495 | . ./makenemo -m ${CMP_NAM} -n ORCA2OFFPIS_LONG -r ORCA2_OFF_PISCES -j 8 del_key ${DEL_KEYS} |
---|
[3520] | 496 | cd ${SETTE_DIR} |
---|
[4252] | 497 | . ./param.cfg |
---|
| 498 | . ./all_functions.sh |
---|
| 499 | . ./prepare_exe_dir.sh |
---|
[3520] | 500 | JOB_FILE=${EXE_DIR}/run_job.sh |
---|
[7646] | 501 | NPROC=32 |
---|
[4245] | 502 | if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi |
---|
[3520] | 503 | cd ${EXE_DIR} |
---|
[4147] | 504 | set_namelist namelist_cfg cn_exp \"OFFP_LONG\" |
---|
| 505 | set_namelist namelist_cfg nn_it000 1 |
---|
| 506 | set_namelist namelist_cfg nn_itend 40 |
---|
| 507 | set_namelist namelist_cfg nn_stock 20 |
---|
| 508 | set_namelist namelist_cfg ln_clobber .true. |
---|
[7646] | 509 | set_namelist namelist_cfg ln_read_cfg .true. |
---|
| 510 | set_namelist namelist_cfg ln_linssh .true. |
---|
| 511 | set_namelist namelist_cfg jpni 4 |
---|
| 512 | set_namelist namelist_cfg jpnj 8 |
---|
| 513 | set_namelist namelist_cfg jpnij 32 |
---|
[4147] | 514 | set_namelist namelist_top_cfg ln_trcdta .false. |
---|
[3520] | 515 | # put ln_ironsed, ln_river, ln_ndepo, ln_dust to false |
---|
| 516 | # if not you need input files, and for tests is not necessary |
---|
[4147] | 517 | set_namelist namelist_pisces_cfg ln_presatm .false. |
---|
| 518 | set_namelist namelist_pisces_cfg ln_varpar .false. |
---|
| 519 | set_namelist namelist_pisces_cfg ln_dust .false. |
---|
| 520 | set_namelist namelist_pisces_cfg ln_solub .false. |
---|
| 521 | set_namelist namelist_pisces_cfg ln_river .false. |
---|
| 522 | set_namelist namelist_pisces_cfg ln_ndepo .false. |
---|
| 523 | set_namelist namelist_pisces_cfg ln_ironsed .false. |
---|
[7646] | 524 | set_namelist namelist_pisces_cfg ln_ironice .false. |
---|
[4147] | 525 | set_namelist namelist_pisces_cfg ln_hydrofe .false. |
---|
[3680] | 526 | # put ln_pisdmp to false : no restoring to global mean value |
---|
[4147] | 527 | set_namelist namelist_pisces_cfg ln_pisdmp .false. |
---|
[4245] | 528 | if [ ${USING_MPMD} == "yes" ] ; then |
---|
| 529 | set_xio_using_server iodef.xml true |
---|
| 530 | else |
---|
| 531 | set_xio_using_server iodef.xml false |
---|
| 532 | fi |
---|
[3520] | 533 | cd ${SETTE_DIR} |
---|
[7698] | 534 | . ./prepare_job.sh input_ORCA2_OFF_PISCES.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${OMP_NTHR} |
---|
[3520] | 535 | |
---|
| 536 | cd ${SETTE_DIR} |
---|
| 537 | export TEST_NAME="SHORT" |
---|
[4252] | 538 | . ./prepare_exe_dir.sh |
---|
[3520] | 539 | cd ${EXE_DIR} |
---|
[4147] | 540 | set_namelist namelist_cfg cn_exp \"OFFP_SHORT\" |
---|
| 541 | set_namelist namelist_cfg nn_it000 21 |
---|
| 542 | set_namelist namelist_cfg nn_itend 40 |
---|
| 543 | set_namelist namelist_cfg nn_stock 20 |
---|
| 544 | set_namelist namelist_cfg ln_clobber .true. |
---|
[7646] | 545 | set_namelist namelist_cfg ln_read_cfg .true. |
---|
| 546 | set_namelist namelist_cfg ln_linssh .true. |
---|
| 547 | set_namelist namelist_cfg jpni 4 |
---|
| 548 | set_namelist namelist_cfg jpnj 8 |
---|
| 549 | set_namelist namelist_cfg jpnij 32 |
---|
[4147] | 550 | set_namelist namelist_top_cfg ln_rsttr .true. |
---|
| 551 | set_namelist namelist_top_cfg nn_rsttr 2 |
---|
| 552 | set_namelist namelist_top_cfg cn_trcrst_in \"OFFP_LONG_00000020_restart_trc\" |
---|
[3537] | 553 | for (( i=1; i<=$NPROC; i++)) ; do |
---|
| 554 | L_NPROC=$(( $i - 1 )) |
---|
| 555 | L_NPROC=`printf "%04d\n" ${L_NPROC}` |
---|
[3555] | 556 | ln -sf ../LONG/OFFP_LONG_00000020_restart_trc_${L_NPROC}.nc . |
---|
[3537] | 557 | done |
---|
[3520] | 558 | # put ln_ironsed, ln_river, ln_ndepo, ln_dust |
---|
| 559 | # if not you need input files, and for tests is not necessary |
---|
[4147] | 560 | set_namelist namelist_pisces_cfg ln_presatm .false. |
---|
| 561 | set_namelist namelist_pisces_cfg ln_varpar .false. |
---|
| 562 | set_namelist namelist_pisces_cfg ln_dust .false. |
---|
| 563 | set_namelist namelist_pisces_cfg ln_solub .false. |
---|
| 564 | set_namelist namelist_pisces_cfg ln_river .false. |
---|
| 565 | set_namelist namelist_pisces_cfg ln_ndepo .false. |
---|
| 566 | set_namelist namelist_pisces_cfg ln_ironsed .false. |
---|
[7646] | 567 | set_namelist namelist_pisces_cfg ln_ironice .false. |
---|
[4147] | 568 | set_namelist namelist_pisces_cfg ln_hydrofe .false. |
---|
[3680] | 569 | # put ln_pisdmp to false : no restoring to global mean value |
---|
[4147] | 570 | set_namelist namelist_pisces_cfg ln_pisdmp .false. |
---|
[4245] | 571 | if [ ${USING_MPMD} == "yes" ] ; then |
---|
| 572 | set_xio_using_server iodef.xml true |
---|
| 573 | else |
---|
| 574 | set_xio_using_server iodef.xml false |
---|
| 575 | fi |
---|
[3520] | 576 | cd ${SETTE_DIR} |
---|
[7698] | 577 | . ./prepare_job.sh input_ORCA2_OFF_PISCES.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${OMP_NTHR} |
---|
[3520] | 578 | cd ${SETTE_DIR} |
---|
| 579 | . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} |
---|
| 580 | fi |
---|
| 581 | |
---|
[7715] | 582 | if [ ${config} -eq 6 ] ; then |
---|
[3680] | 583 | ## Reproducibility tests for ORCA2_OFF_PISCES |
---|
[7646] | 584 | export TEST_NAME="REPRO_4_8" |
---|
[7715] | 585 | cd ${CONFIG_DIR0} |
---|
[7646] | 586 | . ./makenemo -m ${CMP_NAM} -n ORCA2OFFPIS_32 -r ORCA2_OFF_PISCES -j 8 del_key ${DEL_KEYS} |
---|
[3520] | 587 | cd ${SETTE_DIR} |
---|
[4252] | 588 | . ./param.cfg |
---|
| 589 | . ./all_functions.sh |
---|
| 590 | . ./prepare_exe_dir.sh |
---|
[3520] | 591 | JOB_FILE=${EXE_DIR}/run_job.sh |
---|
[7646] | 592 | NPROC=32 |
---|
[4245] | 593 | if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi |
---|
[3520] | 594 | cd ${EXE_DIR} |
---|
[4147] | 595 | set_namelist namelist_cfg nn_it000 1 |
---|
| 596 | set_namelist namelist_cfg nn_itend 40 |
---|
| 597 | set_namelist namelist_cfg ln_ctl .false. |
---|
| 598 | set_namelist namelist_cfg ln_clobber .true. |
---|
[7646] | 599 | set_namelist namelist_cfg ln_read_cfg .true. |
---|
| 600 | set_namelist namelist_cfg ln_linssh .true. |
---|
[4147] | 601 | set_namelist namelist_cfg jpni 4 |
---|
[7646] | 602 | set_namelist namelist_cfg jpnj 8 |
---|
| 603 | set_namelist namelist_cfg jpnij 32 |
---|
[4147] | 604 | set_namelist namelist_top_cfg ln_trcdta .false. |
---|
[3520] | 605 | # put ln_ironsed, ln_river, ln_ndepo, ln_dust to false |
---|
| 606 | # if not you need input files, and for tests is not necessary |
---|
[4147] | 607 | set_namelist namelist_pisces_cfg ln_presatm .false. |
---|
| 608 | set_namelist namelist_pisces_cfg ln_varpar .false. |
---|
| 609 | set_namelist namelist_pisces_cfg ln_dust .false. |
---|
| 610 | set_namelist namelist_pisces_cfg ln_solub .false. |
---|
| 611 | set_namelist namelist_pisces_cfg ln_river .false. |
---|
| 612 | set_namelist namelist_pisces_cfg ln_ndepo .false. |
---|
| 613 | set_namelist namelist_pisces_cfg ln_ironsed .false. |
---|
[7646] | 614 | set_namelist namelist_pisces_cfg ln_ironice .false. |
---|
[4147] | 615 | set_namelist namelist_pisces_cfg ln_hydrofe .false. |
---|
[3680] | 616 | # put ln_pisdmp to false : no restoring to global mean value |
---|
[4147] | 617 | set_namelist namelist_pisces_cfg ln_pisdmp .false. |
---|
[4245] | 618 | if [ ${USING_MPMD} == "yes" ] ; then |
---|
| 619 | set_xio_using_server iodef.xml true |
---|
| 620 | else |
---|
| 621 | set_xio_using_server iodef.xml false |
---|
| 622 | fi |
---|
[3520] | 623 | cd ${SETTE_DIR} |
---|
[7698] | 624 | . ./prepare_job.sh input_ORCA2_OFF_PISCES.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${OMP_NTHR} |
---|
[3520] | 625 | cd ${SETTE_DIR} |
---|
[3532] | 626 | . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} |
---|
[3520] | 627 | |
---|
| 628 | cd ${SETTE_DIR} |
---|
[7646] | 629 | export TEST_NAME="REPRO_8_4" |
---|
[4252] | 630 | . ./prepare_exe_dir.sh |
---|
[3680] | 631 | JOB_FILE=${EXE_DIR}/run_job.sh |
---|
[7646] | 632 | NPROC=32 |
---|
[4245] | 633 | if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi |
---|
[3520] | 634 | cd ${EXE_DIR} |
---|
[4147] | 635 | set_namelist namelist_cfg nn_it000 1 |
---|
| 636 | set_namelist namelist_cfg nn_itend 40 |
---|
| 637 | set_namelist namelist_cfg ln_ctl .false. |
---|
| 638 | set_namelist namelist_cfg ln_clobber .true. |
---|
[7646] | 639 | set_namelist namelist_cfg ln_read_cfg .true. |
---|
| 640 | set_namelist namelist_cfg ln_linssh .true. |
---|
| 641 | set_namelist namelist_cfg jpni 8 |
---|
| 642 | set_namelist namelist_cfg jpnj 4 |
---|
| 643 | set_namelist namelist_cfg jpnij 32 |
---|
[4147] | 644 | set_namelist namelist_top_cfg ln_trcdta .false. |
---|
[3520] | 645 | # put ln_ironsed, ln_river, ln_ndepo, ln_dust to false |
---|
| 646 | # if not you need input files, and for tests is not necessary |
---|
[4147] | 647 | set_namelist namelist_pisces_cfg ln_presatm .false. |
---|
| 648 | set_namelist namelist_pisces_cfg ln_varpar .false. |
---|
| 649 | set_namelist namelist_pisces_cfg ln_dust .false. |
---|
| 650 | set_namelist namelist_pisces_cfg ln_solub .false. |
---|
| 651 | set_namelist namelist_pisces_cfg ln_river .false. |
---|
| 652 | set_namelist namelist_pisces_cfg ln_ndepo .false. |
---|
| 653 | set_namelist namelist_pisces_cfg ln_ironsed .false. |
---|
[7646] | 654 | set_namelist namelist_pisces_cfg ln_ironice .false. |
---|
[4147] | 655 | set_namelist namelist_pisces_cfg ln_hydrofe .false. |
---|
[3680] | 656 | # put ln_pisdmp to false : no restoring to global mean value |
---|
[4147] | 657 | set_namelist namelist_pisces_cfg ln_pisdmp .false. |
---|
[4245] | 658 | if [ ${USING_MPMD} == "yes" ] ; then |
---|
| 659 | set_xio_using_server iodef.xml true |
---|
| 660 | else |
---|
| 661 | set_xio_using_server iodef.xml false |
---|
| 662 | fi |
---|
[3520] | 663 | cd ${SETTE_DIR} |
---|
[7698] | 664 | . ./prepare_job.sh input_ORCA2_OFF_PISCES.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${OMP_NTHR} |
---|
[3520] | 665 | cd ${SETTE_DIR} |
---|
| 666 | . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} |
---|
| 667 | fi |
---|
| 668 | |
---|
[3680] | 669 | # TESTS FOR AMM12 CONFIGURATION |
---|
[7715] | 670 | if [ ${config} -eq 7 ] ; then |
---|
[3532] | 671 | ## Restartability tests for AMM12 |
---|
| 672 | export TEST_NAME="LONG" |
---|
[7715] | 673 | cd ${CONFIG_DIR0} |
---|
[4245] | 674 | . ./makenemo -m ${CMP_NAM} -n AMM12_LONG -r AMM12 -j 8 add_key "key_tide" del_key ${DEL_KEYS} |
---|
[3520] | 675 | cd ${SETTE_DIR} |
---|
[4252] | 676 | . ./param.cfg |
---|
| 677 | . ./all_functions.sh |
---|
| 678 | . ./prepare_exe_dir.sh |
---|
[3520] | 679 | JOB_FILE=${EXE_DIR}/run_job.sh |
---|
| 680 | NPROC=32 |
---|
[4245] | 681 | if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi |
---|
[3520] | 682 | cd ${EXE_DIR} |
---|
[4147] | 683 | set_namelist namelist_cfg nn_it000 1 |
---|
[4252] | 684 | set_namelist namelist_cfg nn_itend 576 |
---|
| 685 | set_namelist namelist_cfg nn_stock 288 |
---|
[4147] | 686 | set_namelist namelist_cfg nn_fwb 0 |
---|
| 687 | set_namelist namelist_cfg ln_ctl .false. |
---|
| 688 | set_namelist namelist_cfg ln_clobber .true. |
---|
[7646] | 689 | set_namelist namelist_cfg ln_read_cfg .true. |
---|
| 690 | set_namelist namelist_cfg ln_linssh .false. |
---|
| 691 | set_namelist namelist_cfg jpni 4 |
---|
| 692 | set_namelist namelist_cfg jpnj 8 |
---|
[4147] | 693 | set_namelist namelist_cfg jpnij 32 |
---|
[4245] | 694 | if [ ${USING_MPMD} == "yes" ] ; then |
---|
| 695 | set_xio_using_server iodef.xml true |
---|
| 696 | else |
---|
| 697 | set_xio_using_server iodef.xml false |
---|
| 698 | fi |
---|
[3520] | 699 | cd ${SETTE_DIR} |
---|
[7698] | 700 | . ./prepare_job.sh input_AMM12.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${OMP_NTHR} |
---|
[3520] | 701 | |
---|
| 702 | cd ${SETTE_DIR} |
---|
[3532] | 703 | export TEST_NAME="SHORT" |
---|
[4379] | 704 | . ./prepare_exe_dir.sh |
---|
[3520] | 705 | cd ${EXE_DIR} |
---|
[4252] | 706 | set_namelist namelist_cfg nn_it000 289 |
---|
| 707 | set_namelist namelist_cfg nn_itend 576 |
---|
[4147] | 708 | set_namelist namelist_cfg nn_fwb 0 |
---|
| 709 | set_namelist namelist_cfg ln_ctl .false. |
---|
| 710 | set_namelist namelist_cfg ln_clobber .true. |
---|
[7646] | 711 | set_namelist namelist_cfg ln_read_cfg .true. |
---|
| 712 | set_namelist namelist_cfg ln_linssh .false. |
---|
| 713 | set_namelist namelist_cfg jpni 4 |
---|
| 714 | set_namelist namelist_cfg jpnj 8 |
---|
[4147] | 715 | set_namelist namelist_cfg jpnij 32 |
---|
| 716 | set_namelist namelist_cfg ln_rstart .true. |
---|
| 717 | set_namelist namelist_cfg nn_rstctl 2 |
---|
[4252] | 718 | set_namelist namelist_cfg cn_ocerst_in \"AMM12_00000288_restart_oce_out\" |
---|
| 719 | set_namelist namelist_cfg nn_date0 20120102 |
---|
[3537] | 720 | for (( i=1; i<=$NPROC; i++)) ; do |
---|
| 721 | L_NPROC=$(( $i - 1 )) |
---|
| 722 | L_NPROC=`printf "%04d\n" ${L_NPROC}` |
---|
[4252] | 723 | ln -sf ../LONG/AMM12_00000288_restart_oce_out_${L_NPROC}.nc . |
---|
[3537] | 724 | done |
---|
[4245] | 725 | if [ ${USING_MPMD} == "yes" ] ; then |
---|
| 726 | set_xio_using_server iodef.xml true |
---|
| 727 | else |
---|
| 728 | set_xio_using_server iodef.xml false |
---|
| 729 | fi |
---|
[3520] | 730 | cd ${SETTE_DIR} |
---|
[7698] | 731 | . ./prepare_job.sh input_AMM12.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${OMP_NTHR} |
---|
[3520] | 732 | cd ${SETTE_DIR} |
---|
[3532] | 733 | . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} |
---|
[3520] | 734 | fi |
---|
| 735 | |
---|
[7715] | 736 | if [ ${config} -eq 8 ] ; then |
---|
[3680] | 737 | ## Reproducibility tests for AMM12 |
---|
| 738 | export TEST_NAME="REPRO_8_4" |
---|
[7715] | 739 | cd ${CONFIG_DIR0} |
---|
[7646] | 740 | . ./makenemo -m ${CMP_NAM} -n AMM12_32 -r AMM12 -j 8 del_key ${DEL_KEYS} |
---|
[3520] | 741 | cd ${SETTE_DIR} |
---|
[4252] | 742 | . ./param.cfg |
---|
| 743 | . ./all_functions.sh |
---|
| 744 | . ./prepare_exe_dir.sh |
---|
[3520] | 745 | JOB_FILE=${EXE_DIR}/run_job.sh |
---|
| 746 | NPROC=32 |
---|
[4245] | 747 | if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi |
---|
[3520] | 748 | cd ${EXE_DIR} |
---|
[4147] | 749 | set_namelist namelist_cfg nn_it000 1 |
---|
| 750 | set_namelist namelist_cfg nn_itend 576 |
---|
| 751 | set_namelist namelist_cfg nn_fwb 0 |
---|
| 752 | set_namelist namelist_cfg ln_ctl .false. |
---|
| 753 | set_namelist namelist_cfg ln_clobber .true. |
---|
[7646] | 754 | set_namelist namelist_cfg ln_read_cfg .true. |
---|
| 755 | set_namelist namelist_cfg ln_linssh .false. |
---|
[4147] | 756 | set_namelist namelist_cfg jpni 8 |
---|
| 757 | set_namelist namelist_cfg jpnj 4 |
---|
| 758 | set_namelist namelist_cfg jpnij 32 |
---|
[4245] | 759 | if [ ${USING_MPMD} == "yes" ] ; then |
---|
| 760 | set_xio_using_server iodef.xml true |
---|
| 761 | else |
---|
| 762 | set_xio_using_server iodef.xml false |
---|
| 763 | fi |
---|
[3520] | 764 | cd ${SETTE_DIR} |
---|
[7698] | 765 | . ./prepare_job.sh input_AMM12.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${OMP_NTHR} |
---|
[3520] | 766 | cd ${SETTE_DIR} |
---|
| 767 | . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} |
---|
| 768 | |
---|
| 769 | cd ${SETTE_DIR} |
---|
[3680] | 770 | export TEST_NAME="REPRO_4_8" |
---|
[4252] | 771 | . ./prepare_exe_dir.sh |
---|
[5478] | 772 | JOB_FILE=${EXE_DIR}/run_job.sh |
---|
| 773 | if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi |
---|
[3520] | 774 | cd ${EXE_DIR} |
---|
[4147] | 775 | set_namelist namelist_cfg nn_it000 1 |
---|
| 776 | set_namelist namelist_cfg nn_itend 576 |
---|
| 777 | set_namelist namelist_cfg nn_fwb 0 |
---|
| 778 | set_namelist namelist_cfg ln_ctl .false. |
---|
| 779 | set_namelist namelist_cfg ln_clobber .true. |
---|
[7646] | 780 | set_namelist namelist_cfg ln_read_cfg .true. |
---|
| 781 | set_namelist namelist_cfg ln_linssh .false. |
---|
[4147] | 782 | set_namelist namelist_cfg jpni 4 |
---|
| 783 | set_namelist namelist_cfg jpnj 8 |
---|
| 784 | set_namelist namelist_cfg jpnij 32 |
---|
[4245] | 785 | if [ ${USING_MPMD} == "yes" ] ; then |
---|
| 786 | set_xio_using_server iodef.xml true |
---|
| 787 | else |
---|
| 788 | set_xio_using_server iodef.xml false |
---|
| 789 | fi |
---|
[3520] | 790 | cd ${SETTE_DIR} |
---|
[7698] | 791 | . ./prepare_job.sh input_AMM12.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${OMP_NTHR} |
---|
[3520] | 792 | cd ${SETTE_DIR} |
---|
[3532] | 793 | . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} |
---|
[3520] | 794 | fi |
---|
| 795 | |
---|
| 796 | |
---|
[7646] | 797 | # TESTS FOR ORCA2_SAS_LIM3 CONFIGURATION |
---|
[7715] | 798 | if [ ${config} -eq 9 ] ; then |
---|
[4147] | 799 | ## Restartability tests for SAS |
---|
| 800 | export TEST_NAME="LONG" |
---|
[7715] | 801 | cd ${CONFIG_DIR0} |
---|
[7646] | 802 | . ./makenemo -m ${CMP_NAM} -n SAS_LONG -r ORCA2_SAS_LIM3 -j 8 del_key ${DEL_KEYS} |
---|
[4147] | 803 | cd ${SETTE_DIR} |
---|
[4252] | 804 | . ./param.cfg |
---|
| 805 | . ./all_functions.sh |
---|
| 806 | . ./prepare_exe_dir.sh |
---|
[4147] | 807 | JOB_FILE=${EXE_DIR}/run_job.sh |
---|
| 808 | NPROC=32 |
---|
[7646] | 809 | if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi |
---|
[4147] | 810 | cd ${EXE_DIR} |
---|
| 811 | set_namelist namelist_cfg cn_exp \"SAS\" |
---|
| 812 | set_namelist namelist_cfg nn_it000 1 |
---|
| 813 | set_namelist namelist_cfg nn_itend 100 |
---|
| 814 | set_namelist namelist_cfg nn_stock 50 |
---|
| 815 | set_namelist namelist_cfg ln_ctl .false. |
---|
| 816 | set_namelist namelist_cfg ln_clobber .true. |
---|
[7646] | 817 | set_namelist namelist_cfg ln_read_cfg .true. |
---|
| 818 | set_namelist namelist_cfg ln_linssh .true. |
---|
[4316] | 819 | set_namelist namelist_cfg nn_fwb 0 |
---|
[7646] | 820 | set_namelist namelist_cfg jpni 4 |
---|
| 821 | set_namelist namelist_cfg jpnj 8 |
---|
[4147] | 822 | set_namelist namelist_cfg jpnij 32 |
---|
[4245] | 823 | if [ ${USING_MPMD} == "yes" ] ; then |
---|
| 824 | set_xio_using_server iodef.xml true |
---|
| 825 | else |
---|
| 826 | set_xio_using_server iodef.xml false |
---|
| 827 | fi |
---|
[4147] | 828 | cd ${SETTE_DIR} |
---|
[7698] | 829 | . ./prepare_job.sh input_SAS.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${OMP_NTHR} |
---|
[4147] | 830 | |
---|
| 831 | cd ${SETTE_DIR} |
---|
| 832 | export TEST_NAME="SHORT" |
---|
[4252] | 833 | . ./prepare_exe_dir.sh |
---|
[4147] | 834 | cd ${EXE_DIR} |
---|
| 835 | set_namelist namelist_cfg cn_exp \"SAS\" |
---|
| 836 | set_namelist namelist_cfg nn_it000 51 |
---|
| 837 | set_namelist namelist_cfg nn_itend 100 |
---|
| 838 | set_namelist namelist_cfg ln_ctl .false. |
---|
| 839 | set_namelist namelist_cfg ln_clobber .true. |
---|
[7646] | 840 | set_namelist namelist_cfg ln_read_cfg .true. |
---|
| 841 | set_namelist namelist_cfg ln_linssh .true. |
---|
[4316] | 842 | set_namelist namelist_cfg nn_fwb 0 |
---|
[7646] | 843 | set_namelist namelist_cfg jpni 4 |
---|
| 844 | set_namelist namelist_cfg jpnj 8 |
---|
[4147] | 845 | set_namelist namelist_cfg jpnij 32 |
---|
[7646] | 846 | set_namelist namelist_cfg ln_rstart .true. |
---|
[4147] | 847 | set_namelist namelist_cfg nn_rstctl 2 |
---|
[7646] | 848 | set_namelist namelist_ice_cfg cn_icerst_in \"SAS_00000050_restart_ice\" |
---|
[4245] | 849 | if [ ${USING_MPMD} == "yes" ] ; then |
---|
| 850 | set_xio_using_server iodef.xml true |
---|
| 851 | else |
---|
| 852 | set_xio_using_server iodef.xml false |
---|
| 853 | fi |
---|
[7646] | 854 | for (( i=1; i<=$NPROC; i++)) ; do |
---|
| 855 | L_NPROC=$(( $i - 1 )) |
---|
| 856 | L_NPROC=`printf "%04d\n" ${L_NPROC}` |
---|
| 857 | ln -sf ../LONG/SAS_00000050_restart_ice_${L_NPROC}.nc . |
---|
| 858 | done |
---|
[4147] | 859 | cd ${SETTE_DIR} |
---|
[7698] | 860 | . ./prepare_job.sh input_SAS.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${OMP_NTHR} |
---|
[4147] | 861 | cd ${SETTE_DIR} |
---|
| 862 | . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} |
---|
| 863 | fi |
---|
| 864 | |
---|
[7646] | 865 | # TESTS FOR ISOMIP CONFIGURATION |
---|
[7715] | 866 | if [ ${config} -eq 10 ] ; then |
---|
[4990] | 867 | ## Restartability tests for ISOMIP |
---|
| 868 | export TEST_NAME="LONG" |
---|
[7715] | 869 | cd ${CONFIG_DIR0} |
---|
| 870 | . ./makenemo -m ${CMP_NAM} -n ISOMIP_LONG -r ISOMIP -a TEST_CASES -j 8 del_key ${DEL_KEYS} |
---|
[4990] | 871 | cd ${SETTE_DIR} |
---|
| 872 | . ./param.cfg |
---|
| 873 | . ./all_functions.sh |
---|
| 874 | . ./prepare_exe_dir.sh |
---|
| 875 | JOB_FILE=${EXE_DIR}/run_job.sh |
---|
[7646] | 876 | NPROC=32 |
---|
[4990] | 877 | if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi |
---|
| 878 | cd ${EXE_DIR} |
---|
| 879 | set_namelist namelist_cfg cn_exp \"ISOMIP_LONG\" |
---|
| 880 | set_namelist namelist_cfg nn_it000 1 |
---|
| 881 | set_namelist namelist_cfg nn_itend 96 |
---|
| 882 | set_namelist namelist_cfg nn_stock 48 |
---|
| 883 | set_namelist namelist_cfg ln_clobber .true. |
---|
[7715] | 884 | set_namelist namelist_cfg ln_read_cfg .false. |
---|
[7646] | 885 | set_namelist namelist_cfg jpni 4 |
---|
| 886 | set_namelist namelist_cfg jpnj 8 |
---|
| 887 | set_namelist namelist_cfg jpnij 32 |
---|
[4990] | 888 | if [ ${USING_MPMD} == "yes" ] ; then |
---|
| 889 | set_xio_using_server iodef.xml true |
---|
| 890 | else |
---|
| 891 | set_xio_using_server iodef.xml false |
---|
| 892 | fi |
---|
| 893 | cd ${SETTE_DIR} |
---|
[7698] | 894 | . ./prepare_job.sh input_ISOMIP.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${OMP_NTHR} |
---|
[4147] | 895 | |
---|
[4990] | 896 | cd ${SETTE_DIR} |
---|
| 897 | export TEST_NAME="SHORT" |
---|
| 898 | . ./prepare_exe_dir.sh |
---|
| 899 | cd ${EXE_DIR} |
---|
| 900 | set_namelist namelist_cfg cn_exp \"ISOMIP_SHORT\" |
---|
| 901 | set_namelist namelist_cfg nn_it000 49 |
---|
| 902 | set_namelist namelist_cfg nn_itend 96 |
---|
| 903 | set_namelist namelist_cfg nn_stock 48 |
---|
| 904 | set_namelist namelist_cfg ln_rstart .true. |
---|
| 905 | set_namelist namelist_cfg nn_rstctl 2 |
---|
| 906 | set_namelist namelist_cfg ln_clobber .true. |
---|
[7715] | 907 | set_namelist namelist_cfg ln_read_cfg .false. |
---|
[7646] | 908 | set_namelist namelist_cfg jpni 4 |
---|
| 909 | set_namelist namelist_cfg jpnj 8 |
---|
| 910 | set_namelist namelist_cfg jpnij 32 |
---|
[4990] | 911 | set_namelist namelist_cfg cn_ocerst_in \"ISOMIP_LONG_00000048_restart\" |
---|
| 912 | if [ ${USING_MPMD} == "yes" ] ; then |
---|
| 913 | set_xio_using_server iodef.xml true |
---|
| 914 | else |
---|
| 915 | set_xio_using_server iodef.xml false |
---|
| 916 | fi |
---|
| 917 | for (( i=1; i<=$NPROC; i++)) ; do |
---|
| 918 | L_NPROC=$(( $i - 1 )) |
---|
| 919 | L_NPROC=`printf "%04d\n" ${L_NPROC}` |
---|
| 920 | ln -sf ../LONG/ISOMIP_LONG_00000048_restart_${L_NPROC}.nc . |
---|
| 921 | done |
---|
| 922 | if [ ${USING_MPMD} == "yes" ] ; then |
---|
| 923 | set_xio_using_server iodef.xml true |
---|
| 924 | else |
---|
| 925 | set_xio_using_server iodef.xml false |
---|
| 926 | fi |
---|
| 927 | cd ${SETTE_DIR} |
---|
[7698] | 928 | . ./prepare_job.sh input_ISOMIP.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${OMP_NTHR} |
---|
[4990] | 929 | cd ${SETTE_DIR} |
---|
| 930 | . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} |
---|
| 931 | fi |
---|
[7715] | 932 | if [ ${config} -eq 11 ] ; then |
---|
[4990] | 933 | ## Reproducibility tests for ISOMIP |
---|
[7646] | 934 | export TEST_NAME="REPRO_4_8" |
---|
[7715] | 935 | cd ${CONFIG_DIR0} |
---|
| 936 | . ./makenemo -m ${CMP_NAM} -n ISOMIP_32 -r ISOMIP -a TEST_CASES -j 8 del_key ${DEL_KEYS} |
---|
[4990] | 937 | cd ${SETTE_DIR} |
---|
| 938 | . ./param.cfg |
---|
| 939 | . ./all_functions.sh |
---|
| 940 | . ./prepare_exe_dir.sh |
---|
| 941 | JOB_FILE=${EXE_DIR}/run_job.sh |
---|
[7646] | 942 | NPROC=32 |
---|
[4990] | 943 | if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi |
---|
| 944 | cd ${EXE_DIR} |
---|
| 945 | set_namelist namelist_cfg cn_exp \"ISOMIP_14\" |
---|
| 946 | set_namelist namelist_cfg nn_it000 1 |
---|
| 947 | set_namelist namelist_cfg nn_itend 48 |
---|
| 948 | set_namelist namelist_cfg ln_ctl .false. |
---|
| 949 | set_namelist namelist_cfg ln_clobber .true. |
---|
[7715] | 950 | set_namelist namelist_cfg ln_read_cfg .false. |
---|
[7646] | 951 | set_namelist namelist_cfg jpni 4 |
---|
| 952 | set_namelist namelist_cfg jpnj 8 |
---|
| 953 | set_namelist namelist_cfg jpnij 32 |
---|
[4990] | 954 | if [ ${USING_MPMD} == "yes" ] ; then |
---|
| 955 | set_xio_using_server iodef.xml true |
---|
| 956 | else |
---|
| 957 | set_xio_using_server iodef.xml false |
---|
| 958 | fi |
---|
| 959 | cd ${SETTE_DIR} |
---|
[7698] | 960 | . ./prepare_job.sh input_ISOMIP.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${OMP_NTHR} |
---|
[4990] | 961 | cd ${SETTE_DIR} |
---|
| 962 | . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} |
---|
| 963 | |
---|
| 964 | cd ${SETTE_DIR} |
---|
[7646] | 965 | export TEST_NAME="REPRO_8_4" |
---|
[4990] | 966 | . ./prepare_exe_dir.sh |
---|
| 967 | JOB_FILE=${EXE_DIR}/run_job.sh |
---|
[7646] | 968 | NPROC=32 |
---|
[4990] | 969 | if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi |
---|
| 970 | cd ${EXE_DIR} |
---|
| 971 | set_namelist namelist_cfg cn_exp \"ISOMIP_22\" |
---|
| 972 | set_namelist namelist_cfg nn_it000 1 |
---|
| 973 | set_namelist namelist_cfg nn_itend 48 |
---|
| 974 | set_namelist namelist_cfg ln_ctl .false. |
---|
| 975 | set_namelist namelist_cfg ln_clobber .true. |
---|
[7715] | 976 | set_namelist namelist_cfg ln_read_cfg .false. |
---|
[7646] | 977 | set_namelist namelist_cfg jpni 8 |
---|
| 978 | set_namelist namelist_cfg jpnj 4 |
---|
| 979 | set_namelist namelist_cfg jpnij 32 |
---|
[4990] | 980 | if [ ${USING_MPMD} == "yes" ] ; then |
---|
| 981 | set_xio_using_server iodef.xml true |
---|
| 982 | else |
---|
| 983 | set_xio_using_server iodef.xml false |
---|
| 984 | fi |
---|
| 985 | cd ${SETTE_DIR} |
---|
[7698] | 986 | . ./prepare_job.sh input_ISOMIP.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${OMP_NTHR} |
---|
[4990] | 987 | cd ${SETTE_DIR} |
---|
| 988 | . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} |
---|
| 989 | |
---|
| 990 | fi |
---|
| 991 | |
---|
| 992 | ## Test assimilation interface code, OBS and ASM for reproducibility |
---|
| 993 | ## Restartability not tested (ASM code not restartable while increments are being applied) |
---|
[7715] | 994 | if [ ${config} -eq 12 ] ; then |
---|
| 995 | ## Reproducibility tests for ORCA2_LIM3_OBS |
---|
[7646] | 996 | export TEST_NAME="REPRO_4_8" |
---|
[7715] | 997 | cd ${CONFIG_DIR0} |
---|
[7722] | 998 | . ./makenemo -m ${CMP_NAM} -n ORCA2_LIM3_OBS -r ORCA2_LIM3_PISCES -j 8 add_key "key_asminc" |
---|
[4990] | 999 | cd ${SETTE_DIR} |
---|
| 1000 | . ./param.cfg |
---|
| 1001 | . ./all_functions.sh |
---|
| 1002 | . ./prepare_exe_dir.sh |
---|
| 1003 | JOB_FILE=${EXE_DIR}/run_job.sh |
---|
[7646] | 1004 | NPROC=32 |
---|
[4990] | 1005 | if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi |
---|
| 1006 | cd ${EXE_DIR} |
---|
| 1007 | set_namelist namelist_cfg nn_it000 1 |
---|
| 1008 | set_namelist namelist_cfg nn_itend 75 |
---|
| 1009 | set_namelist namelist_cfg nn_fwb 0 |
---|
| 1010 | set_namelist namelist_cfg ln_ctl .false. |
---|
| 1011 | set_namelist namelist_cfg ln_clobber .true. |
---|
[7646] | 1012 | set_namelist namelist_cfg ln_read_cfg .true. |
---|
| 1013 | set_namelist namelist_cfg ln_linssh .false. |
---|
[7722] | 1014 | set_namelist namelist_cfg ln_icebergs .false. |
---|
[4990] | 1015 | set_namelist namelist_cfg jpni 4 |
---|
[7646] | 1016 | set_namelist namelist_cfg jpnj 8 |
---|
| 1017 | set_namelist namelist_cfg jpnij 32 |
---|
[6140] | 1018 | set_namelist namelist_cfg ln_diaobs .true. |
---|
[4990] | 1019 | set_namelist namelist_cfg ln_t3d .true. |
---|
| 1020 | set_namelist namelist_cfg ln_s3d .true. |
---|
| 1021 | set_namelist namelist_cfg ln_sst .true. |
---|
| 1022 | set_namelist namelist_cfg ln_sla .true. |
---|
[6140] | 1023 | set_namelist namelist_cfg ln_sic .true. |
---|
| 1024 | set_namelist namelist_cfg ln_vel3d .true. |
---|
[4990] | 1025 | set_namelist namelist_cfg ln_bkgwri .true. |
---|
| 1026 | set_namelist namelist_cfg ln_trainc .true. |
---|
| 1027 | set_namelist namelist_cfg ln_dyninc .true. |
---|
| 1028 | set_namelist namelist_cfg ln_sshinc .true. |
---|
| 1029 | set_namelist namelist_cfg ln_asmiau .true. |
---|
[7722] | 1030 | #remove all useless options for pisces (due to ORCA2_LIM3_PISCES reference configuration) |
---|
| 1031 | set_namelist namelist_top_cfg ln_trcdta .false. |
---|
| 1032 | # put ln_ironsed, ln_river, ln_ndepo, ln_dust to false |
---|
| 1033 | # if not you need input files, and for tests is not necessary |
---|
| 1034 | set_namelist namelist_pisces_cfg ln_presatm .false. |
---|
| 1035 | set_namelist namelist_pisces_cfg ln_varpar .false. |
---|
| 1036 | set_namelist namelist_pisces_cfg ln_dust .false. |
---|
| 1037 | set_namelist namelist_pisces_cfg ln_solub .false. |
---|
| 1038 | set_namelist namelist_pisces_cfg ln_river .false. |
---|
| 1039 | set_namelist namelist_pisces_cfg ln_ndepo .false. |
---|
| 1040 | set_namelist namelist_pisces_cfg ln_ironsed .false. |
---|
| 1041 | set_namelist namelist_pisces_cfg ln_ironice .false. |
---|
| 1042 | set_namelist namelist_pisces_cfg ln_hydrofe .false. |
---|
[4990] | 1043 | if [ ${USING_MPMD} == "yes" ] ; then |
---|
| 1044 | set_xio_using_server iodef.xml true |
---|
| 1045 | else |
---|
| 1046 | set_xio_using_server iodef.xml false |
---|
| 1047 | fi |
---|
| 1048 | cd ${SETTE_DIR} |
---|
[7698] | 1049 | . ./prepare_job.sh input_ORCA2_LIM3_OBS.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${OMP_NTHR} |
---|
[4990] | 1050 | cd ${SETTE_DIR} |
---|
| 1051 | . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} |
---|
| 1052 | |
---|
| 1053 | cd ${SETTE_DIR} |
---|
[7646] | 1054 | export TEST_NAME="REPRO_8_4" |
---|
[4990] | 1055 | . ./prepare_exe_dir.sh |
---|
| 1056 | JOB_FILE=${EXE_DIR}/run_job.sh |
---|
[7646] | 1057 | NPROC=32 |
---|
[4990] | 1058 | if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi |
---|
| 1059 | cd ${EXE_DIR} |
---|
| 1060 | set_namelist namelist_cfg nn_it000 1 |
---|
| 1061 | set_namelist namelist_cfg nn_itend 75 |
---|
| 1062 | set_namelist namelist_cfg nn_fwb 0 |
---|
| 1063 | set_namelist namelist_cfg ln_ctl .false. |
---|
| 1064 | set_namelist namelist_cfg ln_clobber .true. |
---|
[7646] | 1065 | set_namelist namelist_cfg ln_read_cfg .true. |
---|
| 1066 | set_namelist namelist_cfg ln_linssh .false. |
---|
[7722] | 1067 | set_namelist namelist_cfg ln_icebergs .false. |
---|
[7646] | 1068 | set_namelist namelist_cfg jpni 8 |
---|
| 1069 | set_namelist namelist_cfg jpnj 4 |
---|
| 1070 | set_namelist namelist_cfg jpnij 32 |
---|
[6140] | 1071 | set_namelist namelist_cfg ln_diaobs .true. |
---|
[4990] | 1072 | set_namelist namelist_cfg ln_t3d .true. |
---|
| 1073 | set_namelist namelist_cfg ln_s3d .true. |
---|
| 1074 | set_namelist namelist_cfg ln_sst .true. |
---|
| 1075 | set_namelist namelist_cfg ln_sla .true. |
---|
[6140] | 1076 | set_namelist namelist_cfg ln_sic .true. |
---|
| 1077 | set_namelist namelist_cfg ln_vel3d .true. |
---|
[4990] | 1078 | set_namelist namelist_cfg ln_bkgwri .true. |
---|
| 1079 | set_namelist namelist_cfg ln_trainc .true. |
---|
| 1080 | set_namelist namelist_cfg ln_dyninc .true. |
---|
| 1081 | set_namelist namelist_cfg ln_sshinc .true. |
---|
| 1082 | set_namelist namelist_cfg ln_asmiau .true. |
---|
[7722] | 1083 | #remove all useless options for pisces (due to ORCA2_LIM3_PISCES reference configuration) |
---|
| 1084 | set_namelist namelist_top_cfg ln_trcdta .false. |
---|
| 1085 | # put ln_ironsed, ln_river, ln_ndepo, ln_dust to false |
---|
| 1086 | # if not you need input files, and for tests is not necessary |
---|
| 1087 | set_namelist namelist_pisces_cfg ln_presatm .false. |
---|
| 1088 | set_namelist namelist_pisces_cfg ln_varpar .false. |
---|
| 1089 | set_namelist namelist_pisces_cfg ln_dust .false. |
---|
| 1090 | set_namelist namelist_pisces_cfg ln_solub .false. |
---|
| 1091 | set_namelist namelist_pisces_cfg ln_river .false. |
---|
| 1092 | set_namelist namelist_pisces_cfg ln_ndepo .false. |
---|
| 1093 | set_namelist namelist_pisces_cfg ln_ironsed .false. |
---|
| 1094 | set_namelist namelist_pisces_cfg ln_ironice .false. |
---|
| 1095 | set_namelist namelist_pisces_cfg ln_hydrofe .false. |
---|
[4990] | 1096 | if [ ${USING_MPMD} == "yes" ] ; then |
---|
| 1097 | set_xio_using_server iodef.xml true |
---|
| 1098 | else |
---|
| 1099 | set_xio_using_server iodef.xml false |
---|
| 1100 | fi |
---|
| 1101 | cd ${SETTE_DIR} |
---|
[7698] | 1102 | . ./prepare_job.sh input_ORCA2_LIM3_OBS.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${OMP_NTHR} |
---|
[4990] | 1103 | cd ${SETTE_DIR} |
---|
| 1104 | . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} |
---|
| 1105 | fi |
---|
[7715] | 1106 | # TEST FOR ORCA2_LIM3_AGRIF : simple test of running AGRIF (no restartability neither reproducibility tests) |
---|
| 1107 | if [ ${config} -eq 13 ] ; then |
---|
| 1108 | ## ORCA2_LIM3 with Agulhas AGRIF zoom in MPI |
---|
[4245] | 1109 | export TEST_NAME="SHORT" |
---|
[7715] | 1110 | cd ${CONFIG_DIR0} |
---|
[7722] | 1111 | . ./makenemo -m ${CMP_NAM} -n ORCA2AGUL_1_2 -r ORCA2_LIM3_PISCES -j 8 add_key "key_agrif" del_key "key_zdftmx" |
---|
[4245] | 1112 | cd ${SETTE_DIR} |
---|
[4252] | 1113 | . ./param.cfg |
---|
| 1114 | . ./all_functions.sh |
---|
| 1115 | . ./prepare_exe_dir.sh |
---|
[4245] | 1116 | JOB_FILE=${EXE_DIR}/run_job.sh |
---|
| 1117 | NPROC=2 |
---|
| 1118 | if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi |
---|
| 1119 | cd ${EXE_DIR} |
---|
| 1120 | set_namelist namelist_cfg nn_it000 1 |
---|
| 1121 | set_namelist namelist_cfg nn_itend 75 |
---|
| 1122 | set_namelist namelist_cfg ln_ctl .false. |
---|
| 1123 | set_namelist namelist_cfg ln_clobber .true. |
---|
[7646] | 1124 | set_namelist namelist_cfg ln_read_cfg .true. |
---|
| 1125 | set_namelist namelist_cfg ln_linssh .true. |
---|
| 1126 | set_namelist namelist_cfg ln_hpg_sco .false. |
---|
| 1127 | set_namelist namelist_cfg ln_hpg_zps .true. |
---|
[4316] | 1128 | set_namelist namelist_cfg nn_fwb 0 |
---|
[4245] | 1129 | set_namelist namelist_cfg jpni 1 |
---|
| 1130 | set_namelist namelist_cfg jpnj 2 |
---|
| 1131 | set_namelist namelist_cfg jpnij 2 |
---|
| 1132 | set_namelist 1_namelist_cfg nn_it000 1 |
---|
| 1133 | set_namelist 1_namelist_cfg nn_itend 150 |
---|
| 1134 | set_namelist 1_namelist_cfg ln_ctl .false. |
---|
| 1135 | set_namelist 1_namelist_cfg ln_clobber .true. |
---|
[7646] | 1136 | set_namelist 1_namelist_cfg ln_read_cfg .true. |
---|
| 1137 | set_namelist 1_namelist_cfg ln_linssh .true. |
---|
| 1138 | set_namelist 1_namelist_cfg ln_hpg_sco .false. |
---|
| 1139 | set_namelist 1_namelist_cfg ln_hpg_zps .true. |
---|
[4245] | 1140 | if [ ${USING_MPMD} == "yes" ] ; then |
---|
| 1141 | set_xio_using_server iodef.xml true |
---|
| 1142 | else |
---|
| 1143 | set_xio_using_server iodef.xml false |
---|
| 1144 | fi |
---|
| 1145 | cd ${SETTE_DIR} |
---|
[7715] | 1146 | . ./prepare_job.sh input_ORCA2_LIM3_AGRIF.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${OMP_NTHR} |
---|
[4245] | 1147 | cd ${SETTE_DIR} |
---|
| 1148 | . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} |
---|
| 1149 | fi |
---|
| 1150 | |
---|
[5589] | 1151 | # test code corruption with AGRIF |
---|
[7715] | 1152 | # Compile and run with or without AGRIF ORCA2_LIM3 |
---|
| 1153 | if [ ${config} -eq 14 ] ; then |
---|
[7646] | 1154 | # First run same as 15 but without zoom |
---|
[5589] | 1155 | export TEST_NAME="SHORT_NOZOOM" |
---|
[7715] | 1156 | cd ${CONFIG_DIR0} |
---|
[7722] | 1157 | . ./makenemo -m ${CMP_NAM} -n ORCA2AGUL_2_2 -r ORCA2_LIM3_PISCES -j 8 add_key "key_agrif" del_key "key_zdftmx" |
---|
[5589] | 1158 | cd ${SETTE_DIR} |
---|
| 1159 | . ./param.cfg |
---|
| 1160 | . ./all_functions.sh |
---|
| 1161 | . ./prepare_exe_dir.sh |
---|
| 1162 | JOB_FILE=${EXE_DIR}/run_job.sh |
---|
| 1163 | NPROC=4 |
---|
| 1164 | if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi |
---|
| 1165 | cd ${EXE_DIR} |
---|
| 1166 | set_namelist namelist_cfg nn_it000 1 |
---|
| 1167 | set_namelist namelist_cfg nn_itend 75 |
---|
| 1168 | set_namelist namelist_cfg ln_ctl .false. |
---|
| 1169 | set_namelist namelist_cfg ln_clobber .true. |
---|
[7646] | 1170 | set_namelist namelist_cfg ln_read_cfg .true. |
---|
| 1171 | set_namelist namelist_cfg ln_linssh .true. |
---|
| 1172 | set_namelist namelist_cfg ln_hpg_sco .false. |
---|
| 1173 | set_namelist namelist_cfg ln_hpg_zps .true. |
---|
[5589] | 1174 | set_namelist namelist_cfg nn_fwb 0 |
---|
| 1175 | set_namelist namelist_cfg jpni 2 |
---|
| 1176 | set_namelist namelist_cfg jpnj 2 |
---|
| 1177 | set_namelist namelist_cfg jpnij 4 |
---|
| 1178 | # |
---|
| 1179 | # Set the number of fine grids to zero: |
---|
| 1180 | sed -i "1s/.*/0/" ${EXE_DIR}/AGRIF_FixedGrids.in |
---|
| 1181 | |
---|
| 1182 | if [ ${USING_MPMD} == "yes" ] ; then |
---|
| 1183 | set_xio_using_server iodef.xml true |
---|
| 1184 | else |
---|
| 1185 | set_xio_using_server iodef.xml false |
---|
| 1186 | fi |
---|
| 1187 | cd ${SETTE_DIR} |
---|
[7715] | 1188 | . ./prepare_job.sh input_ORCA2_LIM3_AGRIF.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${OMP_NTHR} |
---|
[5589] | 1189 | cd ${SETTE_DIR} |
---|
| 1190 | . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} |
---|
| 1191 | |
---|
| 1192 | export TEST_NAME="SHORT_NOAGRIF" |
---|
[7715] | 1193 | cd ${CONFIG_DIR0} |
---|
[7722] | 1194 | . ./makenemo -m ${CMP_NAM} -n ORCA2AGUL_2_2_NAG -r ORCA2_LIM3_PISCES -j 8 del_key "key_zdftmx" |
---|
[5589] | 1195 | cd ${SETTE_DIR} |
---|
| 1196 | . ./param.cfg |
---|
| 1197 | . ./all_functions.sh |
---|
| 1198 | . ./prepare_exe_dir.sh |
---|
| 1199 | JOB_FILE=${EXE_DIR}/run_job.sh |
---|
| 1200 | NPROC=4 |
---|
| 1201 | if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi |
---|
| 1202 | cd ${EXE_DIR} |
---|
| 1203 | set_namelist namelist_cfg nn_it000 1 |
---|
| 1204 | set_namelist namelist_cfg nn_itend 75 |
---|
| 1205 | set_namelist namelist_cfg ln_ctl .false. |
---|
| 1206 | set_namelist namelist_cfg ln_clobber .true. |
---|
[7646] | 1207 | set_namelist namelist_cfg ln_read_cfg .true. |
---|
| 1208 | set_namelist namelist_cfg ln_linssh .true. |
---|
| 1209 | set_namelist namelist_cfg ln_hpg_sco .false. |
---|
| 1210 | set_namelist namelist_cfg ln_hpg_zps .true. |
---|
[5589] | 1211 | set_namelist namelist_cfg nn_fwb 0 |
---|
| 1212 | set_namelist namelist_cfg jpni 2 |
---|
| 1213 | set_namelist namelist_cfg jpnj 2 |
---|
| 1214 | set_namelist namelist_cfg jpnij 4 |
---|
| 1215 | # |
---|
| 1216 | if [ ${USING_MPMD} == "yes" ] ; then |
---|
| 1217 | set_xio_using_server iodef.xml true |
---|
| 1218 | else |
---|
| 1219 | set_xio_using_server iodef.xml false |
---|
| 1220 | fi |
---|
| 1221 | cd ${SETTE_DIR} |
---|
[7715] | 1222 | . ./prepare_job.sh input_ORCA2_LIM3_AGRIF.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${OMP_NTHR} |
---|
[5589] | 1223 | cd ${SETTE_DIR} |
---|
| 1224 | . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} |
---|
| 1225 | |
---|
| 1226 | fi |
---|
| 1227 | |
---|
[7715] | 1228 | ## Restartability tests for ORCA2_LIM3_AGRIF |
---|
| 1229 | if [ ${config} -eq 15 ] ; then |
---|
[5589] | 1230 | export TEST_NAME="LONG" |
---|
[7715] | 1231 | cd ${CONFIG_DIR0} |
---|
[7722] | 1232 | . ./makenemo -m ${CMP_NAM} -n ORCA2AGUL_LONG -r ORCA2_LIM3_PISCES -j 8 add_key "key_agrif" del_key "key_zdftmx" |
---|
[5589] | 1233 | cd ${SETTE_DIR} |
---|
| 1234 | . ./param.cfg |
---|
| 1235 | . ./all_functions.sh |
---|
| 1236 | . ./prepare_exe_dir.sh |
---|
| 1237 | JOB_FILE=${EXE_DIR}/run_job.sh |
---|
| 1238 | NPROC=4 |
---|
| 1239 | if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi |
---|
| 1240 | cd ${EXE_DIR} |
---|
| 1241 | set_namelist namelist_cfg cn_exp \"O2LP_LONG\" |
---|
| 1242 | set_namelist namelist_cfg nn_it000 1 |
---|
| 1243 | set_namelist namelist_cfg nn_itend 150 |
---|
| 1244 | set_namelist namelist_cfg nn_stock 75 |
---|
| 1245 | set_namelist namelist_cfg ln_clobber .true. |
---|
[7646] | 1246 | set_namelist namelist_cfg ln_read_cfg .true. |
---|
| 1247 | set_namelist namelist_cfg ln_linssh .true. |
---|
| 1248 | set_namelist namelist_cfg ln_hpg_sco .false. |
---|
| 1249 | set_namelist namelist_cfg ln_hpg_zps .true. |
---|
[5589] | 1250 | set_namelist namelist_cfg nn_fwb 0 |
---|
| 1251 | set_namelist namelist_cfg jpni 2 |
---|
| 1252 | set_namelist namelist_cfg jpnj 2 |
---|
| 1253 | set_namelist namelist_cfg jpnij 4 |
---|
| 1254 | set_namelist 1_namelist_cfg cn_exp \"O2LP_LONG\" |
---|
| 1255 | set_namelist 1_namelist_cfg nn_it000 1 |
---|
| 1256 | set_namelist 1_namelist_cfg nn_itend 300 |
---|
| 1257 | set_namelist 1_namelist_cfg nn_stock 150 |
---|
| 1258 | set_namelist 1_namelist_cfg ln_ctl .false. |
---|
| 1259 | set_namelist 1_namelist_cfg ln_clobber .true. |
---|
[7646] | 1260 | set_namelist 1_namelist_cfg ln_read_cfg .true. |
---|
| 1261 | set_namelist 1_namelist_cfg ln_linssh .true. |
---|
| 1262 | set_namelist 1_namelist_cfg ln_hpg_sco .false. |
---|
| 1263 | set_namelist 1_namelist_cfg ln_hpg_zps .true. |
---|
[5589] | 1264 | # |
---|
| 1265 | if [ ${USING_MPMD} == "yes" ] ; then |
---|
| 1266 | set_xio_using_server iodef.xml true |
---|
| 1267 | else |
---|
| 1268 | set_xio_using_server iodef.xml false |
---|
| 1269 | fi |
---|
| 1270 | cd ${SETTE_DIR} |
---|
[7715] | 1271 | . ./prepare_job.sh input_ORCA2_LIM3_AGRIF.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${OMP_NTHR} |
---|
[5589] | 1272 | |
---|
| 1273 | cd ${SETTE_DIR} |
---|
| 1274 | export TEST_NAME="SHORT" |
---|
| 1275 | . ./prepare_exe_dir.sh |
---|
| 1276 | cd ${EXE_DIR} |
---|
| 1277 | set_namelist namelist_cfg cn_exp \"O2LP_SHORT\" |
---|
| 1278 | set_namelist namelist_cfg nn_it000 76 |
---|
| 1279 | set_namelist namelist_cfg nn_itend 150 |
---|
| 1280 | set_namelist namelist_cfg nn_stock 75 |
---|
| 1281 | set_namelist namelist_cfg ln_rstart .true. |
---|
| 1282 | set_namelist namelist_cfg nn_rstctl 2 |
---|
| 1283 | set_namelist namelist_cfg ln_clobber .true. |
---|
[7646] | 1284 | set_namelist namelist_cfg ln_read_cfg .true. |
---|
| 1285 | set_namelist namelist_cfg ln_linssh .true. |
---|
| 1286 | set_namelist namelist_cfg ln_hpg_sco .false. |
---|
| 1287 | set_namelist namelist_cfg ln_hpg_zps .true. |
---|
[5589] | 1288 | set_namelist namelist_cfg nn_fwb 0 |
---|
| 1289 | set_namelist namelist_cfg jpni 2 |
---|
| 1290 | set_namelist namelist_cfg jpnj 2 |
---|
| 1291 | set_namelist namelist_cfg jpnij 4 |
---|
| 1292 | set_namelist 1_namelist_cfg cn_exp \"O2LP_SHORT\" |
---|
| 1293 | set_namelist 1_namelist_cfg nn_it000 151 |
---|
| 1294 | set_namelist 1_namelist_cfg nn_itend 300 |
---|
| 1295 | set_namelist 1_namelist_cfg nn_stock 150 |
---|
| 1296 | set_namelist 1_namelist_cfg ln_rstart .true. |
---|
| 1297 | set_namelist 1_namelist_cfg nn_rstctl 2 |
---|
| 1298 | set_namelist 1_namelist_cfg ln_clobber .true. |
---|
[7646] | 1299 | set_namelist 1_namelist_cfg ln_read_cfg .true. |
---|
| 1300 | set_namelist 1_namelist_cfg ln_linssh .true. |
---|
| 1301 | set_namelist 1_namelist_cfg ln_hpg_sco .false. |
---|
| 1302 | set_namelist 1_namelist_cfg ln_hpg_zps .true. |
---|
[5589] | 1303 | set_namelist namelist_cfg cn_ocerst_in \"O2LP_LONG_00000075_restart\" |
---|
| 1304 | set_namelist namelist_ice_cfg cn_icerst_in \"O2LP_LONG_00000075_restart_ice\" |
---|
| 1305 | set_namelist 1_namelist_cfg cn_ocerst_in \"O2LP_LONG_00000150_restart\" |
---|
| 1306 | |
---|
| 1307 | for (( i=1; i<=$NPROC; i++)) ; do |
---|
| 1308 | L_NPROC=$(( $i - 1 )) |
---|
| 1309 | L_NPROC=`printf "%04d\n" ${L_NPROC}` |
---|
| 1310 | ln -sf ../LONG/O2LP_LONG_00000075_restart_${L_NPROC}.nc . |
---|
| 1311 | ln -sf ../LONG/O2LP_LONG_00000075_restart_ice_${L_NPROC}.nc . |
---|
| 1312 | ln -sf ../LONG/1_O2LP_LONG_00000150_restart_${L_NPROC}.nc . |
---|
| 1313 | done |
---|
| 1314 | if [ ${USING_MPMD} == "yes" ] ; then |
---|
| 1315 | set_xio_using_server iodef.xml true |
---|
| 1316 | else |
---|
| 1317 | set_xio_using_server iodef.xml false |
---|
| 1318 | fi |
---|
| 1319 | cd ${SETTE_DIR} |
---|
[7715] | 1320 | . ./prepare_job.sh input_ORCA2_LIM3_AGRIF.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${OMP_NTHR} |
---|
[5589] | 1321 | cd ${SETTE_DIR} |
---|
| 1322 | . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} |
---|
| 1323 | fi |
---|
| 1324 | |
---|
[7715] | 1325 | ## Reproducibility tests for ORCA2_LIM3_AGRIF |
---|
| 1326 | if [ ${config} -eq 16 ] ; then |
---|
[5589] | 1327 | export TEST_NAME="REPRO_4_4" |
---|
[7715] | 1328 | cd ${CONFIG_DIR0} |
---|
[7722] | 1329 | . ./makenemo -m ${CMP_NAM} -n ORCA2AGUL_16 -r ORCA2_LIM3_PISCES -j 8 add_key "key_agrif" del_key "key_zdftmx" |
---|
[5589] | 1330 | cd ${SETTE_DIR} |
---|
| 1331 | . ./param.cfg |
---|
| 1332 | . ./all_functions.sh |
---|
| 1333 | . ./prepare_exe_dir.sh |
---|
| 1334 | JOB_FILE=${EXE_DIR}/run_job.sh |
---|
| 1335 | NPROC=16 |
---|
| 1336 | if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi |
---|
| 1337 | cd ${EXE_DIR} |
---|
| 1338 | set_namelist namelist_cfg nn_it000 1 |
---|
| 1339 | set_namelist namelist_cfg nn_itend 75 |
---|
| 1340 | set_namelist namelist_cfg ln_ctl .false. |
---|
| 1341 | set_namelist namelist_cfg ln_clobber .true. |
---|
[7646] | 1342 | set_namelist namelist_cfg ln_read_cfg .true. |
---|
| 1343 | set_namelist namelist_cfg ln_linssh .true. |
---|
| 1344 | set_namelist namelist_cfg ln_hpg_sco .false. |
---|
| 1345 | set_namelist namelist_cfg ln_hpg_zps .true. |
---|
[5589] | 1346 | set_namelist namelist_cfg nn_fwb 0 |
---|
| 1347 | set_namelist namelist_cfg jpni 4 |
---|
| 1348 | set_namelist namelist_cfg jpnj 4 |
---|
| 1349 | set_namelist namelist_cfg jpnij 16 |
---|
| 1350 | set_namelist 1_namelist_cfg nn_it000 1 |
---|
| 1351 | set_namelist 1_namelist_cfg nn_itend 150 |
---|
| 1352 | set_namelist 1_namelist_cfg ln_ctl .false. |
---|
| 1353 | set_namelist 1_namelist_cfg ln_clobber .true. |
---|
[7646] | 1354 | set_namelist 1_namelist_cfg ln_read_cfg .true. |
---|
| 1355 | set_namelist 1_namelist_cfg ln_linssh .true. |
---|
| 1356 | set_namelist 1_namelist_cfg ln_hpg_sco .false. |
---|
| 1357 | set_namelist 1_namelist_cfg ln_hpg_zps .true. |
---|
[5589] | 1358 | |
---|
| 1359 | if [ ${USING_MPMD} == "yes" ] ; then |
---|
| 1360 | set_xio_using_server iodef.xml true |
---|
| 1361 | else |
---|
| 1362 | set_xio_using_server iodef.xml false |
---|
| 1363 | fi |
---|
| 1364 | cd ${SETTE_DIR} |
---|
[7715] | 1365 | . ./prepare_job.sh input_ORCA2_LIM3_AGRIF.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${OMP_NTHR} |
---|
[5589] | 1366 | cd ${SETTE_DIR} |
---|
| 1367 | . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} |
---|
| 1368 | |
---|
| 1369 | cd ${SETTE_DIR} |
---|
| 1370 | export TEST_NAME="REPRO_2_8" |
---|
| 1371 | . ./prepare_exe_dir.sh |
---|
| 1372 | JOB_FILE=${EXE_DIR}/run_job.sh |
---|
| 1373 | NPROC=16 |
---|
| 1374 | if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi |
---|
| 1375 | cd ${EXE_DIR} |
---|
| 1376 | set_namelist namelist_cfg nn_it000 1 |
---|
| 1377 | set_namelist namelist_cfg nn_itend 75 |
---|
| 1378 | set_namelist namelist_cfg ln_ctl .false. |
---|
| 1379 | set_namelist namelist_cfg ln_clobber .true. |
---|
[7646] | 1380 | set_namelist namelist_cfg ln_read_cfg .true. |
---|
| 1381 | set_namelist namelist_cfg ln_linssh .true. |
---|
| 1382 | set_namelist namelist_cfg ln_hpg_sco .false. |
---|
| 1383 | set_namelist namelist_cfg ln_hpg_zps .true. |
---|
[5589] | 1384 | set_namelist namelist_cfg nn_fwb 0 |
---|
| 1385 | set_namelist namelist_cfg jpni 2 |
---|
| 1386 | set_namelist namelist_cfg jpnj 8 |
---|
| 1387 | set_namelist namelist_cfg jpnij 16 |
---|
| 1388 | set_namelist 1_namelist_cfg nn_it000 1 |
---|
| 1389 | set_namelist 1_namelist_cfg nn_itend 150 |
---|
| 1390 | set_namelist 1_namelist_cfg ln_ctl .false. |
---|
| 1391 | set_namelist 1_namelist_cfg ln_clobber .true. |
---|
[7646] | 1392 | set_namelist 1_namelist_cfg ln_read_cfg .true. |
---|
| 1393 | set_namelist 1_namelist_cfg ln_linssh .true. |
---|
| 1394 | set_namelist 1_namelist_cfg ln_hpg_sco .false. |
---|
| 1395 | set_namelist 1_namelist_cfg ln_hpg_zps .true. |
---|
[5589] | 1396 | |
---|
| 1397 | if [ ${USING_MPMD} == "yes" ] ; then |
---|
| 1398 | set_xio_using_server iodef.xml true |
---|
| 1399 | else |
---|
| 1400 | set_xio_using_server iodef.xml false |
---|
| 1401 | fi |
---|
| 1402 | cd ${SETTE_DIR} |
---|
[7715] | 1403 | . ./prepare_job.sh input_ORCA2_LIM3_AGRIF.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${OMP_NTHR} |
---|
[5589] | 1404 | cd ${SETTE_DIR} |
---|
| 1405 | . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} |
---|
| 1406 | fi |
---|
| 1407 | |
---|
[3520] | 1408 | done |
---|