[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 | ############################################################# |
---|
[7744] | 14 | #set -vx |
---|
[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 |
---|
| 38 | # NUM_XIOSERVERS : number of stand-alone IO servers to employ |
---|
| 39 | # set to zero if USING_MPMD="no" |
---|
[3520] | 40 | # |
---|
| 41 | # Principal script is sette.sh, that calls |
---|
| 42 | # |
---|
[4245] | 43 | # makenemo : to create successive exectuables in ${CONFIG_NAME}/BLD/bin/nemo.exe |
---|
[9576] | 44 | # and links to nemo in ${CONFIG_NAME}/EXP00) |
---|
[3520] | 45 | # |
---|
| 46 | # param.cfg : sets and loads following directories: |
---|
| 47 | # |
---|
[4245] | 48 | # FORCING_DIR : is the directory for forcing files (tarfile) |
---|
| 49 | # INPUT_DIR : is the directory for input files storing |
---|
| 50 | # TMPDIR : is the temporary directory (if needed) |
---|
[3520] | 51 | # NEMO_VALIDATION_DIR : is the validation directory |
---|
| 52 | # |
---|
| 53 | # (NOTE: this file is the same for all configrations to be tested with sette) |
---|
| 54 | # |
---|
[4245] | 55 | # all_functions.sh : loads functions used by sette (note: new functions can be added here) |
---|
| 56 | # set_namelist : function declared in all_functions that sets namelist parameters |
---|
| 57 | # post_test_tidyup : creates validation storage directory and copies required output files |
---|
[9019] | 58 | # (run.stat and ocean.output) in it after execution of test. |
---|
[3520] | 59 | # |
---|
[4245] | 60 | # VALIDATION tree is: |
---|
[3520] | 61 | # |
---|
| 62 | # NEMO_VALIDATION_DIR/WCONFIG_NAME/WCOMPILER_NAME/TEST_NAME/REVISION_NUMBER(or DATE) |
---|
| 63 | # |
---|
| 64 | # prepare_exe_dir.sh : defines and creates directory where the test is executed |
---|
[4245] | 65 | # execution directory takes name of TEST_NAME defined for every test |
---|
| 66 | # in sette.sh. (each test in executed in its own directory) |
---|
[3520] | 67 | # |
---|
[10755] | 68 | # set_valid_dir : rename ocean.output/run.stat and tracer.stat to avoid checking them in the report |
---|
| 69 | # |
---|
[10698] | 70 | # clean_valid_dir : rename ocean.output/run.stat and tracer.stat to avoid checking them in the report |
---|
| 71 | # ( not doing it could lead to false positive ) |
---|
| 72 | # |
---|
[4245] | 73 | # prepare_job.sh : to generate the script run_job.sh |
---|
[3520] | 74 | # |
---|
[4245] | 75 | # fcm_job.sh : run in batch (INTERACT_FLAG="no") or interactive (INTERACT_FLAG="yes") |
---|
| 76 | # see sette.sh and BATCH_TEMPLATE directory |
---|
[3520] | 77 | # |
---|
[4245] | 78 | # NOTE: jobs requiring initial or forcing data need to have an input_CONFIG.cfg in which |
---|
| 79 | # can be found paths to the input tar file) |
---|
| 80 | # NOTE: if job is not launched for any reason you have the executable ready in ${EXE_DIR} |
---|
| 81 | # directory |
---|
| 82 | # NOTE: the changed namelists are left in ${EXE_DIR} directory whereas original namelists |
---|
| 83 | # remain in ${NEW_CONF}/EXP00 |
---|
[3520] | 84 | # |
---|
[4245] | 85 | # NOTE: a log file, output.sette, is created in ${SETTE_DIR} with the echoes of |
---|
| 86 | # executed commands |
---|
[3520] | 87 | # |
---|
[4245] | 88 | # NOTE: if sette.sh is stopped in output.sette there is written the last command |
---|
| 89 | # executed by sette.sh |
---|
[3520] | 90 | # |
---|
[4245] | 91 | # example use: ./sette.sh |
---|
| 92 | ######################################################################################### |
---|
[3520] | 93 | # |
---|
[10687] | 94 | # LOAD param value |
---|
[10717] | 95 | SETTE_DIR=$(cd $(dirname "$0"); pwd) |
---|
| 96 | MAIN_DIR=$(dirname $SETTE_DIR) |
---|
[10687] | 97 | . ./param.cfg |
---|
[7743] | 98 | |
---|
[10687] | 99 | export BATCH_COMMAND_PAR=${BATCH_CMD} |
---|
| 100 | export BATCH_COMMAND_SEQ=${BATCH_CMD} |
---|
[4990] | 101 | export INTERACT_FLAG="no" |
---|
[4245] | 102 | export MPIRUN_FLAG="yes" |
---|
[9941] | 103 | export USING_ICEBERGS="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 | # |
---|
[10687] | 111 | export ADD_KEYS="" |
---|
| 112 | if [ ${ADD_NOSIGNEDZERO} == "yes" ] |
---|
| 113 | then |
---|
| 114 | export ADD_KEYS="key_nosignedzero" |
---|
| 115 | fi |
---|
| 116 | # |
---|
[4245] | 117 | # Settings which control the use of stand alone servers (only relevant if using xios) |
---|
[3520] | 118 | # |
---|
[10632] | 119 | export NUM_XIOSERVERS=4 |
---|
[11140] | 120 | export JOB_PREFIX=${JOB_PREFIX_MPMD} |
---|
[3520] | 121 | # |
---|
[4245] | 122 | if [ ${USING_MPMD} == "no" ] |
---|
| 123 | then |
---|
| 124 | export NUM_XIOSERVERS=0 |
---|
[11140] | 125 | export JOB_PREFIX=${JOB_PREFIX_NOMPMD} |
---|
[4245] | 126 | fi |
---|
[3520] | 127 | # |
---|
| 128 | # |
---|
[10573] | 129 | if [ ${USING_MPMD} == "yes" ] && [ ${USING_XIOS} == "no" ] |
---|
[4245] | 130 | then |
---|
| 131 | echo "Incompatible choices. MPMD mode requires the XIOS server" |
---|
| 132 | exit |
---|
| 133 | fi |
---|
[3520] | 134 | |
---|
| 135 | # Directory to run the tests |
---|
[9602] | 136 | CONFIG_DIR0=${MAIN_DIR}/cfgs |
---|
| 137 | TOOLS_DIR=${MAIN_DIR}/tools |
---|
[3520] | 138 | |
---|
| 139 | CMP_NAM=${1:-$COMPILER} |
---|
| 140 | # Copy job_batch_COMPILER file for specific compiler into job_batch_template |
---|
| 141 | cd ${SETTE_DIR} |
---|
[4245] | 142 | cp BATCH_TEMPLATE/${JOB_PREFIX}-${COMPILER} job_batch_template || exit |
---|
[10747] | 143 | # Description of available configurations: |
---|
| 144 | # GYRE_PISCES : |
---|
| 145 | # ORCA2_ICE_PISCES : |
---|
| 146 | # ORCA2_OFF_PISCES : |
---|
| 147 | # AMM12 : |
---|
| 148 | # SAS : |
---|
| 149 | # ORCA2_ICE_OBS : |
---|
| 150 | # AGRIF : test AGRIF in a double zoom configuration in the nordic seas + 1 zoom in the eq. Pacific (AGRIF_DEMO) |
---|
| 151 | # and check that key_agrif without zoom = no key_agrif |
---|
| 152 | # SPITZ12 : regional configuration including sea-ice and tides (Spitzbergen) |
---|
[4147] | 153 | |
---|
[10747] | 154 | for config in ${TEST_CONFIGS} |
---|
[3520] | 155 | do |
---|
| 156 | |
---|
[9518] | 157 | # ----------- |
---|
| 158 | # GYRE_PISCES |
---|
| 159 | # ----------- |
---|
[10747] | 160 | if [ ${config} == "GYRE_PISCES" ] ; then |
---|
[9518] | 161 | ## Restartability tests for GYRE_PISCES |
---|
[3520] | 162 | export TEST_NAME="LONG" |
---|
[9658] | 163 | cd ${MAIN_DIR} |
---|
[12289] | 164 | # |
---|
| 165 | # syncronisation if target directory/file exist (not done by makenemo) |
---|
| 166 | . ${SETTE_DIR}/all_functions.sh |
---|
[12422] | 167 | sync_config GYRE_PISCES GYRE_PISCES_ST 'cfgs' |
---|
| 168 | clean_config GYRE_PISCES GYRE_PISCES_ST 'cfgs' |
---|
[12289] | 169 | # |
---|
[11497] | 170 | . ./makenemo -m ${CMP_NAM} -n GYRE_PISCES_ST -r GYRE_PISCES -j 8 add_key "${ADD_KEYS}" del_key "${DEL_KEYS}" |
---|
[3520] | 171 | cd ${SETTE_DIR} |
---|
[4252] | 172 | . ./param.cfg |
---|
| 173 | . ./all_functions.sh |
---|
| 174 | . ./prepare_exe_dir.sh |
---|
[10755] | 175 | set_valid_dir |
---|
[10698] | 176 | clean_valid_dir |
---|
[3520] | 177 | JOB_FILE=${EXE_DIR}/run_job.sh |
---|
[9525] | 178 | NPROC=8 |
---|
[4245] | 179 | if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi |
---|
[4147] | 180 | cd ${EXE_DIR} |
---|
[7715] | 181 | set_namelist namelist_cfg cn_exp \"GYREPIS_LONG\" |
---|
[4147] | 182 | set_namelist namelist_cfg nn_it000 1 |
---|
[9560] | 183 | set_namelist namelist_cfg nn_itend 1080 |
---|
| 184 | set_namelist namelist_cfg nn_stock 540 |
---|
[7646] | 185 | set_namelist namelist_cfg ln_linssh .true. |
---|
[9525] | 186 | set_namelist namelist_cfg jpni 2 |
---|
| 187 | set_namelist namelist_cfg jpnj 4 |
---|
[10573] | 188 | set_namelist namelist_cfg ln_ctl .false. |
---|
| 189 | set_namelist namelist_cfg sn_cfctl%l_config .true. |
---|
| 190 | set_namelist namelist_cfg sn_cfctl%l_runstat .true. |
---|
| 191 | set_namelist namelist_cfg sn_cfctl%l_trcstat .true. |
---|
[4245] | 192 | if [ ${USING_MPMD} == "yes" ] ; then |
---|
| 193 | set_xio_using_server iodef.xml true |
---|
| 194 | else |
---|
| 195 | set_xio_using_server iodef.xml false |
---|
| 196 | fi |
---|
| 197 | cd ${SETTE_DIR} |
---|
[10755] | 198 | . ./prepare_job.sh input_GYRE.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${NEMO_VALID} |
---|
[3520] | 199 | |
---|
| 200 | cd ${SETTE_DIR} |
---|
| 201 | export TEST_NAME="SHORT" |
---|
[4252] | 202 | . ./prepare_exe_dir.sh |
---|
[10755] | 203 | set_valid_dir |
---|
[10698] | 204 | clean_valid_dir |
---|
[3520] | 205 | cd ${EXE_DIR} |
---|
[7715] | 206 | set_namelist namelist_cfg cn_exp \"GYREPIS_SHORT\" |
---|
[9560] | 207 | set_namelist namelist_cfg nn_it000 541 |
---|
| 208 | set_namelist namelist_cfg nn_itend 1080 |
---|
| 209 | set_namelist namelist_cfg nn_stock 540 |
---|
[4147] | 210 | set_namelist namelist_cfg ln_rstart .true. |
---|
| 211 | set_namelist namelist_cfg nn_rstctl 2 |
---|
[7646] | 212 | set_namelist namelist_cfg ln_linssh .true. |
---|
[9525] | 213 | set_namelist namelist_cfg jpni 2 |
---|
| 214 | set_namelist namelist_cfg jpnj 4 |
---|
[10573] | 215 | set_namelist namelist_cfg ln_ctl .false. |
---|
| 216 | set_namelist namelist_cfg sn_cfctl%l_config .true. |
---|
| 217 | set_namelist namelist_cfg sn_cfctl%l_runstat .true. |
---|
| 218 | set_namelist namelist_cfg sn_cfctl%l_trcstat .true. |
---|
[7744] | 219 | set_namelist namelist_top_cfg ln_rsttr .true. |
---|
| 220 | set_namelist namelist_top_cfg nn_rsttr 2 |
---|
[9560] | 221 | set_namelist namelist_cfg cn_ocerst_in \"GYREPIS_LONG_00000540_restart\" |
---|
| 222 | set_namelist namelist_top_cfg cn_trcrst_in \"GYREPIS_LONG_00000540_restart_trc\" |
---|
[4245] | 223 | if [ ${USING_MPMD} == "yes" ] ; then |
---|
| 224 | set_xio_using_server iodef.xml true |
---|
| 225 | else |
---|
| 226 | set_xio_using_server iodef.xml false |
---|
| 227 | fi |
---|
[3537] | 228 | for (( i=1; i<=$NPROC; i++)) ; do |
---|
| 229 | L_NPROC=$(( $i - 1 )) |
---|
| 230 | L_NPROC=`printf "%04d\n" ${L_NPROC}` |
---|
[9560] | 231 | ln -sf ../LONG/GYREPIS_LONG_00000540_restart_${L_NPROC}.nc . |
---|
| 232 | ln -sf ../LONG/GYREPIS_LONG_00000540_restart_trc_${L_NPROC}.nc . |
---|
[3537] | 233 | done |
---|
[3520] | 234 | cd ${SETTE_DIR} |
---|
[10755] | 235 | . ./prepare_job.sh input_GYRE.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${NEMO_VALID} |
---|
[3520] | 236 | cd ${SETTE_DIR} |
---|
[3532] | 237 | . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} |
---|
[3520] | 238 | |
---|
[9518] | 239 | ## Reproducibility tests for GYRE_PISCES |
---|
[9525] | 240 | export TEST_NAME="REPRO_2_4" |
---|
[9658] | 241 | cd ${MAIN_DIR} |
---|
[3520] | 242 | cd ${SETTE_DIR} |
---|
[4252] | 243 | . ./param.cfg |
---|
| 244 | . ./all_functions.sh |
---|
| 245 | . ./prepare_exe_dir.sh |
---|
[10755] | 246 | set_valid_dir |
---|
[10698] | 247 | clean_valid_dir |
---|
[3520] | 248 | JOB_FILE=${EXE_DIR}/run_job.sh |
---|
[9525] | 249 | NPROC=8 |
---|
[4245] | 250 | if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi |
---|
[3520] | 251 | cd ${EXE_DIR} |
---|
[7715] | 252 | set_namelist namelist_cfg cn_exp \"GYREPIS_48\" |
---|
[4147] | 253 | set_namelist namelist_cfg nn_it000 1 |
---|
[9560] | 254 | set_namelist namelist_cfg nn_itend 1080 |
---|
[7646] | 255 | set_namelist namelist_cfg ln_linssh .true. |
---|
[9525] | 256 | set_namelist namelist_cfg jpni 2 |
---|
| 257 | set_namelist namelist_cfg jpnj 4 |
---|
[10573] | 258 | set_namelist namelist_cfg ln_ctl .false. |
---|
| 259 | set_namelist namelist_cfg sn_cfctl%l_config .true. |
---|
| 260 | set_namelist namelist_cfg sn_cfctl%l_runstat .true. |
---|
| 261 | set_namelist namelist_cfg sn_cfctl%l_trcstat .true. |
---|
[4245] | 262 | if [ ${USING_MPMD} == "yes" ] ; then |
---|
| 263 | set_xio_using_server iodef.xml true |
---|
| 264 | else |
---|
| 265 | set_xio_using_server iodef.xml false |
---|
| 266 | fi |
---|
[3520] | 267 | cd ${SETTE_DIR} |
---|
[10755] | 268 | . ./prepare_job.sh input_GYRE.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${NEMO_VALID} |
---|
[3520] | 269 | cd ${SETTE_DIR} |
---|
| 270 | . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} |
---|
| 271 | |
---|
| 272 | cd ${SETTE_DIR} |
---|
[9525] | 273 | export TEST_NAME="REPRO_4_2" |
---|
[4252] | 274 | . ./prepare_exe_dir.sh |
---|
[10755] | 275 | set_valid_dir |
---|
[10698] | 276 | clean_valid_dir |
---|
[3680] | 277 | JOB_FILE=${EXE_DIR}/run_job.sh |
---|
[9525] | 278 | NPROC=8 |
---|
[4245] | 279 | if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi |
---|
[3520] | 280 | cd ${EXE_DIR} |
---|
[7715] | 281 | set_namelist namelist_cfg cn_exp \"GYREPIS_84\" |
---|
[4147] | 282 | set_namelist namelist_cfg nn_it000 1 |
---|
[9560] | 283 | set_namelist namelist_cfg nn_itend 1080 |
---|
[7646] | 284 | set_namelist namelist_cfg ln_linssh .true. |
---|
[9525] | 285 | set_namelist namelist_cfg jpni 4 |
---|
| 286 | set_namelist namelist_cfg jpnj 2 |
---|
[10573] | 287 | set_namelist namelist_cfg ln_ctl .false. |
---|
| 288 | set_namelist namelist_cfg sn_cfctl%l_config .true. |
---|
| 289 | set_namelist namelist_cfg sn_cfctl%l_runstat .true. |
---|
| 290 | set_namelist namelist_cfg sn_cfctl%l_trcstat .true. |
---|
[4245] | 291 | if [ ${USING_MPMD} == "yes" ] ; then |
---|
| 292 | set_xio_using_server iodef.xml true |
---|
| 293 | else |
---|
| 294 | set_xio_using_server iodef.xml false |
---|
| 295 | fi |
---|
[3520] | 296 | cd ${SETTE_DIR} |
---|
[10755] | 297 | . ./prepare_job.sh input_GYRE.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${NEMO_VALID} |
---|
[3520] | 298 | cd ${SETTE_DIR} |
---|
| 299 | . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} |
---|
[3532] | 300 | |
---|
[3520] | 301 | fi |
---|
| 302 | |
---|
[9518] | 303 | # ----------------- |
---|
[9663] | 304 | # ORCA2_ICE_PISCES |
---|
[9518] | 305 | # ----------------- |
---|
[10747] | 306 | if [ ${config} == "ORCA2_ICE_PISCES" ] ; then |
---|
[9663] | 307 | ## Restartability tests for ORCA2_ICE_PISCES |
---|
[7646] | 308 | export TEST_NAME="LONG" |
---|
[9658] | 309 | cd ${MAIN_DIR} |
---|
[12289] | 310 | # |
---|
| 311 | # syncronisation if target directory/file exist (not done by makenemo) |
---|
| 312 | . ${SETTE_DIR}/all_functions.sh |
---|
[12422] | 313 | sync_config ORCA2_ICE_PISCES ORCA2_ICE_PISCES_ST 'cfgs' |
---|
| 314 | clean_config ORCA2_ICE_PISCES ORCA2_ICE_PISCES_ST 'cfgs' |
---|
[12289] | 315 | # |
---|
[11497] | 316 | . ./makenemo -m ${CMP_NAM} -n ORCA2_ICE_PISCES_ST -r ORCA2_ICE_PISCES -j 8 add_key "${ADD_KEYS}" del_key "${DEL_KEYS}" |
---|
[7646] | 317 | cd ${SETTE_DIR} |
---|
| 318 | . ./param.cfg |
---|
| 319 | . ./all_functions.sh |
---|
| 320 | . ./prepare_exe_dir.sh |
---|
[10755] | 321 | set_valid_dir |
---|
[10698] | 322 | clean_valid_dir |
---|
[7646] | 323 | JOB_FILE=${EXE_DIR}/run_job.sh |
---|
| 324 | NPROC=32 |
---|
| 325 | if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi |
---|
| 326 | cd ${EXE_DIR} |
---|
| 327 | set_namelist namelist_cfg cn_exp \"O2L3P_LONG\" |
---|
| 328 | set_namelist namelist_cfg nn_it000 1 |
---|
[10750] | 329 | set_namelist namelist_cfg nn_itend 992 |
---|
| 330 | set_namelist namelist_cfg nn_stock 496 |
---|
[7646] | 331 | set_namelist namelist_cfg jpni 4 |
---|
| 332 | set_namelist namelist_cfg jpnj 8 |
---|
[10573] | 333 | set_namelist namelist_cfg ln_ctl .false. |
---|
| 334 | set_namelist namelist_cfg sn_cfctl%l_config .true. |
---|
| 335 | set_namelist namelist_cfg sn_cfctl%l_runstat .true. |
---|
| 336 | set_namelist namelist_cfg sn_cfctl%l_trcstat .true. |
---|
[9933] | 337 | set_namelist namelist_cfg ln_use_calving .true. |
---|
[10189] | 338 | set_namelist namelist_cfg ln_wave .true. |
---|
| 339 | set_namelist namelist_cfg ln_cdgw .true. |
---|
| 340 | set_namelist namelist_cfg ln_sdw .true. |
---|
| 341 | set_namelist namelist_cfg nn_sdrift 1 |
---|
| 342 | set_namelist namelist_cfg ln_stcor .true. |
---|
| 343 | set_namelist namelist_cfg ln_tauwoc .true. |
---|
[9904] | 344 | # |
---|
| 345 | if [ ${USING_ICEBERGS} == "no" ] ; then set_namelist namelist_cfg ln_icebergs .false. ; fi |
---|
[10687] | 346 | # for debugging purposes set_namelist namelist_cfg rn_test_box -180.0, 180.0, -90.0, -55.0 |
---|
[9904] | 347 | # |
---|
[9019] | 348 | set_namelist namelist_ice_cfg ln_icediachk .true. |
---|
[4147] | 349 | set_namelist namelist_top_cfg ln_trcdta .false. |
---|
[3520] | 350 | # put ln_ironsed, ln_river, ln_ndepo, ln_dust to false |
---|
| 351 | # if not you need input files, and for tests is not necessary |
---|
[4147] | 352 | set_namelist namelist_pisces_cfg ln_presatm .false. |
---|
| 353 | set_namelist namelist_pisces_cfg ln_varpar .false. |
---|
| 354 | set_namelist namelist_pisces_cfg ln_dust .false. |
---|
| 355 | set_namelist namelist_pisces_cfg ln_solub .false. |
---|
| 356 | set_namelist namelist_pisces_cfg ln_river .false. |
---|
| 357 | set_namelist namelist_pisces_cfg ln_ndepo .false. |
---|
| 358 | set_namelist namelist_pisces_cfg ln_ironsed .false. |
---|
[7646] | 359 | set_namelist namelist_pisces_cfg ln_ironice .false. |
---|
[4147] | 360 | set_namelist namelist_pisces_cfg ln_hydrofe .false. |
---|
[9203] | 361 | # put ln_pisdmp to false : no restoring to global mean value |
---|
| 362 | set_namelist namelist_pisces_cfg ln_pisdmp .false. |
---|
[4245] | 363 | if [ ${USING_MPMD} == "yes" ] ; then |
---|
| 364 | set_xio_using_server iodef.xml true |
---|
| 365 | else |
---|
| 366 | set_xio_using_server iodef.xml false |
---|
| 367 | fi |
---|
[3520] | 368 | cd ${SETTE_DIR} |
---|
[10755] | 369 | . ./prepare_job.sh input_ORCA2_ICE_PISCES.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${NEMO_VALID} |
---|
[3532] | 370 | |
---|
| 371 | cd ${SETTE_DIR} |
---|
[3520] | 372 | export TEST_NAME="SHORT" |
---|
[4252] | 373 | . ./prepare_exe_dir.sh |
---|
[10755] | 374 | set_valid_dir |
---|
[10698] | 375 | clean_valid_dir |
---|
[3520] | 376 | cd ${EXE_DIR} |
---|
[7646] | 377 | set_namelist namelist_cfg cn_exp \"O2L3P_SHORT\" |
---|
[10750] | 378 | set_namelist namelist_cfg nn_it000 497 |
---|
| 379 | set_namelist namelist_cfg nn_itend 992 |
---|
| 380 | set_namelist namelist_cfg nn_stock 496 |
---|
[4147] | 381 | set_namelist namelist_cfg ln_rstart .true. |
---|
| 382 | set_namelist namelist_cfg nn_rstctl 2 |
---|
[7646] | 383 | set_namelist namelist_cfg jpni 4 |
---|
| 384 | set_namelist namelist_cfg jpnj 8 |
---|
[10573] | 385 | set_namelist namelist_cfg ln_ctl .false. |
---|
| 386 | set_namelist namelist_cfg sn_cfctl%l_config .true. |
---|
| 387 | set_namelist namelist_cfg sn_cfctl%l_runstat .true. |
---|
| 388 | set_namelist namelist_cfg sn_cfctl%l_trcstat .true. |
---|
[9920] | 389 | set_namelist namelist_cfg nn_test_icebergs -1 |
---|
[10189] | 390 | set_namelist namelist_cfg ln_wave .true. |
---|
| 391 | set_namelist namelist_cfg ln_cdgw .true. |
---|
| 392 | set_namelist namelist_cfg ln_sdw .true. |
---|
| 393 | set_namelist namelist_cfg nn_sdrift 1 |
---|
| 394 | set_namelist namelist_cfg ln_stcor .true. |
---|
| 395 | set_namelist namelist_cfg ln_tauwoc .true. |
---|
[9904] | 396 | # |
---|
| 397 | if [ ${USING_ICEBERGS} == "no" ] ; then set_namelist namelist_cfg ln_icebergs .false. ; fi |
---|
[10732] | 398 | # for debugging purposes set_namelist namelist_cfg rn_test_box -180.0, 180.0, -90.0, -55.0 |
---|
[9904] | 399 | # |
---|
[9933] | 400 | set_namelist namelist_ice_cfg ln_icediachk .true. |
---|
[4147] | 401 | set_namelist namelist_top_cfg ln_rsttr .true. |
---|
| 402 | set_namelist namelist_top_cfg nn_rsttr 2 |
---|
[10750] | 403 | set_namelist namelist_cfg cn_ocerst_in \"O2L3P_LONG_00000496_restart\" |
---|
| 404 | set_namelist namelist_top_cfg cn_trcrst_in \"O2L3P_LONG_00000496_restart_trc\" |
---|
| 405 | set_namelist namelist_ice_cfg cn_icerst_in \"O2L3P_LONG_00000496_restart_ice\" |
---|
[9933] | 406 | set_namelist namelist_top_cfg ln_trcdta .false. |
---|
[3520] | 407 | # put ln_ironsed, ln_river, ln_ndepo, ln_dust |
---|
| 408 | # if not you need input files, and for tests is not necessary |
---|
[4147] | 409 | set_namelist namelist_pisces_cfg ln_presatm .false. |
---|
| 410 | set_namelist namelist_pisces_cfg ln_varpar .false. |
---|
| 411 | set_namelist namelist_pisces_cfg ln_dust .false. |
---|
| 412 | set_namelist namelist_pisces_cfg ln_solub .false. |
---|
| 413 | set_namelist namelist_pisces_cfg ln_river .false. |
---|
| 414 | set_namelist namelist_pisces_cfg ln_ndepo .false. |
---|
| 415 | set_namelist namelist_pisces_cfg ln_ironsed .false. |
---|
[7646] | 416 | set_namelist namelist_pisces_cfg ln_ironice .false. |
---|
[4147] | 417 | set_namelist namelist_pisces_cfg ln_hydrofe .false. |
---|
[3680] | 418 | # put ln_pisdmp to false : no restoring to global mean value |
---|
[4147] | 419 | set_namelist namelist_pisces_cfg ln_pisdmp .false. |
---|
[3537] | 420 | for (( i=1; i<=$NPROC; i++)) ; do |
---|
| 421 | L_NPROC=$(( $i - 1 )) |
---|
| 422 | L_NPROC=`printf "%04d\n" ${L_NPROC}` |
---|
[10750] | 423 | ln -sf ../LONG/O2L3P_LONG_00000496_restart_${L_NPROC}.nc . |
---|
| 424 | ln -sf ../LONG/O2L3P_LONG_00000496_restart_trc_${L_NPROC}.nc . |
---|
| 425 | ln -sf ../LONG/O2L3P_LONG_00000496_restart_ice_${L_NPROC}.nc . |
---|
[9904] | 426 | if [ ${USING_ICEBERGS} == "yes" ] |
---|
| 427 | then |
---|
[10750] | 428 | ln -sf ../LONG/O2L3P_LONG_icebergs_00000496_restart_${L_NPROC}.nc O2L3P_LONG_00000496_restart_icebergs_${L_NPROC}.nc |
---|
[9904] | 429 | fi |
---|
[3537] | 430 | done |
---|
[4245] | 431 | if [ ${USING_MPMD} == "yes" ] ; then |
---|
| 432 | set_xio_using_server iodef.xml true |
---|
| 433 | else |
---|
| 434 | set_xio_using_server iodef.xml false |
---|
| 435 | fi |
---|
[3520] | 436 | cd ${SETTE_DIR} |
---|
[10755] | 437 | . ./prepare_job.sh input_ORCA2_ICE_PISCES.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${NEMO_VALID} |
---|
[3520] | 438 | cd ${SETTE_DIR} |
---|
[3532] | 439 | . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} |
---|
[3520] | 440 | |
---|
[9663] | 441 | ## Reproducibility tests for ORCA2_ICE_PISCES |
---|
[7646] | 442 | export TEST_NAME="REPRO_4_8" |
---|
[9658] | 443 | cd ${MAIN_DIR} |
---|
[3520] | 444 | cd ${SETTE_DIR} |
---|
[4252] | 445 | . ./param.cfg |
---|
| 446 | . ./all_functions.sh |
---|
| 447 | . ./prepare_exe_dir.sh |
---|
[10755] | 448 | set_valid_dir |
---|
[10698] | 449 | clean_valid_dir |
---|
[3520] | 450 | JOB_FILE=${EXE_DIR}/run_job.sh |
---|
[7646] | 451 | NPROC=32 |
---|
[4245] | 452 | if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi |
---|
[3520] | 453 | cd ${EXE_DIR} |
---|
[9019] | 454 | set_namelist namelist_cfg cn_exp \"O2L3P_48\" |
---|
[4147] | 455 | set_namelist namelist_cfg nn_it000 1 |
---|
[10750] | 456 | set_namelist namelist_cfg nn_itend 992 |
---|
[4147] | 457 | set_namelist namelist_cfg jpni 4 |
---|
[7646] | 458 | set_namelist namelist_cfg jpnj 8 |
---|
[10573] | 459 | set_namelist namelist_cfg ln_ctl .false. |
---|
| 460 | set_namelist namelist_cfg sn_cfctl%l_config .true. |
---|
| 461 | set_namelist namelist_cfg sn_cfctl%l_runstat .true. |
---|
| 462 | set_namelist namelist_cfg sn_cfctl%l_trcstat .true. |
---|
[10189] | 463 | set_namelist namelist_cfg ln_wave .true. |
---|
| 464 | set_namelist namelist_cfg ln_cdgw .true. |
---|
| 465 | set_namelist namelist_cfg ln_sdw .true. |
---|
| 466 | set_namelist namelist_cfg nn_sdrift 1 |
---|
| 467 | set_namelist namelist_cfg ln_stcor .true. |
---|
| 468 | set_namelist namelist_cfg ln_tauwoc .true. |
---|
| 469 | |
---|
[9904] | 470 | if [ ${USING_ICEBERGS} == "no" ] ; then set_namelist namelist_cfg ln_icebergs .false. ; fi |
---|
[10687] | 471 | # for debugging purposes set_namelist namelist_cfg rn_test_box -180.0, 180.0, -90.0, -55.0 |
---|
| 472 | |
---|
[4147] | 473 | set_namelist namelist_top_cfg ln_trcdta .false. |
---|
[3520] | 474 | # put ln_ironsed, ln_river, ln_ndepo, ln_dust to false |
---|
| 475 | # if not you need input files, and for tests is not necessary |
---|
[4147] | 476 | set_namelist namelist_pisces_cfg ln_presatm .false. |
---|
| 477 | set_namelist namelist_pisces_cfg ln_varpar .false. |
---|
| 478 | set_namelist namelist_pisces_cfg ln_dust .false. |
---|
| 479 | set_namelist namelist_pisces_cfg ln_solub .false. |
---|
| 480 | set_namelist namelist_pisces_cfg ln_river .false. |
---|
| 481 | set_namelist namelist_pisces_cfg ln_ndepo .false. |
---|
| 482 | set_namelist namelist_pisces_cfg ln_ironsed .false. |
---|
[7646] | 483 | set_namelist namelist_pisces_cfg ln_ironice .false. |
---|
[4147] | 484 | set_namelist namelist_pisces_cfg ln_hydrofe .false. |
---|
[3680] | 485 | # put ln_pisdmp to false : no restoring to global mean value |
---|
[4147] | 486 | set_namelist namelist_pisces_cfg ln_pisdmp .false. |
---|
[4245] | 487 | if [ ${USING_MPMD} == "yes" ] ; then |
---|
| 488 | set_xio_using_server iodef.xml true |
---|
| 489 | else |
---|
| 490 | set_xio_using_server iodef.xml false |
---|
| 491 | fi |
---|
[3520] | 492 | cd ${SETTE_DIR} |
---|
[10755] | 493 | . ./prepare_job.sh input_ORCA2_ICE_PISCES.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${NEMO_VALID} |
---|
[3520] | 494 | cd ${SETTE_DIR} |
---|
[3532] | 495 | . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} |
---|
[3520] | 496 | |
---|
| 497 | cd ${SETTE_DIR} |
---|
[7646] | 498 | export TEST_NAME="REPRO_8_4" |
---|
[4252] | 499 | . ./prepare_exe_dir.sh |
---|
[10755] | 500 | set_valid_dir |
---|
[10698] | 501 | clean_valid_dir |
---|
[3680] | 502 | JOB_FILE=${EXE_DIR}/run_job.sh |
---|
[7646] | 503 | NPROC=32 |
---|
[4245] | 504 | if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi |
---|
[3520] | 505 | cd ${EXE_DIR} |
---|
[9019] | 506 | set_namelist namelist_cfg cn_exp \"O2L3P_84\" |
---|
[4147] | 507 | set_namelist namelist_cfg nn_it000 1 |
---|
[10750] | 508 | set_namelist namelist_cfg nn_itend 992 |
---|
[7646] | 509 | set_namelist namelist_cfg jpni 8 |
---|
| 510 | set_namelist namelist_cfg jpnj 4 |
---|
[10573] | 511 | set_namelist namelist_cfg ln_ctl .false. |
---|
| 512 | set_namelist namelist_cfg sn_cfctl%l_config .true. |
---|
| 513 | set_namelist namelist_cfg sn_cfctl%l_runstat .true. |
---|
| 514 | set_namelist namelist_cfg sn_cfctl%l_trcstat .true. |
---|
[10189] | 515 | set_namelist namelist_cfg ln_wave .true. |
---|
| 516 | set_namelist namelist_cfg ln_cdgw .true. |
---|
| 517 | set_namelist namelist_cfg ln_sdw .true. |
---|
| 518 | set_namelist namelist_cfg nn_sdrift 1 |
---|
| 519 | set_namelist namelist_cfg ln_stcor .true. |
---|
| 520 | set_namelist namelist_cfg ln_tauwoc .true. |
---|
[10687] | 521 | |
---|
[9904] | 522 | if [ ${USING_ICEBERGS} == "no" ] ; then set_namelist namelist_cfg ln_icebergs .false. ; fi |
---|
[10687] | 523 | # for debugging purposes set_namelist namelist_cfg rn_test_box -180.0, 180.0, -90.0, -55.0 |
---|
| 524 | |
---|
[4147] | 525 | set_namelist namelist_top_cfg ln_trcdta .false. |
---|
[3520] | 526 | # put ln_ironsed, ln_river, ln_ndepo, ln_dust to false |
---|
| 527 | # if not you need input files, and for tests is not necessary |
---|
[4147] | 528 | set_namelist namelist_pisces_cfg ln_presatm .false. |
---|
| 529 | set_namelist namelist_pisces_cfg ln_varpar .false. |
---|
| 530 | set_namelist namelist_pisces_cfg ln_dust .false. |
---|
| 531 | set_namelist namelist_pisces_cfg ln_solub .false. |
---|
| 532 | set_namelist namelist_pisces_cfg ln_river .false. |
---|
| 533 | set_namelist namelist_pisces_cfg ln_ndepo .false. |
---|
| 534 | set_namelist namelist_pisces_cfg ln_ironsed .false. |
---|
[7646] | 535 | set_namelist namelist_pisces_cfg ln_ironice .false. |
---|
[4147] | 536 | set_namelist namelist_pisces_cfg ln_hydrofe .false. |
---|
[3680] | 537 | # put ln_pisdmp to false : no restoring to global mean value |
---|
[4147] | 538 | set_namelist namelist_pisces_cfg ln_pisdmp .false. |
---|
[4245] | 539 | if [ ${USING_MPMD} == "yes" ] ; then |
---|
| 540 | set_xio_using_server iodef.xml true |
---|
| 541 | else |
---|
| 542 | set_xio_using_server iodef.xml false |
---|
| 543 | fi |
---|
[3520] | 544 | cd ${SETTE_DIR} |
---|
[10755] | 545 | . ./prepare_job.sh input_ORCA2_ICE_PISCES.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${NEMO_VALID} |
---|
[3520] | 546 | cd ${SETTE_DIR} |
---|
| 547 | . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} |
---|
| 548 | fi |
---|
| 549 | |
---|
[9518] | 550 | # ---------------- |
---|
| 551 | # ORCA2_OFF_PISCES |
---|
| 552 | # ---------------- |
---|
[10747] | 553 | if [ ${config} == "ORCA2_OFF_PISCES" ] ; then |
---|
[9518] | 554 | ## Restartability tests for ORCA2_OFF_PISCES |
---|
[3520] | 555 | export TEST_NAME="LONG" |
---|
[9658] | 556 | cd ${MAIN_DIR} |
---|
[12289] | 557 | # |
---|
| 558 | # syncronisation if target directory/file exist (not done by makenemo) |
---|
| 559 | . ${SETTE_DIR}/all_functions.sh |
---|
[12422] | 560 | sync_config ORCA2_OFF_PISCES ORCA2_OFF_PISCES_ST 'cfgs' |
---|
| 561 | clean_config ORCA2_OFF_PISCES ORCA2_OFF_PISCES_ST 'cfgs' |
---|
[12289] | 562 | # |
---|
[11497] | 563 | . ./makenemo -m ${CMP_NAM} -n ORCA2_OFF_PISCES_ST -r ORCA2_OFF_PISCES -j 8 add_key "${ADD_KEYS}" del_key "${DEL_KEYS}" |
---|
[3520] | 564 | cd ${SETTE_DIR} |
---|
[4252] | 565 | . ./param.cfg |
---|
| 566 | . ./all_functions.sh |
---|
| 567 | . ./prepare_exe_dir.sh |
---|
[10755] | 568 | set_valid_dir |
---|
[10698] | 569 | clean_valid_dir |
---|
[3520] | 570 | JOB_FILE=${EXE_DIR}/run_job.sh |
---|
[7646] | 571 | NPROC=32 |
---|
[4245] | 572 | if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi |
---|
[3520] | 573 | cd ${EXE_DIR} |
---|
[4147] | 574 | set_namelist namelist_cfg cn_exp \"OFFP_LONG\" |
---|
| 575 | set_namelist namelist_cfg nn_it000 1 |
---|
[9560] | 576 | set_namelist namelist_cfg nn_itend 380 |
---|
| 577 | set_namelist namelist_cfg nn_stock 190 |
---|
[7646] | 578 | set_namelist namelist_cfg jpni 4 |
---|
| 579 | set_namelist namelist_cfg jpnj 8 |
---|
[10573] | 580 | set_namelist namelist_cfg ln_ctl .false. |
---|
| 581 | set_namelist namelist_cfg sn_cfctl%l_config .true. |
---|
| 582 | set_namelist namelist_cfg sn_cfctl%l_runstat .true. |
---|
| 583 | set_namelist namelist_cfg sn_cfctl%l_trcstat .true. |
---|
[9904] | 584 | set_namelist namelist_cfg ln_qsr_rgb .true. |
---|
[4147] | 585 | set_namelist namelist_top_cfg ln_trcdta .false. |
---|
[3520] | 586 | # put ln_ironsed, ln_river, ln_ndepo, ln_dust to false |
---|
| 587 | # if not you need input files, and for tests is not necessary |
---|
[4147] | 588 | set_namelist namelist_pisces_cfg ln_presatm .false. |
---|
| 589 | set_namelist namelist_pisces_cfg ln_varpar .false. |
---|
| 590 | set_namelist namelist_pisces_cfg ln_dust .false. |
---|
| 591 | set_namelist namelist_pisces_cfg ln_solub .false. |
---|
| 592 | set_namelist namelist_pisces_cfg ln_river .false. |
---|
| 593 | set_namelist namelist_pisces_cfg ln_ndepo .false. |
---|
| 594 | set_namelist namelist_pisces_cfg ln_ironsed .false. |
---|
[7646] | 595 | set_namelist namelist_pisces_cfg ln_ironice .false. |
---|
[4147] | 596 | set_namelist namelist_pisces_cfg ln_hydrofe .false. |
---|
[3680] | 597 | # put ln_pisdmp to false : no restoring to global mean value |
---|
[4147] | 598 | set_namelist namelist_pisces_cfg ln_pisdmp .false. |
---|
[4245] | 599 | if [ ${USING_MPMD} == "yes" ] ; then |
---|
| 600 | set_xio_using_server iodef.xml true |
---|
| 601 | else |
---|
| 602 | set_xio_using_server iodef.xml false |
---|
| 603 | fi |
---|
[3520] | 604 | cd ${SETTE_DIR} |
---|
[10755] | 605 | . ./prepare_job.sh input_ORCA2_OFF_PISCES.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${NEMO_VALID} |
---|
[3520] | 606 | |
---|
| 607 | cd ${SETTE_DIR} |
---|
| 608 | export TEST_NAME="SHORT" |
---|
[4252] | 609 | . ./prepare_exe_dir.sh |
---|
[10755] | 610 | set_valid_dir |
---|
[10698] | 611 | clean_valid_dir |
---|
[3520] | 612 | cd ${EXE_DIR} |
---|
[4147] | 613 | set_namelist namelist_cfg cn_exp \"OFFP_SHORT\" |
---|
[9560] | 614 | set_namelist namelist_cfg nn_it000 191 |
---|
| 615 | set_namelist namelist_cfg nn_itend 380 |
---|
| 616 | set_namelist namelist_cfg nn_stock 190 |
---|
[7646] | 617 | set_namelist namelist_cfg jpni 4 |
---|
| 618 | set_namelist namelist_cfg jpnj 8 |
---|
[10573] | 619 | set_namelist namelist_cfg ln_ctl .false. |
---|
| 620 | set_namelist namelist_cfg sn_cfctl%l_config .true. |
---|
| 621 | set_namelist namelist_cfg sn_cfctl%l_runstat .true. |
---|
| 622 | set_namelist namelist_cfg sn_cfctl%l_trcstat .true. |
---|
[9904] | 623 | set_namelist namelist_cfg ln_qsr_rgb .true. |
---|
[4147] | 624 | set_namelist namelist_top_cfg ln_rsttr .true. |
---|
| 625 | set_namelist namelist_top_cfg nn_rsttr 2 |
---|
[9560] | 626 | set_namelist namelist_top_cfg cn_trcrst_in \"OFFP_LONG_00000190_restart_trc\" |
---|
[3537] | 627 | for (( i=1; i<=$NPROC; i++)) ; do |
---|
| 628 | L_NPROC=$(( $i - 1 )) |
---|
| 629 | L_NPROC=`printf "%04d\n" ${L_NPROC}` |
---|
[9560] | 630 | ln -sf ../LONG/OFFP_LONG_00000190_restart_trc_${L_NPROC}.nc . |
---|
[3537] | 631 | done |
---|
[3520] | 632 | # put ln_ironsed, ln_river, ln_ndepo, ln_dust |
---|
| 633 | # if not you need input files, and for tests is not necessary |
---|
[4147] | 634 | set_namelist namelist_pisces_cfg ln_presatm .false. |
---|
| 635 | set_namelist namelist_pisces_cfg ln_varpar .false. |
---|
| 636 | set_namelist namelist_pisces_cfg ln_dust .false. |
---|
| 637 | set_namelist namelist_pisces_cfg ln_solub .false. |
---|
| 638 | set_namelist namelist_pisces_cfg ln_river .false. |
---|
| 639 | set_namelist namelist_pisces_cfg ln_ndepo .false. |
---|
| 640 | set_namelist namelist_pisces_cfg ln_ironsed .false. |
---|
[7646] | 641 | set_namelist namelist_pisces_cfg ln_ironice .false. |
---|
[4147] | 642 | set_namelist namelist_pisces_cfg ln_hydrofe .false. |
---|
[3680] | 643 | # put ln_pisdmp to false : no restoring to global mean value |
---|
[4147] | 644 | set_namelist namelist_pisces_cfg ln_pisdmp .false. |
---|
[4245] | 645 | if [ ${USING_MPMD} == "yes" ] ; then |
---|
| 646 | set_xio_using_server iodef.xml true |
---|
| 647 | else |
---|
| 648 | set_xio_using_server iodef.xml false |
---|
| 649 | fi |
---|
[3520] | 650 | cd ${SETTE_DIR} |
---|
[10755] | 651 | . ./prepare_job.sh input_ORCA2_OFF_PISCES.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${NEMO_VALID} |
---|
[3520] | 652 | cd ${SETTE_DIR} |
---|
| 653 | . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} |
---|
| 654 | |
---|
[9518] | 655 | ## Reproducibility tests for ORCA2_OFF_PISCES |
---|
[7646] | 656 | export TEST_NAME="REPRO_4_8" |
---|
[9658] | 657 | cd ${MAIN_DIR} |
---|
[3520] | 658 | cd ${SETTE_DIR} |
---|
[4252] | 659 | . ./param.cfg |
---|
| 660 | . ./all_functions.sh |
---|
| 661 | . ./prepare_exe_dir.sh |
---|
[10755] | 662 | set_valid_dir |
---|
[10698] | 663 | clean_valid_dir |
---|
[3520] | 664 | JOB_FILE=${EXE_DIR}/run_job.sh |
---|
[7646] | 665 | NPROC=32 |
---|
[4245] | 666 | if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi |
---|
[3520] | 667 | cd ${EXE_DIR} |
---|
[9019] | 668 | set_namelist namelist_cfg cn_exp \"OFFP_48\" |
---|
[4147] | 669 | set_namelist namelist_cfg nn_it000 1 |
---|
[9560] | 670 | set_namelist namelist_cfg nn_itend 380 |
---|
[4147] | 671 | set_namelist namelist_cfg jpni 4 |
---|
[7646] | 672 | set_namelist namelist_cfg jpnj 8 |
---|
[10573] | 673 | set_namelist namelist_cfg ln_ctl .false. |
---|
| 674 | set_namelist namelist_cfg sn_cfctl%l_config .true. |
---|
| 675 | set_namelist namelist_cfg sn_cfctl%l_runstat .true. |
---|
| 676 | set_namelist namelist_cfg sn_cfctl%l_trcstat .true. |
---|
[9904] | 677 | set_namelist namelist_cfg ln_qsr_rgb .true. |
---|
[4147] | 678 | set_namelist namelist_top_cfg ln_trcdta .false. |
---|
[3520] | 679 | # put ln_ironsed, ln_river, ln_ndepo, ln_dust to false |
---|
| 680 | # if not you need input files, and for tests is not necessary |
---|
[4147] | 681 | set_namelist namelist_pisces_cfg ln_presatm .false. |
---|
| 682 | set_namelist namelist_pisces_cfg ln_varpar .false. |
---|
| 683 | set_namelist namelist_pisces_cfg ln_dust .false. |
---|
| 684 | set_namelist namelist_pisces_cfg ln_solub .false. |
---|
| 685 | set_namelist namelist_pisces_cfg ln_river .false. |
---|
| 686 | set_namelist namelist_pisces_cfg ln_ndepo .false. |
---|
| 687 | set_namelist namelist_pisces_cfg ln_ironsed .false. |
---|
[7646] | 688 | set_namelist namelist_pisces_cfg ln_ironice .false. |
---|
[4147] | 689 | set_namelist namelist_pisces_cfg ln_hydrofe .false. |
---|
[3680] | 690 | # put ln_pisdmp to false : no restoring to global mean value |
---|
[4147] | 691 | set_namelist namelist_pisces_cfg ln_pisdmp .false. |
---|
[4245] | 692 | if [ ${USING_MPMD} == "yes" ] ; then |
---|
| 693 | set_xio_using_server iodef.xml true |
---|
| 694 | else |
---|
| 695 | set_xio_using_server iodef.xml false |
---|
| 696 | fi |
---|
[3520] | 697 | cd ${SETTE_DIR} |
---|
[10755] | 698 | . ./prepare_job.sh input_ORCA2_OFF_PISCES.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${NEMO_VALID} |
---|
[3520] | 699 | cd ${SETTE_DIR} |
---|
[3532] | 700 | . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} |
---|
[3520] | 701 | |
---|
| 702 | cd ${SETTE_DIR} |
---|
[7646] | 703 | export TEST_NAME="REPRO_8_4" |
---|
[4252] | 704 | . ./prepare_exe_dir.sh |
---|
[10755] | 705 | set_valid_dir |
---|
[10698] | 706 | clean_valid_dir |
---|
[3680] | 707 | JOB_FILE=${EXE_DIR}/run_job.sh |
---|
[7646] | 708 | NPROC=32 |
---|
[4245] | 709 | if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi |
---|
[3520] | 710 | cd ${EXE_DIR} |
---|
[9019] | 711 | set_namelist namelist_cfg cn_exp \"OFFP_84\" |
---|
[4147] | 712 | set_namelist namelist_cfg nn_it000 1 |
---|
[9560] | 713 | set_namelist namelist_cfg nn_itend 380 |
---|
[7646] | 714 | set_namelist namelist_cfg jpni 8 |
---|
| 715 | set_namelist namelist_cfg jpnj 4 |
---|
[10573] | 716 | set_namelist namelist_cfg ln_ctl .false. |
---|
| 717 | set_namelist namelist_cfg sn_cfctl%l_config .true. |
---|
| 718 | set_namelist namelist_cfg sn_cfctl%l_runstat .true. |
---|
| 719 | set_namelist namelist_cfg sn_cfctl%l_trcstat .true. |
---|
[9904] | 720 | set_namelist namelist_cfg ln_qsr_rgb .true. |
---|
[4147] | 721 | set_namelist namelist_top_cfg ln_trcdta .false. |
---|
[3520] | 722 | # put ln_ironsed, ln_river, ln_ndepo, ln_dust to false |
---|
| 723 | # if not you need input files, and for tests is not necessary |
---|
[4147] | 724 | set_namelist namelist_pisces_cfg ln_presatm .false. |
---|
| 725 | set_namelist namelist_pisces_cfg ln_varpar .false. |
---|
| 726 | set_namelist namelist_pisces_cfg ln_dust .false. |
---|
| 727 | set_namelist namelist_pisces_cfg ln_solub .false. |
---|
| 728 | set_namelist namelist_pisces_cfg ln_river .false. |
---|
| 729 | set_namelist namelist_pisces_cfg ln_ndepo .false. |
---|
| 730 | set_namelist namelist_pisces_cfg ln_ironsed .false. |
---|
[7646] | 731 | set_namelist namelist_pisces_cfg ln_ironice .false. |
---|
[4147] | 732 | set_namelist namelist_pisces_cfg ln_hydrofe .false. |
---|
[3680] | 733 | # put ln_pisdmp to false : no restoring to global mean value |
---|
[4147] | 734 | set_namelist namelist_pisces_cfg ln_pisdmp .false. |
---|
[4245] | 735 | if [ ${USING_MPMD} == "yes" ] ; then |
---|
| 736 | set_xio_using_server iodef.xml true |
---|
| 737 | else |
---|
| 738 | set_xio_using_server iodef.xml false |
---|
| 739 | fi |
---|
[3520] | 740 | cd ${SETTE_DIR} |
---|
[10755] | 741 | . ./prepare_job.sh input_ORCA2_OFF_PISCES.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${NEMO_VALID} |
---|
[3520] | 742 | cd ${SETTE_DIR} |
---|
| 743 | . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} |
---|
| 744 | fi |
---|
| 745 | |
---|
[9518] | 746 | # ----- |
---|
| 747 | # AMM12 |
---|
| 748 | # ----- |
---|
[10747] | 749 | if [ ${config} == "AMM12" ] ; then |
---|
[3532] | 750 | ## Restartability tests for AMM12 |
---|
| 751 | export TEST_NAME="LONG" |
---|
[9658] | 752 | cd ${MAIN_DIR} |
---|
[12289] | 753 | # |
---|
| 754 | # syncronisation if target directory/file exist (not done by makenemo) |
---|
| 755 | . ${SETTE_DIR}/all_functions.sh |
---|
[12422] | 756 | sync_config AMM12 AMM12_ST 'cfgs' |
---|
| 757 | clean_config AMM12 AMM12_ST 'cfgs' |
---|
[12289] | 758 | # |
---|
[11497] | 759 | . ./makenemo -m ${CMP_NAM} -n AMM12_ST -r AMM12 -j 8 add_key "${ADD_KEYS}" del_key "${DEL_KEYS}" |
---|
[3520] | 760 | cd ${SETTE_DIR} |
---|
[4252] | 761 | . ./param.cfg |
---|
| 762 | . ./all_functions.sh |
---|
| 763 | . ./prepare_exe_dir.sh |
---|
[10755] | 764 | set_valid_dir |
---|
[10698] | 765 | clean_valid_dir |
---|
[3520] | 766 | JOB_FILE=${EXE_DIR}/run_job.sh |
---|
| 767 | NPROC=32 |
---|
[4245] | 768 | if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi |
---|
[3520] | 769 | cd ${EXE_DIR} |
---|
[9019] | 770 | set_namelist namelist_cfg cn_exp \"AMM12_LONG\" |
---|
[4147] | 771 | set_namelist namelist_cfg nn_it000 1 |
---|
[4252] | 772 | set_namelist namelist_cfg nn_itend 576 |
---|
| 773 | set_namelist namelist_cfg nn_stock 288 |
---|
[7646] | 774 | set_namelist namelist_cfg jpni 4 |
---|
| 775 | set_namelist namelist_cfg jpnj 8 |
---|
[10573] | 776 | set_namelist namelist_cfg ln_ctl .false. |
---|
| 777 | set_namelist namelist_cfg sn_cfctl%l_config .true. |
---|
| 778 | set_namelist namelist_cfg sn_cfctl%l_runstat .true. |
---|
[4245] | 779 | if [ ${USING_MPMD} == "yes" ] ; then |
---|
| 780 | set_xio_using_server iodef.xml true |
---|
| 781 | else |
---|
| 782 | set_xio_using_server iodef.xml false |
---|
| 783 | fi |
---|
[3520] | 784 | cd ${SETTE_DIR} |
---|
[10755] | 785 | . ./prepare_job.sh input_AMM12.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${NEMO_VALID} |
---|
[3520] | 786 | |
---|
| 787 | cd ${SETTE_DIR} |
---|
[3532] | 788 | export TEST_NAME="SHORT" |
---|
[4379] | 789 | . ./prepare_exe_dir.sh |
---|
[10755] | 790 | set_valid_dir |
---|
[10698] | 791 | clean_valid_dir |
---|
[3520] | 792 | cd ${EXE_DIR} |
---|
[9019] | 793 | set_namelist namelist_cfg cn_exp \"AMM12_SHORT\" |
---|
[4252] | 794 | set_namelist namelist_cfg nn_it000 289 |
---|
| 795 | set_namelist namelist_cfg nn_itend 576 |
---|
[7646] | 796 | set_namelist namelist_cfg jpni 4 |
---|
| 797 | set_namelist namelist_cfg jpnj 8 |
---|
[10573] | 798 | set_namelist namelist_cfg ln_ctl .false. |
---|
| 799 | set_namelist namelist_cfg sn_cfctl%l_config .true. |
---|
| 800 | set_namelist namelist_cfg sn_cfctl%l_runstat .true. |
---|
[4147] | 801 | set_namelist namelist_cfg ln_rstart .true. |
---|
| 802 | set_namelist namelist_cfg nn_rstctl 2 |
---|
[9019] | 803 | set_namelist namelist_cfg cn_ocerst_in \"AMM12_LONG_00000288_restart\" |
---|
[4252] | 804 | set_namelist namelist_cfg nn_date0 20120102 |
---|
[3537] | 805 | for (( i=1; i<=$NPROC; i++)) ; do |
---|
| 806 | L_NPROC=$(( $i - 1 )) |
---|
| 807 | L_NPROC=`printf "%04d\n" ${L_NPROC}` |
---|
[9019] | 808 | ln -sf ../LONG/AMM12_LONG_00000288_restart_${L_NPROC}.nc . |
---|
[3537] | 809 | done |
---|
[4245] | 810 | if [ ${USING_MPMD} == "yes" ] ; then |
---|
| 811 | set_xio_using_server iodef.xml true |
---|
| 812 | else |
---|
| 813 | set_xio_using_server iodef.xml false |
---|
| 814 | fi |
---|
[3520] | 815 | cd ${SETTE_DIR} |
---|
[10755] | 816 | . ./prepare_job.sh input_AMM12.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${NEMO_VALID} |
---|
[3520] | 817 | cd ${SETTE_DIR} |
---|
[3532] | 818 | . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} |
---|
[3520] | 819 | |
---|
[3680] | 820 | ## Reproducibility tests for AMM12 |
---|
| 821 | export TEST_NAME="REPRO_8_4" |
---|
[9658] | 822 | cd ${MAIN_DIR} |
---|
[3520] | 823 | cd ${SETTE_DIR} |
---|
[4252] | 824 | . ./param.cfg |
---|
| 825 | . ./all_functions.sh |
---|
| 826 | . ./prepare_exe_dir.sh |
---|
[10755] | 827 | set_valid_dir |
---|
[10698] | 828 | clean_valid_dir |
---|
[3520] | 829 | JOB_FILE=${EXE_DIR}/run_job.sh |
---|
| 830 | NPROC=32 |
---|
[4245] | 831 | if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi |
---|
[3520] | 832 | cd ${EXE_DIR} |
---|
[9019] | 833 | set_namelist namelist_cfg cn_exp \"AMM12_84\" |
---|
[4147] | 834 | set_namelist namelist_cfg nn_it000 1 |
---|
| 835 | set_namelist namelist_cfg nn_itend 576 |
---|
| 836 | set_namelist namelist_cfg jpni 8 |
---|
| 837 | set_namelist namelist_cfg jpnj 4 |
---|
[10573] | 838 | set_namelist namelist_cfg ln_ctl .false. |
---|
| 839 | set_namelist namelist_cfg sn_cfctl%l_config .true. |
---|
| 840 | set_namelist namelist_cfg sn_cfctl%l_runstat .true. |
---|
[4245] | 841 | if [ ${USING_MPMD} == "yes" ] ; then |
---|
| 842 | set_xio_using_server iodef.xml true |
---|
| 843 | else |
---|
| 844 | set_xio_using_server iodef.xml false |
---|
| 845 | fi |
---|
[3520] | 846 | cd ${SETTE_DIR} |
---|
[10755] | 847 | . ./prepare_job.sh input_AMM12.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${NEMO_VALID} |
---|
[3520] | 848 | cd ${SETTE_DIR} |
---|
| 849 | . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} |
---|
| 850 | |
---|
| 851 | cd ${SETTE_DIR} |
---|
[3680] | 852 | export TEST_NAME="REPRO_4_8" |
---|
[4252] | 853 | . ./prepare_exe_dir.sh |
---|
[10755] | 854 | set_valid_dir |
---|
[10698] | 855 | clean_valid_dir |
---|
[5478] | 856 | JOB_FILE=${EXE_DIR}/run_job.sh |
---|
| 857 | if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi |
---|
[3520] | 858 | cd ${EXE_DIR} |
---|
[9019] | 859 | set_namelist namelist_cfg cn_exp \"AMM12_48\" |
---|
[4147] | 860 | set_namelist namelist_cfg nn_it000 1 |
---|
| 861 | set_namelist namelist_cfg nn_itend 576 |
---|
| 862 | set_namelist namelist_cfg jpni 4 |
---|
| 863 | set_namelist namelist_cfg jpnj 8 |
---|
[10573] | 864 | set_namelist namelist_cfg ln_ctl .false. |
---|
| 865 | set_namelist namelist_cfg sn_cfctl%l_config .true. |
---|
| 866 | set_namelist namelist_cfg sn_cfctl%l_runstat .true. |
---|
[4245] | 867 | if [ ${USING_MPMD} == "yes" ] ; then |
---|
| 868 | set_xio_using_server iodef.xml true |
---|
| 869 | else |
---|
| 870 | set_xio_using_server iodef.xml false |
---|
| 871 | fi |
---|
[3520] | 872 | cd ${SETTE_DIR} |
---|
[10755] | 873 | . ./prepare_job.sh input_AMM12.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${NEMO_VALID} |
---|
[3520] | 874 | cd ${SETTE_DIR} |
---|
[3532] | 875 | . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} |
---|
[3520] | 876 | fi |
---|
| 877 | |
---|
| 878 | |
---|
[9518] | 879 | # --------- |
---|
| 880 | # ORCA2_SAS |
---|
| 881 | # --------- |
---|
[10747] | 882 | if [ ${config} == "SAS" ] ; then |
---|
[9518] | 883 | ## Restartability tests |
---|
[4147] | 884 | export TEST_NAME="LONG" |
---|
[9658] | 885 | cd ${MAIN_DIR} |
---|
[12289] | 886 | # |
---|
| 887 | # syncronisation if target directory/file exist (not done by makenemo) |
---|
| 888 | . ${SETTE_DIR}/all_functions.sh |
---|
[12422] | 889 | sync_config ORCA2_SAS_ICE ORCA2_SAS_ICE_ST 'cfgs' |
---|
| 890 | clean_config ORCA2_SAS_ICE ORCA2_SAS_ICE_ST 'cfgs' |
---|
[12289] | 891 | # |
---|
[11497] | 892 | . ./makenemo -m ${CMP_NAM} -n ORCA2_SAS_ICE_ST -r ORCA2_SAS_ICE -j 8 add_key "${ADD_KEYS}" del_key "${DEL_KEYS}" |
---|
[4147] | 893 | cd ${SETTE_DIR} |
---|
[4252] | 894 | . ./param.cfg |
---|
| 895 | . ./all_functions.sh |
---|
| 896 | . ./prepare_exe_dir.sh |
---|
[10755] | 897 | set_valid_dir |
---|
[10698] | 898 | clean_valid_dir |
---|
[4147] | 899 | JOB_FILE=${EXE_DIR}/run_job.sh |
---|
| 900 | NPROC=32 |
---|
[7646] | 901 | if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi |
---|
[4147] | 902 | cd ${EXE_DIR} |
---|
| 903 | set_namelist namelist_cfg cn_exp \"SAS\" |
---|
| 904 | set_namelist namelist_cfg nn_it000 1 |
---|
[10750] | 905 | set_namelist namelist_cfg nn_itend 256 |
---|
| 906 | set_namelist namelist_cfg nn_stock 128 |
---|
[7646] | 907 | set_namelist namelist_cfg jpni 4 |
---|
| 908 | set_namelist namelist_cfg jpnj 8 |
---|
[10573] | 909 | set_namelist namelist_cfg ln_ctl .false. |
---|
| 910 | set_namelist namelist_cfg sn_cfctl%l_config .true. |
---|
| 911 | set_namelist namelist_cfg sn_cfctl%l_runstat .true. |
---|
[9019] | 912 | set_namelist namelist_ice_cfg ln_icediachk .true. |
---|
[4245] | 913 | if [ ${USING_MPMD} == "yes" ] ; then |
---|
| 914 | set_xio_using_server iodef.xml true |
---|
| 915 | else |
---|
| 916 | set_xio_using_server iodef.xml false |
---|
| 917 | fi |
---|
[4147] | 918 | cd ${SETTE_DIR} |
---|
[10755] | 919 | . ./prepare_job.sh input_SAS.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${NEMO_VALID} |
---|
[4147] | 920 | |
---|
| 921 | cd ${SETTE_DIR} |
---|
| 922 | export TEST_NAME="SHORT" |
---|
[4252] | 923 | . ./prepare_exe_dir.sh |
---|
[10755] | 924 | set_valid_dir |
---|
[10698] | 925 | clean_valid_dir |
---|
[4147] | 926 | cd ${EXE_DIR} |
---|
| 927 | set_namelist namelist_cfg cn_exp \"SAS\" |
---|
[10750] | 928 | set_namelist namelist_cfg nn_it000 129 |
---|
| 929 | set_namelist namelist_cfg nn_itend 256 |
---|
[7646] | 930 | set_namelist namelist_cfg jpni 4 |
---|
| 931 | set_namelist namelist_cfg jpnj 8 |
---|
[10573] | 932 | set_namelist namelist_cfg ln_ctl .false. |
---|
| 933 | set_namelist namelist_cfg sn_cfctl%l_config .true. |
---|
| 934 | set_namelist namelist_cfg sn_cfctl%l_runstat .true. |
---|
[7646] | 935 | set_namelist namelist_cfg ln_rstart .true. |
---|
[4147] | 936 | set_namelist namelist_cfg nn_rstctl 2 |
---|
[9019] | 937 | set_namelist namelist_cfg nn_date0 010109 |
---|
[10750] | 938 | set_namelist namelist_cfg cn_ocerst_in \"SAS_00000128_restart\" |
---|
| 939 | set_namelist namelist_ice_cfg cn_icerst_in \"SAS_00000128_restart_ice\" |
---|
[4245] | 940 | if [ ${USING_MPMD} == "yes" ] ; then |
---|
| 941 | set_xio_using_server iodef.xml true |
---|
| 942 | else |
---|
| 943 | set_xio_using_server iodef.xml false |
---|
| 944 | fi |
---|
[7646] | 945 | for (( i=1; i<=$NPROC; i++)) ; do |
---|
| 946 | L_NPROC=$(( $i - 1 )) |
---|
| 947 | L_NPROC=`printf "%04d\n" ${L_NPROC}` |
---|
[10750] | 948 | ln -sf ../LONG/SAS_00000128_restart_${L_NPROC}.nc . |
---|
| 949 | ln -sf ../LONG/SAS_00000128_restart_ice_${L_NPROC}.nc . |
---|
[7646] | 950 | done |
---|
[4147] | 951 | cd ${SETTE_DIR} |
---|
[10755] | 952 | . ./prepare_job.sh input_SAS.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${NEMO_VALID} |
---|
[4147] | 953 | cd ${SETTE_DIR} |
---|
| 954 | . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} |
---|
| 955 | |
---|
[9518] | 956 | ## Reproducibility tests |
---|
| 957 | export TEST_NAME="REPRO_4_8" |
---|
[9658] | 958 | cd ${MAIN_DIR} |
---|
[4990] | 959 | cd ${SETTE_DIR} |
---|
| 960 | . ./param.cfg |
---|
| 961 | . ./all_functions.sh |
---|
| 962 | . ./prepare_exe_dir.sh |
---|
[10755] | 963 | set_valid_dir |
---|
[10698] | 964 | clean_valid_dir |
---|
[4990] | 965 | JOB_FILE=${EXE_DIR}/run_job.sh |
---|
[9518] | 966 | NPROC=32 |
---|
[4990] | 967 | if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi |
---|
| 968 | cd ${EXE_DIR} |
---|
[9518] | 969 | set_namelist namelist_cfg cn_exp \"SAS_48\" |
---|
[4990] | 970 | set_namelist namelist_cfg nn_it000 1 |
---|
[10750] | 971 | set_namelist namelist_cfg nn_itend 80 |
---|
[9518] | 972 | set_namelist namelist_cfg jpni 4 |
---|
| 973 | set_namelist namelist_cfg jpnj 8 |
---|
[10573] | 974 | set_namelist namelist_cfg ln_ctl .false. |
---|
| 975 | set_namelist namelist_cfg sn_cfctl%l_config .true. |
---|
| 976 | set_namelist namelist_cfg sn_cfctl%l_runstat .true. |
---|
[4990] | 977 | if [ ${USING_MPMD} == "yes" ] ; then |
---|
| 978 | set_xio_using_server iodef.xml true |
---|
| 979 | else |
---|
| 980 | set_xio_using_server iodef.xml false |
---|
| 981 | fi |
---|
| 982 | cd ${SETTE_DIR} |
---|
[10755] | 983 | . ./prepare_job.sh input_SAS.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${NEMO_VALID} |
---|
[4990] | 984 | cd ${SETTE_DIR} |
---|
| 985 | . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} |
---|
[9019] | 986 | |
---|
[4990] | 987 | cd ${SETTE_DIR} |
---|
[7646] | 988 | export TEST_NAME="REPRO_8_4" |
---|
[4990] | 989 | . ./prepare_exe_dir.sh |
---|
[10755] | 990 | set_valid_dir |
---|
[10698] | 991 | clean_valid_dir |
---|
[4990] | 992 | JOB_FILE=${EXE_DIR}/run_job.sh |
---|
[7646] | 993 | NPROC=32 |
---|
[4990] | 994 | if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi |
---|
| 995 | cd ${EXE_DIR} |
---|
[9518] | 996 | set_namelist namelist_cfg cn_exp \"SAS_84\" |
---|
[4990] | 997 | set_namelist namelist_cfg nn_it000 1 |
---|
[10750] | 998 | set_namelist namelist_cfg nn_itend 80 |
---|
[7646] | 999 | set_namelist namelist_cfg jpni 8 |
---|
| 1000 | set_namelist namelist_cfg jpnj 4 |
---|
[10573] | 1001 | set_namelist namelist_cfg ln_ctl .false. |
---|
| 1002 | set_namelist namelist_cfg sn_cfctl%l_config .true. |
---|
| 1003 | set_namelist namelist_cfg sn_cfctl%l_runstat .true. |
---|
[4990] | 1004 | if [ ${USING_MPMD} == "yes" ] ; then |
---|
| 1005 | set_xio_using_server iodef.xml true |
---|
| 1006 | else |
---|
| 1007 | set_xio_using_server iodef.xml false |
---|
| 1008 | fi |
---|
| 1009 | cd ${SETTE_DIR} |
---|
[10755] | 1010 | . ./prepare_job.sh input_SAS.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${NEMO_VALID} |
---|
[4990] | 1011 | cd ${SETTE_DIR} |
---|
| 1012 | . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} |
---|
| 1013 | |
---|
| 1014 | fi |
---|
| 1015 | |
---|
[9518] | 1016 | |
---|
| 1017 | # -------------- |
---|
[9663] | 1018 | # ORCA2_ICE_OBS |
---|
[9518] | 1019 | # -------------- |
---|
[4990] | 1020 | ## Test assimilation interface code, OBS and ASM for reproducibility |
---|
| 1021 | ## Restartability not tested (ASM code not restartable while increments are being applied) |
---|
[10747] | 1022 | if [ ${config} == "ORCA2_ICE_OBS" ] ; then |
---|
[9518] | 1023 | ## Reproducibility tests |
---|
[7646] | 1024 | export TEST_NAME="REPRO_4_8" |
---|
[9658] | 1025 | cd ${MAIN_DIR} |
---|
[12289] | 1026 | # |
---|
| 1027 | # syncronisation if target directory/file exist (not done by makenemo) |
---|
| 1028 | . ${SETTE_DIR}/all_functions.sh |
---|
[12422] | 1029 | sync_config ORCA2_ICE_PISCES ORCA2_ICE_OBS_ST 'cfgs' |
---|
| 1030 | clean_config ORCA2_ICE_PISCES ORCA2_ICE_OBS_ST 'cfgs' |
---|
[12289] | 1031 | # |
---|
[10687] | 1032 | . ./makenemo -m ${CMP_NAM} -n ORCA2_ICE_OBS_ST -r ORCA2_ICE_PISCES -d "OCE ICE" -j 8 add_key "key_asminc ${ADD_KEYS}" del_key "key_top" |
---|
[4990] | 1033 | cd ${SETTE_DIR} |
---|
| 1034 | . ./param.cfg |
---|
| 1035 | . ./all_functions.sh |
---|
| 1036 | . ./prepare_exe_dir.sh |
---|
[10755] | 1037 | set_valid_dir |
---|
[10698] | 1038 | clean_valid_dir |
---|
[4990] | 1039 | JOB_FILE=${EXE_DIR}/run_job.sh |
---|
[7646] | 1040 | NPROC=32 |
---|
[4990] | 1041 | if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi |
---|
| 1042 | cd ${EXE_DIR} |
---|
[9019] | 1043 | set_namelist namelist_cfg cn_exp \"O2L3OBS_48\" |
---|
[4990] | 1044 | set_namelist namelist_cfg nn_it000 1 |
---|
[10750] | 1045 | set_namelist namelist_cfg nn_itend 80 |
---|
[7646] | 1046 | set_namelist namelist_cfg ln_read_cfg .true. |
---|
[4990] | 1047 | set_namelist namelist_cfg jpni 4 |
---|
[7646] | 1048 | set_namelist namelist_cfg jpnj 8 |
---|
[10573] | 1049 | set_namelist namelist_cfg ln_ctl .false. |
---|
| 1050 | set_namelist namelist_cfg sn_cfctl%l_config .true. |
---|
| 1051 | set_namelist namelist_cfg sn_cfctl%l_runstat .true. |
---|
| 1052 | set_namelist namelist_cfg sn_cfctl%l_trcstat .true. |
---|
[6140] | 1053 | set_namelist namelist_cfg ln_diaobs .true. |
---|
[4990] | 1054 | set_namelist namelist_cfg ln_t3d .true. |
---|
| 1055 | set_namelist namelist_cfg ln_s3d .true. |
---|
| 1056 | set_namelist namelist_cfg ln_sst .true. |
---|
| 1057 | set_namelist namelist_cfg ln_sla .true. |
---|
[6140] | 1058 | set_namelist namelist_cfg ln_sic .true. |
---|
| 1059 | set_namelist namelist_cfg ln_vel3d .true. |
---|
[4990] | 1060 | set_namelist namelist_cfg ln_bkgwri .true. |
---|
| 1061 | set_namelist namelist_cfg ln_trainc .true. |
---|
| 1062 | set_namelist namelist_cfg ln_dyninc .true. |
---|
| 1063 | set_namelist namelist_cfg ln_sshinc .true. |
---|
| 1064 | set_namelist namelist_cfg ln_asmiau .true. |
---|
[9663] | 1065 | #remove all useless options for pisces (due to ORCA2_ICE_PISCES reference configuration) |
---|
[7722] | 1066 | set_namelist namelist_top_cfg ln_trcdta .false. |
---|
| 1067 | # put ln_ironsed, ln_river, ln_ndepo, ln_dust to false |
---|
| 1068 | # if not you need input files, and for tests is not necessary |
---|
| 1069 | set_namelist namelist_pisces_cfg ln_presatm .false. |
---|
| 1070 | set_namelist namelist_pisces_cfg ln_varpar .false. |
---|
| 1071 | set_namelist namelist_pisces_cfg ln_dust .false. |
---|
| 1072 | set_namelist namelist_pisces_cfg ln_solub .false. |
---|
| 1073 | set_namelist namelist_pisces_cfg ln_river .false. |
---|
| 1074 | set_namelist namelist_pisces_cfg ln_ndepo .false. |
---|
| 1075 | set_namelist namelist_pisces_cfg ln_ironsed .false. |
---|
| 1076 | set_namelist namelist_pisces_cfg ln_ironice .false. |
---|
| 1077 | set_namelist namelist_pisces_cfg ln_hydrofe .false. |
---|
[4990] | 1078 | if [ ${USING_MPMD} == "yes" ] ; then |
---|
| 1079 | set_xio_using_server iodef.xml true |
---|
| 1080 | else |
---|
| 1081 | set_xio_using_server iodef.xml false |
---|
| 1082 | fi |
---|
| 1083 | cd ${SETTE_DIR} |
---|
[10755] | 1084 | . ./prepare_job.sh input_ORCA2_ICE_OBS.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${NEMO_VALID} |
---|
[4990] | 1085 | cd ${SETTE_DIR} |
---|
| 1086 | . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} |
---|
| 1087 | |
---|
| 1088 | cd ${SETTE_DIR} |
---|
[7646] | 1089 | export TEST_NAME="REPRO_8_4" |
---|
[4990] | 1090 | . ./prepare_exe_dir.sh |
---|
[10755] | 1091 | set_valid_dir |
---|
[10698] | 1092 | clean_valid_dir |
---|
[4990] | 1093 | JOB_FILE=${EXE_DIR}/run_job.sh |
---|
[7646] | 1094 | NPROC=32 |
---|
[4990] | 1095 | if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi |
---|
| 1096 | cd ${EXE_DIR} |
---|
[9019] | 1097 | set_namelist namelist_cfg cn_exp \"O2L3OBS_84\" |
---|
[4990] | 1098 | set_namelist namelist_cfg nn_it000 1 |
---|
[10750] | 1099 | set_namelist namelist_cfg nn_itend 80 |
---|
[7646] | 1100 | set_namelist namelist_cfg ln_read_cfg .true. |
---|
| 1101 | set_namelist namelist_cfg jpni 8 |
---|
| 1102 | set_namelist namelist_cfg jpnj 4 |
---|
[10573] | 1103 | set_namelist namelist_cfg ln_ctl .false. |
---|
| 1104 | set_namelist namelist_cfg sn_cfctl%l_config .true. |
---|
| 1105 | set_namelist namelist_cfg sn_cfctl%l_runstat .true. |
---|
| 1106 | set_namelist namelist_cfg sn_cfctl%l_trcstat .true. |
---|
[6140] | 1107 | set_namelist namelist_cfg ln_diaobs .true. |
---|
[4990] | 1108 | set_namelist namelist_cfg ln_t3d .true. |
---|
| 1109 | set_namelist namelist_cfg ln_s3d .true. |
---|
| 1110 | set_namelist namelist_cfg ln_sst .true. |
---|
| 1111 | set_namelist namelist_cfg ln_sla .true. |
---|
[6140] | 1112 | set_namelist namelist_cfg ln_sic .true. |
---|
| 1113 | set_namelist namelist_cfg ln_vel3d .true. |
---|
[4990] | 1114 | set_namelist namelist_cfg ln_bkgwri .true. |
---|
| 1115 | set_namelist namelist_cfg ln_trainc .true. |
---|
| 1116 | set_namelist namelist_cfg ln_dyninc .true. |
---|
| 1117 | set_namelist namelist_cfg ln_sshinc .true. |
---|
| 1118 | set_namelist namelist_cfg ln_asmiau .true. |
---|
[9663] | 1119 | #remove all useless options for pisces (due to ORCA2_ICE_PISCES reference configuration) |
---|
[7722] | 1120 | set_namelist namelist_top_cfg ln_trcdta .false. |
---|
| 1121 | # put ln_ironsed, ln_river, ln_ndepo, ln_dust to false |
---|
| 1122 | # if not you need input files, and for tests is not necessary |
---|
| 1123 | set_namelist namelist_pisces_cfg ln_presatm .false. |
---|
| 1124 | set_namelist namelist_pisces_cfg ln_varpar .false. |
---|
| 1125 | set_namelist namelist_pisces_cfg ln_dust .false. |
---|
| 1126 | set_namelist namelist_pisces_cfg ln_solub .false. |
---|
| 1127 | set_namelist namelist_pisces_cfg ln_river .false. |
---|
| 1128 | set_namelist namelist_pisces_cfg ln_ndepo .false. |
---|
| 1129 | set_namelist namelist_pisces_cfg ln_ironsed .false. |
---|
| 1130 | set_namelist namelist_pisces_cfg ln_ironice .false. |
---|
| 1131 | set_namelist namelist_pisces_cfg ln_hydrofe .false. |
---|
[4990] | 1132 | if [ ${USING_MPMD} == "yes" ] ; then |
---|
| 1133 | set_xio_using_server iodef.xml true |
---|
| 1134 | else |
---|
| 1135 | set_xio_using_server iodef.xml false |
---|
| 1136 | fi |
---|
| 1137 | cd ${SETTE_DIR} |
---|
[10755] | 1138 | . ./prepare_job.sh input_ORCA2_ICE_OBS.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${NEMO_VALID} |
---|
[4990] | 1139 | cd ${SETTE_DIR} |
---|
| 1140 | . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} |
---|
| 1141 | fi |
---|
[5589] | 1142 | |
---|
[9483] | 1143 | # ------------ |
---|
[9663] | 1144 | # AGRIF ICE |
---|
[9483] | 1145 | # ----------- |
---|
[10747] | 1146 | if [ ${config} == "AGRIF" ] ; then |
---|
[9518] | 1147 | ## Restartability tests |
---|
[9483] | 1148 | export TEST_NAME="LONG" |
---|
[9658] | 1149 | cd ${MAIN_DIR} |
---|
[12289] | 1150 | # |
---|
| 1151 | # syncronisation if target directory/file exist (not done by makenemo) |
---|
| 1152 | . ${SETTE_DIR}/all_functions.sh |
---|
[12422] | 1153 | sync_config AGRIF_DEMO AGRIF_DEMO_ST 'cfgs' |
---|
| 1154 | clean_config AGRIF_DEMO AGRIF_DEMO_ST 'cfgs' |
---|
[12289] | 1155 | # |
---|
[11497] | 1156 | . ./makenemo -m ${CMP_NAM} -n AGRIF_DEMO_ST -r AGRIF_DEMO -j 8 add_key "${ADD_KEYS}" del_key "${DEL_KEYS}" |
---|
[9483] | 1157 | cd ${SETTE_DIR} |
---|
| 1158 | . ./param.cfg |
---|
| 1159 | . ./all_functions.sh |
---|
| 1160 | . ./prepare_exe_dir.sh |
---|
[10755] | 1161 | set_valid_dir |
---|
[10698] | 1162 | clean_valid_dir |
---|
[9483] | 1163 | JOB_FILE=${EXE_DIR}/run_job.sh |
---|
[9776] | 1164 | NPROC=16 |
---|
[9483] | 1165 | if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi |
---|
| 1166 | cd ${EXE_DIR} |
---|
| 1167 | set_namelist namelist_cfg cn_exp \"AGRIF_LONG\" |
---|
| 1168 | set_namelist namelist_cfg nn_it000 1 |
---|
| 1169 | set_namelist namelist_cfg nn_itend 20 |
---|
| 1170 | set_namelist namelist_cfg nn_stock 10 |
---|
[10573] | 1171 | set_namelist namelist_cfg ln_ctl .false. |
---|
| 1172 | set_namelist namelist_cfg sn_cfctl%l_config .true. |
---|
| 1173 | set_namelist namelist_cfg sn_cfctl%l_runstat .true. |
---|
[9483] | 1174 | set_namelist 1_namelist_cfg cn_exp \"AGRIF_LONG\" |
---|
| 1175 | set_namelist 1_namelist_cfg nn_it000 1 |
---|
[9776] | 1176 | set_namelist 1_namelist_cfg nn_itend 20 |
---|
| 1177 | set_namelist 1_namelist_cfg nn_stock 10 |
---|
[10573] | 1178 | set_namelist 1_namelist_cfg ln_ctl .false. |
---|
| 1179 | set_namelist 1_namelist_cfg sn_cfctl%l_config .true. |
---|
| 1180 | set_namelist 1_namelist_cfg sn_cfctl%l_runstat .true. |
---|
[9483] | 1181 | set_namelist 2_namelist_cfg cn_exp \"AGRIF_LONG\" |
---|
| 1182 | set_namelist 2_namelist_cfg nn_it000 1 |
---|
[9776] | 1183 | set_namelist 2_namelist_cfg nn_itend 80 |
---|
| 1184 | set_namelist 2_namelist_cfg nn_stock 40 |
---|
[10573] | 1185 | set_namelist 2_namelist_cfg ln_ctl .false. |
---|
| 1186 | set_namelist 2_namelist_cfg sn_cfctl%l_config .true. |
---|
| 1187 | set_namelist 2_namelist_cfg sn_cfctl%l_runstat .true. |
---|
[9776] | 1188 | set_namelist 3_namelist_cfg cn_exp \"AGRIF_LONG\" |
---|
| 1189 | set_namelist 3_namelist_cfg nn_it000 1 |
---|
| 1190 | set_namelist 3_namelist_cfg nn_itend 240 |
---|
| 1191 | set_namelist 3_namelist_cfg nn_stock 120 |
---|
[10573] | 1192 | set_namelist 3_namelist_cfg ln_ctl .false. |
---|
| 1193 | set_namelist 3_namelist_cfg sn_cfctl%l_config .true. |
---|
| 1194 | set_namelist 3_namelist_cfg sn_cfctl%l_runstat .true. |
---|
[9507] | 1195 | |
---|
[9483] | 1196 | if [ ${USING_MPMD} == "yes" ] ; then |
---|
| 1197 | set_xio_using_server iodef.xml true |
---|
| 1198 | else |
---|
| 1199 | set_xio_using_server iodef.xml false |
---|
| 1200 | fi |
---|
| 1201 | cd ${SETTE_DIR} |
---|
[10755] | 1202 | . ./prepare_job.sh input_AGRIF.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${NEMO_VALID} |
---|
[9483] | 1203 | |
---|
| 1204 | cd ${SETTE_DIR} |
---|
| 1205 | export TEST_NAME="SHORT" |
---|
| 1206 | . ./prepare_exe_dir.sh |
---|
[10755] | 1207 | set_valid_dir |
---|
[10698] | 1208 | clean_valid_dir |
---|
[9483] | 1209 | cd ${EXE_DIR} |
---|
| 1210 | set_namelist namelist_cfg cn_exp \"AGRIF_SHORT\" |
---|
| 1211 | set_namelist namelist_cfg nn_it000 11 |
---|
| 1212 | set_namelist namelist_cfg nn_itend 20 |
---|
| 1213 | set_namelist namelist_cfg nn_stock 10 |
---|
[10573] | 1214 | set_namelist namelist_cfg ln_ctl .false. |
---|
| 1215 | set_namelist namelist_cfg sn_cfctl%l_config .true. |
---|
| 1216 | set_namelist namelist_cfg sn_cfctl%l_runstat .true. |
---|
[9483] | 1217 | set_namelist namelist_cfg ln_rstart .true. |
---|
| 1218 | set_namelist namelist_cfg nn_rstctl 2 |
---|
| 1219 | set_namelist 1_namelist_cfg cn_exp \"AGRIF_SHORT\" |
---|
[9776] | 1220 | set_namelist 1_namelist_cfg nn_it000 11 |
---|
| 1221 | set_namelist 1_namelist_cfg nn_itend 20 |
---|
| 1222 | set_namelist 1_namelist_cfg nn_stock 10 |
---|
[10573] | 1223 | set_namelist 1_namelist_cfg ln_ctl .false. |
---|
| 1224 | set_namelist 1_namelist_cfg sn_cfctl%l_config .true. |
---|
| 1225 | set_namelist 1_namelist_cfg sn_cfctl%l_runstat .true. |
---|
[9483] | 1226 | set_namelist 1_namelist_cfg ln_rstart .true. |
---|
| 1227 | set_namelist 1_namelist_cfg nn_rstctl 2 |
---|
| 1228 | set_namelist 2_namelist_cfg cn_exp \"AGRIF_SHORT\" |
---|
[9776] | 1229 | set_namelist 2_namelist_cfg nn_it000 41 |
---|
| 1230 | set_namelist 2_namelist_cfg nn_itend 80 |
---|
| 1231 | set_namelist 2_namelist_cfg nn_stock 40 |
---|
[10573] | 1232 | set_namelist 2_namelist_cfg ln_ctl .false. |
---|
| 1233 | set_namelist 2_namelist_cfg sn_cfctl%l_config .true. |
---|
| 1234 | set_namelist 2_namelist_cfg sn_cfctl%l_runstat .true. |
---|
[9483] | 1235 | set_namelist 2_namelist_cfg ln_rstart .true. |
---|
| 1236 | set_namelist 2_namelist_cfg nn_rstctl 2 |
---|
[9776] | 1237 | set_namelist 3_namelist_cfg cn_exp \"AGRIF_SHORT\" |
---|
| 1238 | set_namelist 3_namelist_cfg nn_it000 121 |
---|
| 1239 | set_namelist 3_namelist_cfg nn_itend 240 |
---|
| 1240 | set_namelist 3_namelist_cfg nn_stock 120 |
---|
[10573] | 1241 | set_namelist 3_namelist_cfg ln_ctl .false. |
---|
| 1242 | set_namelist 3_namelist_cfg sn_cfctl%l_config .true. |
---|
| 1243 | set_namelist 3_namelist_cfg sn_cfctl%l_runstat .true. |
---|
[9776] | 1244 | set_namelist 3_namelist_cfg ln_rstart .true. |
---|
| 1245 | set_namelist 3_namelist_cfg nn_rstctl 2 |
---|
[9483] | 1246 | set_namelist namelist_cfg cn_ocerst_in \"AGRIF_LONG_00000010_restart\" |
---|
| 1247 | set_namelist namelist_ice_cfg cn_icerst_in \"AGRIF_LONG_00000010_restart_ice\" |
---|
[9776] | 1248 | set_namelist 1_namelist_cfg cn_ocerst_in \"AGRIF_LONG_00000010_restart\" |
---|
| 1249 | set_namelist 1_namelist_ice_cfg cn_icerst_in \"AGRIF_LONG_00000010_restart_ice\" |
---|
| 1250 | set_namelist 2_namelist_cfg cn_ocerst_in \"AGRIF_LONG_00000040_restart\" |
---|
| 1251 | set_namelist 2_namelist_ice_cfg cn_icerst_in \"AGRIF_LONG_00000040_restart_ice\" |
---|
| 1252 | set_namelist 3_namelist_cfg cn_ocerst_in \"AGRIF_LONG_00000120_restart\" |
---|
| 1253 | set_namelist 3_namelist_ice_cfg cn_icerst_in \"AGRIF_LONG_00000120_restart_ice\" |
---|
[9483] | 1254 | |
---|
| 1255 | for (( i=1; i<=$NPROC; i++)) ; do |
---|
| 1256 | L_NPROC=$(( $i - 1 )) |
---|
| 1257 | L_NPROC=`printf "%04d\n" ${L_NPROC}` |
---|
| 1258 | ln -sf ../LONG/AGRIF_LONG_00000010_restart_${L_NPROC}.nc . |
---|
| 1259 | ln -sf ../LONG/AGRIF_LONG_00000010_restart_ice_${L_NPROC}.nc . |
---|
[9776] | 1260 | ln -sf ../LONG/1_AGRIF_LONG_00000010_restart_${L_NPROC}.nc . |
---|
| 1261 | ln -sf ../LONG/1_AGRIF_LONG_00000010_restart_ice_${L_NPROC}.nc . |
---|
| 1262 | ln -sf ../LONG/2_AGRIF_LONG_00000040_restart_${L_NPROC}.nc . |
---|
| 1263 | ln -sf ../LONG/2_AGRIF_LONG_00000040_restart_ice_${L_NPROC}.nc . |
---|
| 1264 | ln -sf ../LONG/3_AGRIF_LONG_00000120_restart_${L_NPROC}.nc . |
---|
| 1265 | ln -sf ../LONG/3_AGRIF_LONG_00000120_restart_ice_${L_NPROC}.nc . |
---|
[9483] | 1266 | done |
---|
| 1267 | if [ ${USING_MPMD} == "yes" ] ; then |
---|
| 1268 | set_xio_using_server iodef.xml true |
---|
| 1269 | else |
---|
| 1270 | set_xio_using_server iodef.xml false |
---|
| 1271 | fi |
---|
| 1272 | cd ${SETTE_DIR} |
---|
[10755] | 1273 | . ./prepare_job.sh input_AGRIF.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${NEMO_VALID} |
---|
[9483] | 1274 | cd ${SETTE_DIR} |
---|
| 1275 | . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} |
---|
| 1276 | |
---|
[9518] | 1277 | ## Reproducibility tests |
---|
[11800] | 1278 | export TEST_NAME="REPRO_2_8" |
---|
[9658] | 1279 | cd ${MAIN_DIR} |
---|
[9483] | 1280 | cd ${SETTE_DIR} |
---|
| 1281 | . ./param.cfg |
---|
| 1282 | . ./all_functions.sh |
---|
| 1283 | . ./prepare_exe_dir.sh |
---|
[10755] | 1284 | set_valid_dir |
---|
[10698] | 1285 | clean_valid_dir |
---|
[9483] | 1286 | JOB_FILE=${EXE_DIR}/run_job.sh |
---|
[11800] | 1287 | NPROC=16 |
---|
[9483] | 1288 | if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi |
---|
| 1289 | cd ${EXE_DIR} |
---|
[11800] | 1290 | set_namelist namelist_cfg cn_exp \"AGRIF_28\" |
---|
[9483] | 1291 | set_namelist namelist_cfg nn_it000 1 |
---|
| 1292 | set_namelist namelist_cfg nn_itend 20 |
---|
[11800] | 1293 | set_namelist namelist_cfg jpni 2 |
---|
[9483] | 1294 | set_namelist namelist_cfg jpnj 8 |
---|
[10573] | 1295 | set_namelist namelist_cfg ln_ctl .false. |
---|
| 1296 | set_namelist namelist_cfg sn_cfctl%l_config .true. |
---|
| 1297 | set_namelist namelist_cfg sn_cfctl%l_runstat .true. |
---|
[11800] | 1298 | set_namelist 1_namelist_cfg cn_exp \"AGRIF_28\" |
---|
[9483] | 1299 | set_namelist 1_namelist_cfg nn_it000 1 |
---|
[9776] | 1300 | set_namelist 1_namelist_cfg nn_itend 20 |
---|
[11800] | 1301 | set_namelist 1_namelist_cfg jpni 2 |
---|
[9483] | 1302 | set_namelist 1_namelist_cfg jpnj 8 |
---|
[10573] | 1303 | set_namelist 1_namelist_cfg ln_ctl .false. |
---|
| 1304 | set_namelist 1_namelist_cfg sn_cfctl%l_config .true. |
---|
| 1305 | set_namelist 1_namelist_cfg sn_cfctl%l_runstat .true. |
---|
[11800] | 1306 | set_namelist 2_namelist_cfg cn_exp \"AGRIF_28\" |
---|
[9483] | 1307 | set_namelist 2_namelist_cfg nn_it000 1 |
---|
[9776] | 1308 | set_namelist 2_namelist_cfg nn_itend 80 |
---|
[11800] | 1309 | set_namelist 2_namelist_cfg jpni 2 |
---|
[9483] | 1310 | set_namelist 2_namelist_cfg jpnj 8 |
---|
[10573] | 1311 | set_namelist 2_namelist_cfg ln_ctl .false. |
---|
| 1312 | set_namelist 2_namelist_cfg sn_cfctl%l_config .true. |
---|
| 1313 | set_namelist 2_namelist_cfg sn_cfctl%l_runstat .true. |
---|
[11800] | 1314 | set_namelist 3_namelist_cfg cn_exp \"AGRIF_28\" |
---|
[9776] | 1315 | set_namelist 3_namelist_cfg nn_it000 1 |
---|
| 1316 | set_namelist 3_namelist_cfg nn_itend 240 |
---|
[11800] | 1317 | set_namelist 3_namelist_cfg jpni 2 |
---|
[9776] | 1318 | set_namelist 3_namelist_cfg jpnj 8 |
---|
[10573] | 1319 | set_namelist 3_namelist_cfg ln_ctl .false. |
---|
| 1320 | set_namelist 3_namelist_cfg sn_cfctl%l_config .true. |
---|
| 1321 | set_namelist 3_namelist_cfg sn_cfctl%l_runstat .true. |
---|
[9483] | 1322 | |
---|
| 1323 | if [ ${USING_MPMD} == "yes" ] ; then |
---|
| 1324 | set_xio_using_server iodef.xml true |
---|
| 1325 | else |
---|
| 1326 | set_xio_using_server iodef.xml false |
---|
| 1327 | fi |
---|
| 1328 | cd ${SETTE_DIR} |
---|
[10755] | 1329 | . ./prepare_job.sh input_AGRIF.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${NEMO_VALID} |
---|
[9483] | 1330 | cd ${SETTE_DIR} |
---|
| 1331 | . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} |
---|
| 1332 | |
---|
| 1333 | cd ${SETTE_DIR} |
---|
[11800] | 1334 | export TEST_NAME="REPRO_4_4" |
---|
[9483] | 1335 | . ./prepare_exe_dir.sh |
---|
[10755] | 1336 | set_valid_dir |
---|
[10698] | 1337 | clean_valid_dir |
---|
[9483] | 1338 | JOB_FILE=${EXE_DIR}/run_job.sh |
---|
[11800] | 1339 | NPROC=16 |
---|
[9483] | 1340 | if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi |
---|
| 1341 | cd ${EXE_DIR} |
---|
[11800] | 1342 | set_namelist namelist_cfg cn_exp \"AGRIF_44\" |
---|
[9483] | 1343 | set_namelist namelist_cfg nn_it000 1 |
---|
| 1344 | set_namelist namelist_cfg nn_itend 20 |
---|
[11800] | 1345 | set_namelist namelist_cfg jpni 4 |
---|
[9483] | 1346 | set_namelist namelist_cfg jpnj 4 |
---|
[10573] | 1347 | set_namelist namelist_cfg ln_ctl .false. |
---|
| 1348 | set_namelist namelist_cfg sn_cfctl%l_config .true. |
---|
| 1349 | set_namelist namelist_cfg sn_cfctl%l_runstat .true. |
---|
[11800] | 1350 | set_namelist 1_namelist_cfg cn_exp \"AGRIF_44\" |
---|
[9483] | 1351 | set_namelist 1_namelist_cfg nn_it000 1 |
---|
[9776] | 1352 | set_namelist 1_namelist_cfg nn_itend 20 |
---|
[11800] | 1353 | set_namelist 1_namelist_cfg jpni 4 |
---|
[9483] | 1354 | set_namelist 1_namelist_cfg jpnj 4 |
---|
[10573] | 1355 | set_namelist 1_namelist_cfg ln_ctl .false. |
---|
| 1356 | set_namelist 1_namelist_cfg sn_cfctl%l_config .true. |
---|
| 1357 | set_namelist 1_namelist_cfg sn_cfctl%l_runstat .true. |
---|
[11800] | 1358 | set_namelist 2_namelist_cfg cn_exp \"AGRIF_44\" |
---|
[9483] | 1359 | set_namelist 2_namelist_cfg nn_it000 1 |
---|
[9776] | 1360 | set_namelist 2_namelist_cfg nn_itend 80 |
---|
[11800] | 1361 | set_namelist 2_namelist_cfg jpni 4 |
---|
[9483] | 1362 | set_namelist 2_namelist_cfg jpnj 4 |
---|
[10573] | 1363 | set_namelist 2_namelist_cfg ln_ctl .false. |
---|
| 1364 | set_namelist 2_namelist_cfg sn_cfctl%l_config .true. |
---|
| 1365 | set_namelist 2_namelist_cfg sn_cfctl%l_runstat .true. |
---|
[9776] | 1366 | set_namelist 3_namelist_cfg cn_exp \"AGRIF_84\" |
---|
| 1367 | set_namelist 3_namelist_cfg nn_it000 1 |
---|
| 1368 | set_namelist 3_namelist_cfg nn_itend 240 |
---|
[11800] | 1369 | set_namelist 3_namelist_cfg jpni 4 |
---|
[9776] | 1370 | set_namelist 3_namelist_cfg jpnj 4 |
---|
[10573] | 1371 | set_namelist 3_namelist_cfg ln_ctl .false. |
---|
| 1372 | set_namelist 3_namelist_cfg sn_cfctl%l_config .true. |
---|
| 1373 | set_namelist 3_namelist_cfg sn_cfctl%l_runstat .true. |
---|
[9483] | 1374 | |
---|
| 1375 | if [ ${USING_MPMD} == "yes" ] ; then |
---|
| 1376 | set_xio_using_server iodef.xml true |
---|
| 1377 | else |
---|
| 1378 | set_xio_using_server iodef.xml false |
---|
| 1379 | fi |
---|
| 1380 | cd ${SETTE_DIR} |
---|
[10755] | 1381 | . ./prepare_job.sh input_AGRIF.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${NEMO_VALID} |
---|
[9483] | 1382 | cd ${SETTE_DIR} |
---|
| 1383 | . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} |
---|
| 1384 | |
---|
[9507] | 1385 | ## test code corruption with AGRIF (phase 1) ==> Compile with key_agrif but run with no zoom |
---|
| 1386 | export TEST_NAME="ORCA2" |
---|
[9658] | 1387 | cd ${MAIN_DIR} |
---|
[9483] | 1388 | cd ${SETTE_DIR} |
---|
| 1389 | . ./param.cfg |
---|
| 1390 | . ./all_functions.sh |
---|
| 1391 | . ./prepare_exe_dir.sh |
---|
[10755] | 1392 | set_valid_dir |
---|
[10698] | 1393 | clean_valid_dir |
---|
[9483] | 1394 | JOB_FILE=${EXE_DIR}/run_job.sh |
---|
| 1395 | NPROC=32 |
---|
| 1396 | if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi |
---|
| 1397 | cd ${EXE_DIR} |
---|
[9507] | 1398 | set_namelist namelist_cfg cn_exp \"ORCA2\" |
---|
[9483] | 1399 | set_namelist namelist_cfg nn_it000 1 |
---|
| 1400 | set_namelist namelist_cfg nn_itend 150 |
---|
[10573] | 1401 | set_namelist namelist_cfg ln_ctl .false. |
---|
| 1402 | set_namelist namelist_cfg sn_cfctl%l_config .true. |
---|
| 1403 | set_namelist namelist_cfg sn_cfctl%l_runstat .true. |
---|
[9507] | 1404 | |
---|
[9483] | 1405 | # Set the number of fine grids to zero: |
---|
| 1406 | sed -i "1s/.*/0/" ${EXE_DIR}/AGRIF_FixedGrids.in |
---|
| 1407 | |
---|
| 1408 | if [ ${USING_MPMD} == "yes" ] ; then |
---|
| 1409 | set_xio_using_server iodef.xml true |
---|
| 1410 | else |
---|
| 1411 | set_xio_using_server iodef.xml false |
---|
| 1412 | fi |
---|
| 1413 | cd ${SETTE_DIR} |
---|
[10755] | 1414 | . ./prepare_job.sh input_AGRIF.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${NEMO_VALID} |
---|
[9483] | 1415 | cd ${SETTE_DIR} |
---|
| 1416 | . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} |
---|
| 1417 | |
---|
| 1418 | fi |
---|
| 1419 | |
---|
[9525] | 1420 | |
---|
[9776] | 1421 | ## test code corruption with AGRIF (phase 2) ==> Compile without key_agrif (to be compared with AGRIF_DEMO_ST/ORCA2) |
---|
[10747] | 1422 | if [ ${config} == "AGRIF" ] ; then |
---|
[9507] | 1423 | export TEST_NAME="ORCA2" |
---|
[9658] | 1424 | cd ${MAIN_DIR} |
---|
[12289] | 1425 | # |
---|
| 1426 | # syncronisation if target directory/file exist (not done by makenemo) |
---|
| 1427 | . ${SETTE_DIR}/all_functions.sh |
---|
[12422] | 1428 | sync_config AGRIF_DEMO AGRIF_DEMO_NOAGRIF_ST 'cfgs' |
---|
| 1429 | clean_config AGRIF_DEMO AGRIF_DEMO_NOAGRIF_ST 'cfgs' |
---|
[12289] | 1430 | # |
---|
[11497] | 1431 | . ./makenemo -m ${CMP_NAM} -n AGRIF_DEMO_NOAGRIF_ST -r AGRIF_DEMO -j 8 add_key "${ADD_KEYS}" del_key "key_agrif" |
---|
[9483] | 1432 | cd ${SETTE_DIR} |
---|
| 1433 | . ./param.cfg |
---|
| 1434 | . ./all_functions.sh |
---|
| 1435 | . ./prepare_exe_dir.sh |
---|
[10755] | 1436 | set_valid_dir |
---|
[10698] | 1437 | clean_valid_dir |
---|
[9483] | 1438 | JOB_FILE=${EXE_DIR}/run_job.sh |
---|
| 1439 | NPROC=32 |
---|
| 1440 | if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi |
---|
| 1441 | cd ${EXE_DIR} |
---|
[9507] | 1442 | set_namelist namelist_cfg cn_exp \"ORCA2\" |
---|
[9483] | 1443 | set_namelist namelist_cfg nn_it000 1 |
---|
| 1444 | set_namelist namelist_cfg nn_itend 150 |
---|
[10573] | 1445 | set_namelist namelist_cfg ln_ctl .false. |
---|
| 1446 | set_namelist namelist_cfg sn_cfctl%l_config .true. |
---|
| 1447 | set_namelist namelist_cfg sn_cfctl%l_runstat .true. |
---|
[9483] | 1448 | # |
---|
| 1449 | if [ ${USING_MPMD} == "yes" ] ; then |
---|
| 1450 | set_xio_using_server iodef.xml true |
---|
| 1451 | else |
---|
| 1452 | set_xio_using_server iodef.xml false |
---|
| 1453 | fi |
---|
| 1454 | cd ${SETTE_DIR} |
---|
[10755] | 1455 | . ./prepare_job.sh input_AGRIF.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${NEMO_VALID} |
---|
[9483] | 1456 | cd ${SETTE_DIR} |
---|
| 1457 | . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} |
---|
| 1458 | |
---|
| 1459 | fi |
---|
| 1460 | |
---|
[9553] | 1461 | # ------- |
---|
| 1462 | # SPITZ12 |
---|
| 1463 | # ------- |
---|
[10747] | 1464 | if [ ${config} == "SPITZ12" ] ; then |
---|
[9553] | 1465 | ## Restartability tests |
---|
| 1466 | export TEST_NAME="LONG" |
---|
[9658] | 1467 | cd ${MAIN_DIR} |
---|
[12289] | 1468 | # |
---|
| 1469 | # syncronisation if target directory/file exist (not done by makenemo) |
---|
| 1470 | . ${SETTE_DIR}/all_functions.sh |
---|
[12422] | 1471 | sync_config SPITZ12 SPITZ12_ST 'cfgs' |
---|
| 1472 | clean_config SPITZ12 SPITZ12_ST 'cfgs' |
---|
[12289] | 1473 | # |
---|
[11497] | 1474 | . ./makenemo -m ${CMP_NAM} -n SPITZ12_ST -r SPITZ12 -j 8 add_key "${ADD_KEYS}" del_key "${DEL_KEYS}" |
---|
[9553] | 1475 | cd ${SETTE_DIR} |
---|
| 1476 | . ./param.cfg |
---|
| 1477 | . ./all_functions.sh |
---|
| 1478 | . ./prepare_exe_dir.sh |
---|
[10755] | 1479 | set_valid_dir |
---|
[10698] | 1480 | clean_valid_dir |
---|
[9553] | 1481 | JOB_FILE=${EXE_DIR}/run_job.sh |
---|
| 1482 | NPROC=32 |
---|
| 1483 | if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi |
---|
| 1484 | cd ${EXE_DIR} |
---|
| 1485 | set_namelist namelist_cfg cn_exp \"S12_LONG\" |
---|
| 1486 | set_namelist namelist_cfg nn_it000 1 |
---|
[9744] | 1487 | set_namelist namelist_cfg nn_itend 240 |
---|
| 1488 | set_namelist namelist_cfg nn_stock 120 |
---|
| 1489 | set_namelist namelist_cfg nn_date0 20020101 |
---|
[9553] | 1490 | set_namelist namelist_cfg jpni 4 |
---|
| 1491 | set_namelist namelist_cfg jpnj 8 |
---|
[10573] | 1492 | set_namelist namelist_cfg ln_ctl .false. |
---|
| 1493 | set_namelist namelist_cfg sn_cfctl%l_config .true. |
---|
| 1494 | set_namelist namelist_cfg sn_cfctl%l_runstat .true. |
---|
[9744] | 1495 | #set_namelist namelist_ice_cfg ln_icediachk .true. |
---|
[9553] | 1496 | if [ ${USING_MPMD} == "yes" ] ; then |
---|
| 1497 | set_xio_using_server iodef.xml true |
---|
| 1498 | else |
---|
| 1499 | set_xio_using_server iodef.xml false |
---|
| 1500 | fi |
---|
| 1501 | cd ${SETTE_DIR} |
---|
[10755] | 1502 | . ./prepare_job.sh input_SPITZ12.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${NEMO_VALID} |
---|
[9553] | 1503 | |
---|
| 1504 | cd ${SETTE_DIR} |
---|
| 1505 | export TEST_NAME="SHORT" |
---|
| 1506 | . ./prepare_exe_dir.sh |
---|
[10755] | 1507 | set_valid_dir |
---|
[10698] | 1508 | clean_valid_dir |
---|
[9553] | 1509 | cd ${EXE_DIR} |
---|
| 1510 | set_namelist namelist_cfg cn_exp \"S12_SHORT\" |
---|
[9744] | 1511 | set_namelist namelist_cfg nn_it000 121 |
---|
| 1512 | set_namelist namelist_cfg nn_itend 240 |
---|
| 1513 | set_namelist namelist_cfg nn_stock 120 |
---|
[9553] | 1514 | set_namelist namelist_cfg ln_rstart .true. |
---|
| 1515 | set_namelist namelist_cfg nn_rstctl 2 |
---|
| 1516 | set_namelist namelist_cfg jpni 4 |
---|
| 1517 | set_namelist namelist_cfg jpnj 8 |
---|
[10573] | 1518 | set_namelist namelist_cfg ln_ctl .false. |
---|
| 1519 | set_namelist namelist_cfg sn_cfctl%l_config .true. |
---|
| 1520 | set_namelist namelist_cfg sn_cfctl%l_runstat .true. |
---|
[9744] | 1521 | set_namelist namelist_cfg cn_ocerst_in \"S12_LONG_00000120_restart\" |
---|
| 1522 | set_namelist namelist_ice_cfg cn_icerst_in \"S12_LONG_00000120_restart_ice\" |
---|
[9553] | 1523 | for (( i=1; i<=$NPROC; i++)) ; do |
---|
| 1524 | L_NPROC=$(( $i - 1 )) |
---|
| 1525 | L_NPROC=`printf "%04d\n" ${L_NPROC}` |
---|
[9744] | 1526 | ln -sf ../LONG/S12_LONG_00000120_restart_${L_NPROC}.nc . |
---|
| 1527 | ln -sf ../LONG/S12_LONG_00000120_restart_ice_${L_NPROC}.nc . |
---|
[9553] | 1528 | done |
---|
| 1529 | if [ ${USING_MPMD} == "yes" ] ; then |
---|
| 1530 | set_xio_using_server iodef.xml true |
---|
| 1531 | else |
---|
| 1532 | set_xio_using_server iodef.xml false |
---|
| 1533 | fi |
---|
| 1534 | cd ${SETTE_DIR} |
---|
[10755] | 1535 | . ./prepare_job.sh input_SPITZ12.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${NEMO_VALID} |
---|
[9553] | 1536 | cd ${SETTE_DIR} |
---|
| 1537 | . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} |
---|
| 1538 | |
---|
| 1539 | ## Reproducibility tests |
---|
| 1540 | export TEST_NAME="REPRO_4_8" |
---|
[9658] | 1541 | cd ${MAIN_DIR} |
---|
[9553] | 1542 | cd ${SETTE_DIR} |
---|
| 1543 | . ./param.cfg |
---|
| 1544 | . ./all_functions.sh |
---|
| 1545 | . ./prepare_exe_dir.sh |
---|
[10755] | 1546 | set_valid_dir |
---|
[10698] | 1547 | clean_valid_dir |
---|
[9553] | 1548 | JOB_FILE=${EXE_DIR}/run_job.sh |
---|
| 1549 | NPROC=32 |
---|
| 1550 | if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi |
---|
| 1551 | cd ${EXE_DIR} |
---|
| 1552 | set_namelist namelist_cfg cn_exp \"S12_48\" |
---|
| 1553 | set_namelist namelist_cfg nn_it000 1 |
---|
[9744] | 1554 | set_namelist namelist_cfg nn_itend 120 |
---|
| 1555 | set_namelist namelist_cfg nn_date0 20020101 |
---|
[9553] | 1556 | set_namelist namelist_cfg jpni 4 |
---|
| 1557 | set_namelist namelist_cfg jpnj 8 |
---|
[10573] | 1558 | set_namelist namelist_cfg ln_ctl .false. |
---|
| 1559 | set_namelist namelist_cfg sn_cfctl%l_config .true. |
---|
| 1560 | set_namelist namelist_cfg sn_cfctl%l_runstat .true. |
---|
[9553] | 1561 | if [ ${USING_MPMD} == "yes" ] ; then |
---|
| 1562 | set_xio_using_server iodef.xml true |
---|
| 1563 | else |
---|
| 1564 | set_xio_using_server iodef.xml false |
---|
| 1565 | fi |
---|
| 1566 | cd ${SETTE_DIR} |
---|
[10755] | 1567 | . ./prepare_job.sh input_SPITZ12.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${NEMO_VALID} |
---|
[9553] | 1568 | cd ${SETTE_DIR} |
---|
| 1569 | . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} |
---|
| 1570 | |
---|
| 1571 | cd ${SETTE_DIR} |
---|
| 1572 | export TEST_NAME="REPRO_8_4" |
---|
| 1573 | . ./prepare_exe_dir.sh |
---|
[10755] | 1574 | set_valid_dir |
---|
[10698] | 1575 | clean_valid_dir |
---|
[9553] | 1576 | JOB_FILE=${EXE_DIR}/run_job.sh |
---|
| 1577 | NPROC=32 |
---|
| 1578 | if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi |
---|
| 1579 | cd ${EXE_DIR} |
---|
| 1580 | set_namelist namelist_cfg cn_exp \"S12_84\" |
---|
| 1581 | set_namelist namelist_cfg nn_it000 1 |
---|
[9744] | 1582 | set_namelist namelist_cfg nn_itend 120 |
---|
| 1583 | set_namelist namelist_cfg nn_date0 20020101 |
---|
[9553] | 1584 | set_namelist namelist_cfg jpni 8 |
---|
| 1585 | set_namelist namelist_cfg jpnj 4 |
---|
[10573] | 1586 | set_namelist namelist_cfg ln_ctl .false. |
---|
| 1587 | set_namelist namelist_cfg sn_cfctl%l_config .true. |
---|
| 1588 | set_namelist namelist_cfg sn_cfctl%l_runstat .true. |
---|
[9553] | 1589 | if [ ${USING_MPMD} == "yes" ] ; then |
---|
| 1590 | set_xio_using_server iodef.xml true |
---|
| 1591 | else |
---|
| 1592 | set_xio_using_server iodef.xml false |
---|
| 1593 | fi |
---|
| 1594 | cd ${SETTE_DIR} |
---|
[10755] | 1595 | . ./prepare_job.sh input_SPITZ12.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} ${NEMO_VALID} |
---|
[9553] | 1596 | cd ${SETTE_DIR} |
---|
| 1597 | . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} |
---|
| 1598 | fi |
---|
| 1599 | |
---|
| 1600 | |
---|
[3520] | 1601 | done |
---|