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