1 | #!/bin/bash |
---|
2 | ############################################################ |
---|
3 | # Author : Simona Flavoni for NEMO |
---|
4 | # Contact: sflod@locean-ipsl.upmc.fr |
---|
5 | # |
---|
6 | # sette_test-cases.sh : principal script of SET TEsts for NEMO (SETTE) |
---|
7 | # : this script : compiles, run and tests TEST_CASES |
---|
8 | # |
---|
9 | # : TO DO: test if nitend is equal to end of run.stat |
---|
10 | # ---------------------------------------------------------------------- |
---|
11 | # NEMO/SETTE , NEMO Consortium (2018) |
---|
12 | # Software governed by the CeCILL licence (NEMOGCM/NEMO_CeCILL.txt) |
---|
13 | # ---------------------------------------------------------------------- |
---|
14 | # |
---|
15 | # |
---|
16 | ############################################################# |
---|
17 | #set -vx |
---|
18 | set -o posix |
---|
19 | #set -u |
---|
20 | #set -e |
---|
21 | # =========== |
---|
22 | # DESCRIPTION |
---|
23 | # =========== |
---|
24 | # |
---|
25 | # Variables to be checked by user: |
---|
26 | # |
---|
27 | # COMPILER : name of compiler as defined in NEMOGCM/ARCH directory |
---|
28 | # BATCH_COMMAND_PAR : name of the command for submitting parallel batch jobs |
---|
29 | # BATCH_COMMAND_SEQ : name of the command for submitting sequential batch jobs |
---|
30 | # INTERACT_FLAG : flag to run in interactive mode "yes" |
---|
31 | # to run in batch mode "no" |
---|
32 | # MPIRUN_FLAG : flag to run in parallel (MPI) "yes" |
---|
33 | # to run in sequential mode (NB_PROC = 1) "no" |
---|
34 | # USING_XIOS : flag to control the activation of key_iomput |
---|
35 | # "yes" to compile using key_iomput and link to the external XIOS library |
---|
36 | # "no" to compile without key_iomput and link to the old IOIPSL library |
---|
37 | # USING_MPMD : flag to control the use of stand-alone IO servers |
---|
38 | # requires USING_XIOS="yes" |
---|
39 | # "yes" to run in MPMD (detached) mode with stand-alone IO servers |
---|
40 | # "no" to run in SPMD (attached) mode without separate IO servers |
---|
41 | # NUM_XIOSERVERS : number of stand-alone IO servers to employ |
---|
42 | # set to zero if USING_MPMD="no" |
---|
43 | # |
---|
44 | # Principal script is sette_test-cases.sh, that calls |
---|
45 | # |
---|
46 | # makenemo : to create successive exectuables in ${CONFIG_NAME}/BLD/bin/nemo.exe |
---|
47 | # and links to nemo in ${CONFIG_NAME}/EXP00) |
---|
48 | # |
---|
49 | # param.cfg : sets and loads following directories: |
---|
50 | # |
---|
51 | # FORCING_DIR : is the directory for forcing files (tarfile) |
---|
52 | # INPUT_DIR : is the directory for input files storing |
---|
53 | # TMPDIR : is the temporary directory (if needed) |
---|
54 | # NEMO_VALIDATION_DIR : is the validation directory |
---|
55 | # |
---|
56 | # (NOTE: this file is the same for all configrations to be tested with sette_test-cases.sh) |
---|
57 | # |
---|
58 | # all_functions.sh : loads functions used by sette (note: new functions can be added here) |
---|
59 | # set_namelist : function declared in all_functions that sets namelist parameters |
---|
60 | # post_test_tidyup : creates validation storage directory and copies required output files |
---|
61 | # (run.stat and ocean.output) in it after execution of test. |
---|
62 | # |
---|
63 | # VALIDATION tree is: |
---|
64 | # |
---|
65 | # NEMO_VALIDATION_DIR/WCONFIG_NAME/WCOMPILER_NAME/TEST_NAME/REVISION_NUMBER(or DATE) |
---|
66 | # |
---|
67 | # prepare_exe_dir.sh : defines and creates directory where the test is executed |
---|
68 | # execution directory takes name of TEST_NAME defined for every test |
---|
69 | # in sette_test-cases.sh. (each test in executed in its own directory) |
---|
70 | # |
---|
71 | # prepare_job.sh : to generate the script run_job.sh |
---|
72 | # |
---|
73 | # fcm_job.sh : run in batch (INTERACT_FLAG="no") or interactive (INTERACT_FLAG="yes") |
---|
74 | # see sette_test-cases.sh and BATCH_TEMPLATE directory |
---|
75 | # |
---|
76 | # NOTE: jobs requiring initial or forcing data need to have an input_CONFIG.cfg in which |
---|
77 | # can be found paths to the input tar file) |
---|
78 | # NOTE: if job is not launched for any reason you have the executable ready in ${EXE_DIR} |
---|
79 | # directory |
---|
80 | # NOTE: the changed namelists are left in ${EXE_DIR} directory whereas original namelists |
---|
81 | # remain in ${NEW_CONF}/EXP00 |
---|
82 | # |
---|
83 | # NOTE: a log file, output.sette, is created in ${SETTE_DIR} with the echoes of |
---|
84 | # executed commands |
---|
85 | # |
---|
86 | # NOTE: if sette_test-cases.sh is stopped in output.sette there is written the last command |
---|
87 | # executed by sette_test-cases.sh |
---|
88 | # |
---|
89 | # example use: ./sette_test-cases.sh |
---|
90 | ######################################################################################### |
---|
91 | # |
---|
92 | # Compiler among those in NEMOGCM/ARCH |
---|
93 | COMPILER=X64_IRENE |
---|
94 | |
---|
95 | export BATCH_COMMAND_PAR="ccc_msub" |
---|
96 | export BATCH_COMMAND_SEQ=$BATCH_COMMAND_PAR |
---|
97 | export INTERACT_FLAG="no" |
---|
98 | export MPIRUN_FLAG="yes" |
---|
99 | export USING_XIOS="yes" |
---|
100 | # |
---|
101 | export DEL_KEYS="key_iomput" |
---|
102 | if [ ${USING_XIOS} == "yes" ] |
---|
103 | then |
---|
104 | export DEL_KEYS="" |
---|
105 | fi |
---|
106 | # |
---|
107 | # Settings which control the use of stand alone servers (only relevant if using xios) |
---|
108 | # |
---|
109 | export USING_MPMD="no" |
---|
110 | export NUM_XIOSERVERS=4 |
---|
111 | export JOB_PREFIX=batch-mpmd |
---|
112 | # |
---|
113 | if [ ${USING_MPMD} == "no" ] |
---|
114 | then |
---|
115 | export NUM_XIOSERVERS=0 |
---|
116 | export JOB_PREFIX=batch |
---|
117 | fi |
---|
118 | # |
---|
119 | # |
---|
120 | if [ ${USING_MPMD} == "yes" ] && [ ${USING_XIOS} == "no"] |
---|
121 | then |
---|
122 | echo "Incompatible choices. MPMD mode requires the XIOS server" |
---|
123 | exit |
---|
124 | fi |
---|
125 | |
---|
126 | # Directory to run the tests |
---|
127 | SETTE_DIR=$(cd $(dirname "$0"); pwd) |
---|
128 | MAIN_DIR=$(dirname $SETTE_DIR) |
---|
129 | CONFIG_DIR0=${MAIN_DIR}/cfgs |
---|
130 | TOOLS_DIR=${MAIN_DIR}/tools |
---|
131 | |
---|
132 | CMP_NAM=${1:-$COMPILER} |
---|
133 | # Copy job_batch_COMPILER file for specific compiler into job_batch_template |
---|
134 | cd ${SETTE_DIR} |
---|
135 | cp BATCH_TEMPLATE/${JOB_PREFIX}-${COMPILER} job_batch_template || exit |
---|
136 | # Description of configuration tested: |
---|
137 | # OVERFLOW : 1 TEST s-coordinates : (tracers) Advection schemes: FCT2, FCT4, ubs |
---|
138 | # & (dynamics) advection schemes: flux form (ubs, centered), vector form (een) |
---|
139 | # zps-coordinates : (tracers) Advection schemes: FCT2, FCT4, ubs |
---|
140 | # & (dynamics) advection schemes: flux form (ubs, centered), vector form (een, and een + Hollingsworth correction) |
---|
141 | # LOCK_EXCHANGE : 2 |
---|
142 | # VORTEX : 3 |
---|
143 | # ICEDYN : 4 |
---|
144 | # ISOMIP : 5 |
---|
145 | # WAD |
---|
146 | |
---|
147 | |
---|
148 | for config in 1 2 3 4 5 |
---|
149 | do |
---|
150 | |
---|
151 | # --------- |
---|
152 | # OVERFLOW |
---|
153 | # --------- |
---|
154 | if [ ${config} -eq 1 ] ; then |
---|
155 | ## Restartability tests for OVERFLOW |
---|
156 | export TEST_NAME="LONG" |
---|
157 | cd ${MAIN_DIR} |
---|
158 | . ./makenemo -m ${CMP_NAM} -n OVERFLOW_ST -a OVERFLOW -j 8 del_key ${DEL_KEYS} |
---|
159 | cd ${SETTE_DIR} |
---|
160 | . ./param.cfg |
---|
161 | . ./all_functions.sh |
---|
162 | . ./prepare_exe_dir.sh |
---|
163 | JOB_FILE=${EXE_DIR}/run_job.sh |
---|
164 | NPROC=1 |
---|
165 | if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi |
---|
166 | cd ${EXE_DIR} |
---|
167 | set_namelist namelist_cfg cn_exp \"OVF_LONG\" |
---|
168 | set_namelist namelist_cfg nn_it000 1 |
---|
169 | set_namelist namelist_cfg nn_itend 120 |
---|
170 | set_namelist namelist_cfg nn_stock 60 |
---|
171 | if [ ${USING_MPMD} == "yes" ] ; then |
---|
172 | set_xio_using_server iodef.xml true |
---|
173 | else |
---|
174 | set_xio_using_server iodef.xml false |
---|
175 | fi |
---|
176 | cd ${SETTE_DIR} |
---|
177 | . ./prepare_job.sh input_EMPTY.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} |
---|
178 | |
---|
179 | cd ${SETTE_DIR} |
---|
180 | export TEST_NAME="SHORT" |
---|
181 | . ./prepare_exe_dir.sh |
---|
182 | cd ${EXE_DIR} |
---|
183 | set_namelist namelist_cfg cn_exp \"OVF_SHORT\" |
---|
184 | set_namelist namelist_cfg nn_it000 61 |
---|
185 | set_namelist namelist_cfg nn_itend 120 |
---|
186 | set_namelist namelist_cfg nn_stock 60 |
---|
187 | set_namelist namelist_cfg ln_rstart .true. |
---|
188 | set_namelist namelist_cfg nn_rstctl 2 |
---|
189 | set_namelist namelist_cfg cn_ocerst_in \"OVF_LONG_00000060_restart\" |
---|
190 | if [ ${USING_MPMD} == "yes" ] ; then |
---|
191 | set_xio_using_server iodef.xml true |
---|
192 | else |
---|
193 | set_xio_using_server iodef.xml false |
---|
194 | fi |
---|
195 | ln -sf ../LONG/OVF_LONG_00000060_restart.nc . |
---|
196 | |
---|
197 | cd ${SETTE_DIR} |
---|
198 | . ./prepare_job.sh input_EMPTY.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} |
---|
199 | cd ${SETTE_DIR} |
---|
200 | . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} |
---|
201 | |
---|
202 | |
---|
203 | ## Test for all advection, vert. coordinates, vector form, flux form: test runability and complete all time steps |
---|
204 | ## Needed namelist-xxxx for every type of run tested |
---|
205 | cd ${CONFIG_DIR}/${NEW_CONF}/EXP00 |
---|
206 | |
---|
207 | for file in $(echo `ls namelist_*_cfg `) ; do |
---|
208 | TEST_NAME=`echo $file | sed -e "s/namelist_//" | sed -e "s/_cfg//"` |
---|
209 | TEST_NAME="EXP-${TEST_NAME}" |
---|
210 | if [ ! -d ${CONFIG_DIR}/${NEW_CONF}/${TEST_NAME} ] ; then mkdir ${CONFIG_DIR}/${NEW_CONF}/${TEST_NAME} ; fi |
---|
211 | export TEST_NAME="${TEST_NAME}" |
---|
212 | ## |
---|
213 | cd ${SETTE_DIR} |
---|
214 | . ./param.cfg |
---|
215 | . ./all_functions.sh |
---|
216 | . ./prepare_exe_dir.sh |
---|
217 | JOB_FILE=${EXE_DIR}/run_job.sh |
---|
218 | NPROC=1 |
---|
219 | if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi |
---|
220 | cd ${EXE_DIR} |
---|
221 | rm namelist_*_*_*_* |
---|
222 | cp -pL ${CONFIG_DIR}/${NEW_CONF}/EXP00/$file namelist_cfg |
---|
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 |
---|
228 | cd ${SETTE_DIR} |
---|
229 | . ./prepare_job.sh input_EMPTY.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} |
---|
230 | cd ${SETTE_DIR} |
---|
231 | . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} |
---|
232 | ## |
---|
233 | done |
---|
234 | fi |
---|
235 | |
---|
236 | # -------------- |
---|
237 | # LOCK_EXCHANGE |
---|
238 | # -------------- |
---|
239 | if [ ${config} -eq 2 ] ; then |
---|
240 | ## Restartability tests for LOCK_EXCHANGE |
---|
241 | export TEST_NAME="LONG" |
---|
242 | cd ${MAIN_DIR} |
---|
243 | . ./makenemo -m ${CMP_NAM} -n LOCK_EXCHANGE_ST -a LOCK_EXCHANGE -j 8 del_key ${DEL_KEYS} |
---|
244 | cd ${SETTE_DIR} |
---|
245 | . ./param.cfg |
---|
246 | . ./all_functions.sh |
---|
247 | . ./prepare_exe_dir.sh |
---|
248 | JOB_FILE=${EXE_DIR}/run_job.sh |
---|
249 | NPROC=1 |
---|
250 | if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi |
---|
251 | cd ${EXE_DIR} |
---|
252 | set_namelist namelist_cfg cn_exp \"LOCK_LONG\" |
---|
253 | set_namelist namelist_cfg nn_it000 1 |
---|
254 | set_namelist namelist_cfg nn_stock 60 |
---|
255 | set_namelist namelist_cfg nn_itend 120 |
---|
256 | if [ ${USING_MPMD} == "yes" ] ; then |
---|
257 | set_xio_using_server iodef.xml true |
---|
258 | else |
---|
259 | set_xio_using_server iodef.xml false |
---|
260 | fi |
---|
261 | cd ${SETTE_DIR} |
---|
262 | . ./prepare_job.sh input_EMPTY.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} |
---|
263 | |
---|
264 | cd ${SETTE_DIR} |
---|
265 | export TEST_NAME="SHORT" |
---|
266 | . ./prepare_exe_dir.sh |
---|
267 | cd ${EXE_DIR} |
---|
268 | set_namelist namelist_cfg cn_exp \"LOCK_SHORT\" |
---|
269 | set_namelist namelist_cfg nn_it000 61 |
---|
270 | set_namelist namelist_cfg nn_itend 120 |
---|
271 | set_namelist namelist_cfg nn_stock 60 |
---|
272 | set_namelist namelist_cfg ln_rstart .true. |
---|
273 | set_namelist namelist_cfg nn_rstctl 2 |
---|
274 | set_namelist namelist_cfg cn_ocerst_in \"LOCK_LONG_00000060_restart\" |
---|
275 | if [ ${USING_MPMD} == "yes" ] ; then |
---|
276 | set_xio_using_server iodef.xml true |
---|
277 | else |
---|
278 | set_xio_using_server iodef.xml false |
---|
279 | fi |
---|
280 | ln -sf ../LONG/LOCK_LONG_00000060_restart.nc . |
---|
281 | |
---|
282 | cd ${SETTE_DIR} |
---|
283 | . ./prepare_job.sh input_EMPTY.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} |
---|
284 | cd ${SETTE_DIR} |
---|
285 | . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} |
---|
286 | |
---|
287 | ## Test for all advection, vector form, flux form: test runability and complete all time steps |
---|
288 | ## Needed namelist-xxxx for every type of run tested |
---|
289 | cd ${CONFIG_DIR}/${NEW_CONF}/EXP00 |
---|
290 | |
---|
291 | for file in $(echo `ls namelist_*_cfg `) ; do |
---|
292 | echo '' |
---|
293 | TEST_NAME=`echo $file | sed -e "s/namelist_//" | sed -e "s/_cfg//"` |
---|
294 | TEST_NAME="EXP-${TEST_NAME}" |
---|
295 | `mkdir ${CONFIG_DIR}/${NEW_CONF}/${TEST_NAME}` |
---|
296 | export TEST_NAME="${TEST_NAME}" |
---|
297 | ## |
---|
298 | cd ${SETTE_DIR} |
---|
299 | . ./param.cfg |
---|
300 | . ./all_functions.sh |
---|
301 | . ./prepare_exe_dir.sh |
---|
302 | JOB_FILE=${EXE_DIR}/run_job.sh |
---|
303 | NPROC=1 |
---|
304 | if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi |
---|
305 | cd ${EXE_DIR} |
---|
306 | rm namelist_*_*_*_* |
---|
307 | cp -pL ${CONFIG_DIR}/${NEW_CONF}/EXP00/$file namelist_cfg |
---|
308 | if [ ${USING_MPMD} == "yes" ] ; then |
---|
309 | set_xio_using_server iodef.xml true |
---|
310 | else |
---|
311 | set_xio_using_server iodef.xml false |
---|
312 | fi |
---|
313 | cd ${SETTE_DIR} |
---|
314 | . ./prepare_job.sh input_EMPTY.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} |
---|
315 | cd ${SETTE_DIR} |
---|
316 | . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} |
---|
317 | ## |
---|
318 | echo '' |
---|
319 | done |
---|
320 | fi |
---|
321 | |
---|
322 | # --------- |
---|
323 | # VORTEX |
---|
324 | # --------- |
---|
325 | if [ ${config} -eq 3 ] ; then |
---|
326 | ## Restartability tests for VORTEX |
---|
327 | export TEST_NAME="LONG" |
---|
328 | cd ${MAIN_DIR} |
---|
329 | . ./makenemo -m ${CMP_NAM} -n VORTEX_ST -a VORTEX -j 8 del_key ${DEL_KEYS} |
---|
330 | cd ${SETTE_DIR} |
---|
331 | . ./param.cfg |
---|
332 | . ./all_functions.sh |
---|
333 | . ./prepare_exe_dir.sh |
---|
334 | JOB_FILE=${EXE_DIR}/run_job.sh |
---|
335 | NPROC=6 |
---|
336 | if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi |
---|
337 | cd ${EXE_DIR} |
---|
338 | set_namelist namelist_cfg cn_exp \"VORTEX_LONG\" |
---|
339 | set_namelist namelist_cfg nn_it000 1 |
---|
340 | set_namelist namelist_cfg nn_itend 240 |
---|
341 | set_namelist namelist_cfg nn_stock 120 |
---|
342 | |
---|
343 | set_namelist 1_namelist_cfg cn_exp \"VORTEX_LONG\" |
---|
344 | set_namelist 1_namelist_cfg nn_it000 1 |
---|
345 | set_namelist 1_namelist_cfg nn_itend 720 |
---|
346 | set_namelist 1_namelist_cfg nn_stock 360 |
---|
347 | |
---|
348 | if [ ${USING_MPMD} == "yes" ] ; then |
---|
349 | set_xio_using_server iodef.xml true |
---|
350 | else |
---|
351 | set_xio_using_server iodef.xml false |
---|
352 | fi |
---|
353 | cd ${SETTE_DIR} |
---|
354 | . ./prepare_job.sh input_EMPTY.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} |
---|
355 | |
---|
356 | cd ${SETTE_DIR} |
---|
357 | export TEST_NAME="SHORT" |
---|
358 | . ./prepare_exe_dir.sh |
---|
359 | cd ${EXE_DIR} |
---|
360 | set_namelist namelist_cfg cn_exp \"VORTEX_SHORT\" |
---|
361 | set_namelist namelist_cfg nn_it000 121 |
---|
362 | set_namelist namelist_cfg nn_itend 240 |
---|
363 | set_namelist namelist_cfg nn_stock 120 |
---|
364 | set_namelist namelist_cfg ln_rstart .true. |
---|
365 | set_namelist namelist_cfg nn_rstctl 2 |
---|
366 | set_namelist namelist_cfg cn_ocerst_in \"VORTEX_LONG_00000120_restart\" |
---|
367 | |
---|
368 | set_namelist 1_namelist_cfg cn_exp \"VORTEX_SHORT\" |
---|
369 | set_namelist 1_namelist_cfg nn_it000 361 |
---|
370 | set_namelist 1_namelist_cfg nn_itend 720 |
---|
371 | set_namelist 1_namelist_cfg nn_stock 360 |
---|
372 | set_namelist 1_namelist_cfg ln_rstart .true. |
---|
373 | set_namelist 1_namelist_cfg nn_rstctl 2 |
---|
374 | set_namelist 1_namelist_cfg cn_ocerst_in \"VORTEX_LONG_00000360_restart\" |
---|
375 | |
---|
376 | if [ ${USING_MPMD} == "yes" ] ; then |
---|
377 | set_xio_using_server iodef.xml true |
---|
378 | else |
---|
379 | set_xio_using_server iodef.xml false |
---|
380 | fi |
---|
381 | if [ $NPROC -eq 1 ] ; then |
---|
382 | ln -sf ../LONG/VORTEX_LONG_00000120_restart.nc . |
---|
383 | ln -sf ../LONG/1_VORTEX_LONG_00000360_restart.nc . |
---|
384 | else |
---|
385 | for (( i=1; i<=$NPROC; i++)) ; do |
---|
386 | L_NPROC=$(( $i - 1 )) |
---|
387 | L_NPROC=`printf "%04d\n" ${L_NPROC}` |
---|
388 | ln -sf ../LONG/VORTEX_LONG_00000120_restart_${L_NPROC}.nc . |
---|
389 | ln -sf ../LONG/1_VORTEX_LONG_00000360_restart_${L_NPROC}.nc . |
---|
390 | done |
---|
391 | fi |
---|
392 | cd ${SETTE_DIR} |
---|
393 | . ./prepare_job.sh input_EMPTY.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} |
---|
394 | cd ${SETTE_DIR} |
---|
395 | . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} |
---|
396 | |
---|
397 | ## Reproducibility tests for VORTEX |
---|
398 | export TEST_NAME="REPRO_2_3" |
---|
399 | cd ${MAIN_DIR} |
---|
400 | cd ${SETTE_DIR} |
---|
401 | . ./param.cfg |
---|
402 | . ./all_functions.sh |
---|
403 | . ./prepare_exe_dir.sh |
---|
404 | JOB_FILE=${EXE_DIR}/run_job.sh |
---|
405 | NPROC=6 |
---|
406 | if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi |
---|
407 | cd ${EXE_DIR} |
---|
408 | set_namelist namelist_cfg cn_exp \"VORTEX_23\" |
---|
409 | set_namelist namelist_cfg nn_it000 1 |
---|
410 | set_namelist namelist_cfg nn_itend 240 |
---|
411 | set_namelist namelist_cfg nn_stock 120 |
---|
412 | set_namelist namelist_cfg jpni 2 |
---|
413 | set_namelist namelist_cfg jpnj 3 |
---|
414 | set_namelist namelist_cfg jpnij 6 |
---|
415 | |
---|
416 | set_namelist 1_namelist_cfg cn_exp \"VORTEX_23\" |
---|
417 | set_namelist 1_namelist_cfg nn_it000 1 |
---|
418 | set_namelist 1_namelist_cfg nn_itend 720 |
---|
419 | set_namelist 1_namelist_cfg nn_stock 360 |
---|
420 | set_namelist 1_namelist_cfg jpni 2 |
---|
421 | set_namelist 1_namelist_cfg jpnj 3 |
---|
422 | set_namelist 1_namelist_cfg jpnij 6 |
---|
423 | |
---|
424 | if [ ${USING_MPMD} == "yes" ] ; then |
---|
425 | set_xio_using_server iodef.xml true |
---|
426 | else |
---|
427 | set_xio_using_server iodef.xml false |
---|
428 | fi |
---|
429 | cd ${SETTE_DIR} |
---|
430 | . ./prepare_job.sh input_EMPTY.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} |
---|
431 | cd ${SETTE_DIR} |
---|
432 | . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} |
---|
433 | |
---|
434 | cd ${SETTE_DIR} |
---|
435 | export TEST_NAME="REPRO_3_2" |
---|
436 | . ./prepare_exe_dir.sh |
---|
437 | JOB_FILE=${EXE_DIR}/run_job.sh |
---|
438 | NPROC=6 |
---|
439 | if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi |
---|
440 | cd ${EXE_DIR} |
---|
441 | |
---|
442 | set_namelist namelist_cfg cn_exp \"VORTEX_32\" |
---|
443 | set_namelist namelist_cfg nn_it000 1 |
---|
444 | set_namelist namelist_cfg nn_itend 240 |
---|
445 | set_namelist namelist_cfg nn_stock 120 |
---|
446 | set_namelist namelist_cfg jpni 3 |
---|
447 | set_namelist namelist_cfg jpnj 2 |
---|
448 | set_namelist namelist_cfg jpnij 6 |
---|
449 | |
---|
450 | set_namelist 1_namelist_cfg cn_exp \"VORTEX_32\" |
---|
451 | set_namelist 1_namelist_cfg nn_it000 1 |
---|
452 | set_namelist 1_namelist_cfg nn_itend 720 |
---|
453 | set_namelist 1_namelist_cfg nn_stock 360 |
---|
454 | set_namelist 1_namelist_cfg jpni 3 |
---|
455 | set_namelist 1_namelist_cfg jpnj 2 |
---|
456 | set_namelist 1_namelist_cfg jpnij 6 |
---|
457 | |
---|
458 | if [ ${USING_MPMD} == "yes" ] ; then |
---|
459 | set_xio_using_server iodef.xml true |
---|
460 | else |
---|
461 | set_xio_using_server iodef.xml false |
---|
462 | fi |
---|
463 | cd ${SETTE_DIR} |
---|
464 | . ./prepare_job.sh input_EMPTY.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} |
---|
465 | cd ${SETTE_DIR} |
---|
466 | . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} |
---|
467 | |
---|
468 | fi |
---|
469 | |
---|
470 | |
---|
471 | # --------- |
---|
472 | # ICEDYN |
---|
473 | # --------- |
---|
474 | if [ ${config} -eq 4 ] ; then |
---|
475 | ## Restartability tests for ICEDYN |
---|
476 | export TEST_NAME="LONG" |
---|
477 | cd ${MAIN_DIR} |
---|
478 | . ./makenemo -m ${CMP_NAM} -n ICEDYN_ST -a ICEDYN -j 8 del_key ${DEL_KEYS} |
---|
479 | cd ${SETTE_DIR} |
---|
480 | . ./param.cfg |
---|
481 | . ./all_functions.sh |
---|
482 | . ./prepare_exe_dir.sh |
---|
483 | JOB_FILE=${EXE_DIR}/run_job.sh |
---|
484 | NPROC=6 |
---|
485 | if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi |
---|
486 | cd ${EXE_DIR} |
---|
487 | set_namelist namelist_cfg cn_exp \"ICEDYN_LONG\" |
---|
488 | set_namelist namelist_cfg nn_it000 1 |
---|
489 | set_namelist namelist_cfg nn_itend 200 |
---|
490 | set_namelist namelist_cfg nn_stock 100 |
---|
491 | |
---|
492 | #set_namelist namelist_ice_cfg ln_icethd .true. |
---|
493 | set_namelist namelist_ice_cfg ln_icedyn .true. |
---|
494 | set_namelist namelist_ice_cfg ln_dynFULL .true. |
---|
495 | set_namelist namelist_ice_cfg ln_dynRHGADV .false. |
---|
496 | set_namelist namelist_ice_cfg ln_dynADV .false. |
---|
497 | |
---|
498 | set_namelist 1_namelist_cfg cn_exp \"ICEDYN_LONG\" |
---|
499 | set_namelist 1_namelist_cfg nn_it000 1 |
---|
500 | set_namelist 1_namelist_cfg nn_itend 600 |
---|
501 | set_namelist 1_namelist_cfg nn_stock 300 |
---|
502 | |
---|
503 | #set_namelist 1_namelist_ice_cfg ln_icethd .true. |
---|
504 | set_namelist 1_namelist_ice_cfg ln_icedyn .true. |
---|
505 | set_namelist 1_namelist_ice_cfg ln_dynFULL .true. |
---|
506 | set_namelist 1_namelist_ice_cfg ln_dynRHGADV .false. |
---|
507 | set_namelist 1_namelist_ice_cfg ln_dynADV .false. |
---|
508 | if [ ${USING_MPMD} == "yes" ] ; then |
---|
509 | set_xio_using_server iodef.xml true |
---|
510 | else |
---|
511 | set_xio_using_server iodef.xml false |
---|
512 | fi |
---|
513 | cd ${SETTE_DIR} |
---|
514 | . ./prepare_job.sh input_ICEDYN.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} |
---|
515 | |
---|
516 | cd ${SETTE_DIR} |
---|
517 | export TEST_NAME="SHORT" |
---|
518 | . ./prepare_exe_dir.sh |
---|
519 | cd ${EXE_DIR} |
---|
520 | set_namelist namelist_cfg cn_exp \"ICEDYN_SHORT\" |
---|
521 | set_namelist namelist_cfg nn_it000 101 |
---|
522 | set_namelist namelist_cfg nn_itend 200 |
---|
523 | set_namelist namelist_cfg nn_stock 100 |
---|
524 | set_namelist namelist_cfg ln_rstart .true. |
---|
525 | set_namelist namelist_cfg nn_rstctl 2 |
---|
526 | |
---|
527 | #set_namelist namelist_ice_cfg ln_icethd .true. |
---|
528 | set_namelist namelist_ice_cfg ln_icedyn .true. |
---|
529 | set_namelist namelist_ice_cfg ln_dynFULL .true. |
---|
530 | set_namelist namelist_ice_cfg ln_dynRHGADV .false. |
---|
531 | set_namelist namelist_ice_cfg ln_dynADV .false. |
---|
532 | set_namelist namelist_cfg cn_ocerst_in \"ICEDYN_LONG_00000100_restart\" |
---|
533 | set_namelist namelist_ice_cfg cn_icerst_in \"ICEDYN_LONG_00000100_restart_ice\" |
---|
534 | |
---|
535 | set_namelist 1_namelist_cfg cn_exp \"ICEDYN_SHORT\" |
---|
536 | set_namelist 1_namelist_cfg nn_it000 301 |
---|
537 | set_namelist 1_namelist_cfg nn_itend 600 |
---|
538 | set_namelist 1_namelist_cfg nn_stock 300 |
---|
539 | set_namelist 1_namelist_cfg ln_rstart .true. |
---|
540 | set_namelist 1_namelist_cfg nn_rstctl 2 |
---|
541 | |
---|
542 | #set_namelist 1_namelist_ice_cfg ln_icethd .true. |
---|
543 | set_namelist 1_namelist_ice_cfg ln_icedyn .true. |
---|
544 | set_namelist 1_namelist_ice_cfg ln_dynFULL .true. |
---|
545 | set_namelist 1_namelist_ice_cfg ln_dynRHGADV .false. |
---|
546 | set_namelist 1_namelist_ice_cfg ln_dynADV .false. |
---|
547 | set_namelist 1_namelist_cfg cn_ocerst_in \"ICEDYN_LONG_00000300_restart\" |
---|
548 | set_namelist 1_namelist_ice_cfg cn_icerst_in \"ICEDYN_LONG_00000300_restart_ice\" |
---|
549 | |
---|
550 | |
---|
551 | if [ ${USING_MPMD} == "yes" ] ; then |
---|
552 | set_xio_using_server iodef.xml true |
---|
553 | else |
---|
554 | set_xio_using_server iodef.xml false |
---|
555 | fi |
---|
556 | if [ $NPROC -eq 1 ] ; then |
---|
557 | ln -sf ../LONG/ICEDYN_LONG_00000100_restart.nc . |
---|
558 | ln -sf ../LONG/ICEDYN_LONG_00000100_restart_ice.nc . |
---|
559 | ln -sf ../LONG/1_ICEDYN_LONG_00000300_restart.nc . |
---|
560 | ln -sf ../LONG/1_ICEDYN_LONG_00000300_restart_ice.nc . |
---|
561 | else |
---|
562 | for (( i=1; i<=$NPROC; i++)) ; do |
---|
563 | L_NPROC=$(( $i - 1 )) |
---|
564 | L_NPROC=`printf "%04d\n" ${L_NPROC}` |
---|
565 | ln -sf ../LONG/ICEDYN_LONG_00000100_restart_${L_NPROC}.nc . |
---|
566 | ln -sf ../LONG/ICEDYN_LONG_00000100_restart_ice_${L_NPROC}.nc . |
---|
567 | ln -sf ../LONG/1_ICEDYN_LONG_00000300_restart_${L_NPROC}.nc . |
---|
568 | ln -sf ../LONG/1_ICEDYN_LONG_00000300_restart_ice_${L_NPROC}.nc . |
---|
569 | done |
---|
570 | fi |
---|
571 | |
---|
572 | cd ${SETTE_DIR} |
---|
573 | . ./prepare_job.sh input_ICEDYN.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} |
---|
574 | cd ${SETTE_DIR} |
---|
575 | . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} |
---|
576 | |
---|
577 | |
---|
578 | ## Reproducibility tests for ICEDYN |
---|
579 | export TEST_NAME="REPRO_2_3" |
---|
580 | cd ${MAIN_DIR} |
---|
581 | cd ${SETTE_DIR} |
---|
582 | . ./param.cfg |
---|
583 | . ./all_functions.sh |
---|
584 | . ./prepare_exe_dir.sh |
---|
585 | JOB_FILE=${EXE_DIR}/run_job.sh |
---|
586 | NPROC=6 |
---|
587 | if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi |
---|
588 | cd ${EXE_DIR} |
---|
589 | set_namelist namelist_cfg cn_exp \"ICEDYN_23\" |
---|
590 | set_namelist namelist_cfg nn_it000 1 |
---|
591 | set_namelist namelist_cfg nn_itend 200 |
---|
592 | set_namelist namelist_cfg nn_stock 100 |
---|
593 | set_namelist namelist_cfg jpni 2 |
---|
594 | set_namelist namelist_cfg jpnj 3 |
---|
595 | set_namelist namelist_cfg jpnij 6 |
---|
596 | |
---|
597 | #set_namelist namelist_ice_cfg ln_icethd .true. |
---|
598 | set_namelist namelist_ice_cfg ln_icedyn .true. |
---|
599 | set_namelist namelist_ice_cfg ln_dynFULL .true. |
---|
600 | set_namelist namelist_ice_cfg ln_dynRHGADV .false. |
---|
601 | set_namelist namelist_ice_cfg ln_dynADV .false. |
---|
602 | |
---|
603 | set_namelist 1_namelist_cfg cn_exp \"ICEDYN_23\" |
---|
604 | set_namelist 1_namelist_cfg nn_it000 1 |
---|
605 | set_namelist 1_namelist_cfg nn_itend 600 |
---|
606 | set_namelist 1_namelist_cfg nn_stock 300 |
---|
607 | set_namelist 1_namelist_cfg jpni 2 |
---|
608 | set_namelist 1_namelist_cfg jpnj 3 |
---|
609 | set_namelist 1_namelist_cfg jpnij 6 |
---|
610 | |
---|
611 | #set_namelist 1_namelist_ice_cfg ln_icethd .true. |
---|
612 | set_namelist 1_namelist_ice_cfg ln_icedyn .true. |
---|
613 | set_namelist 1_namelist_ice_cfg ln_dynFULL .true. |
---|
614 | set_namelist 1_namelist_ice_cfg ln_dynRHGADV .false. |
---|
615 | set_namelist 1_namelist_ice_cfg ln_dynADV .false. |
---|
616 | |
---|
617 | if [ ${USING_MPMD} == "yes" ] ; then |
---|
618 | set_xio_using_server iodef.xml true |
---|
619 | else |
---|
620 | set_xio_using_server iodef.xml false |
---|
621 | fi |
---|
622 | cd ${SETTE_DIR} |
---|
623 | . ./prepare_job.sh input_ICEDYN.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} |
---|
624 | cd ${SETTE_DIR} |
---|
625 | . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} |
---|
626 | |
---|
627 | cd ${SETTE_DIR} |
---|
628 | export TEST_NAME="REPRO_3_2" |
---|
629 | . ./prepare_exe_dir.sh |
---|
630 | JOB_FILE=${EXE_DIR}/run_job.sh |
---|
631 | NPROC=6 |
---|
632 | if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi |
---|
633 | cd ${EXE_DIR} |
---|
634 | |
---|
635 | set_namelist namelist_cfg cn_exp \"ICEDYN_32\" |
---|
636 | set_namelist namelist_cfg nn_it000 1 |
---|
637 | set_namelist namelist_cfg nn_itend 200 |
---|
638 | set_namelist namelist_cfg nn_stock 100 |
---|
639 | set_namelist namelist_cfg jpni 3 |
---|
640 | set_namelist namelist_cfg jpnj 2 |
---|
641 | set_namelist namelist_cfg jpnij 6 |
---|
642 | |
---|
643 | #set_namelist namelist_ice_cfg ln_icethd .true. |
---|
644 | set_namelist namelist_ice_cfg ln_icedyn .true. |
---|
645 | set_namelist namelist_ice_cfg ln_dynFULL .true. |
---|
646 | set_namelist namelist_ice_cfg ln_dynRHGADV .false. |
---|
647 | set_namelist namelist_ice_cfg ln_dynADV .false. |
---|
648 | |
---|
649 | set_namelist 1_namelist_cfg cn_exp \"ICEDYN_32\" |
---|
650 | set_namelist 1_namelist_cfg nn_it000 1 |
---|
651 | set_namelist 1_namelist_cfg nn_itend 600 |
---|
652 | set_namelist 1_namelist_cfg nn_stock 300 |
---|
653 | set_namelist 1_namelist_cfg jpni 3 |
---|
654 | set_namelist 1_namelist_cfg jpnj 2 |
---|
655 | set_namelist 1_namelist_cfg jpnij 6 |
---|
656 | |
---|
657 | #set_namelist 1_namelist_ice_cfg ln_icethd .true. |
---|
658 | set_namelist 1_namelist_ice_cfg ln_icedyn .true. |
---|
659 | set_namelist 1_namelist_ice_cfg ln_dynFULL .true. |
---|
660 | set_namelist 1_namelist_ice_cfg ln_dynRHGADV .false. |
---|
661 | set_namelist 1_namelist_ice_cfg ln_dynADV .false. |
---|
662 | |
---|
663 | if [ ${USING_MPMD} == "yes" ] ; then |
---|
664 | set_xio_using_server iodef.xml true |
---|
665 | else |
---|
666 | set_xio_using_server iodef.xml false |
---|
667 | fi |
---|
668 | cd ${SETTE_DIR} |
---|
669 | . ./prepare_job.sh input_ICEDYN.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} |
---|
670 | cd ${SETTE_DIR} |
---|
671 | . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} |
---|
672 | |
---|
673 | fi |
---|
674 | |
---|
675 | # ------ |
---|
676 | # ISOMIP |
---|
677 | # ------ |
---|
678 | if [ ${config} -eq 5 ] ; then |
---|
679 | ## Restartability tests |
---|
680 | export TEST_NAME="LONG" |
---|
681 | cd ${MAIN_DIR} |
---|
682 | . ./makenemo -m ${CMP_NAM} -n ISOMIP_ST -a ISOMIP -j 8 del_key ${DEL_KEYS} |
---|
683 | cd ${SETTE_DIR} |
---|
684 | . ./param.cfg |
---|
685 | . ./all_functions.sh |
---|
686 | . ./prepare_exe_dir.sh |
---|
687 | JOB_FILE=${EXE_DIR}/run_job.sh |
---|
688 | NPROC=15 |
---|
689 | if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi |
---|
690 | cd ${EXE_DIR} |
---|
691 | set_namelist namelist_cfg cn_exp \"ISOMIP_LONG\" |
---|
692 | set_namelist namelist_cfg nn_it000 1 |
---|
693 | set_namelist namelist_cfg nn_itend 96 |
---|
694 | set_namelist namelist_cfg nn_stock 48 |
---|
695 | set_namelist namelist_cfg jpni 5 |
---|
696 | set_namelist namelist_cfg jpnj 3 |
---|
697 | set_namelist namelist_cfg jpnij 15 |
---|
698 | if [ ${USING_MPMD} == "yes" ] ; then |
---|
699 | set_xio_using_server iodef.xml true |
---|
700 | else |
---|
701 | set_xio_using_server iodef.xml false |
---|
702 | fi |
---|
703 | cd ${SETTE_DIR} |
---|
704 | . ./prepare_job.sh input_ISOMIP.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} |
---|
705 | |
---|
706 | cd ${SETTE_DIR} |
---|
707 | export TEST_NAME="SHORT" |
---|
708 | . ./prepare_exe_dir.sh |
---|
709 | cd ${EXE_DIR} |
---|
710 | set_namelist namelist_cfg cn_exp \"ISOMIP_SHORT\" |
---|
711 | set_namelist namelist_cfg nn_it000 49 |
---|
712 | set_namelist namelist_cfg nn_itend 96 |
---|
713 | set_namelist namelist_cfg nn_stock 48 |
---|
714 | set_namelist namelist_cfg ln_rstart .true. |
---|
715 | set_namelist namelist_cfg nn_rstctl 2 |
---|
716 | set_namelist namelist_cfg jpni 5 |
---|
717 | set_namelist namelist_cfg jpnj 3 |
---|
718 | set_namelist namelist_cfg jpnij 15 |
---|
719 | set_namelist namelist_cfg cn_ocerst_in \"ISOMIP_LONG_00000048_restart\" |
---|
720 | if [ ${USING_MPMD} == "yes" ] ; then |
---|
721 | set_xio_using_server iodef.xml true |
---|
722 | else |
---|
723 | set_xio_using_server iodef.xml false |
---|
724 | fi |
---|
725 | for (( i=1; i<=$NPROC; i++)) ; do |
---|
726 | L_NPROC=$(( $i - 1 )) |
---|
727 | L_NPROC=`printf "%04d\n" ${L_NPROC}` |
---|
728 | ln -sf ../LONG/ISOMIP_LONG_00000048_restart_${L_NPROC}.nc . |
---|
729 | done |
---|
730 | |
---|
731 | cd ${SETTE_DIR} |
---|
732 | . ./prepare_job.sh input_ISOMIP.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} |
---|
733 | cd ${SETTE_DIR} |
---|
734 | . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} |
---|
735 | |
---|
736 | ## Reproducibility tests |
---|
737 | export TEST_NAME="REPRO_7_3" |
---|
738 | cd ${MAIN_DIR} |
---|
739 | cd ${SETTE_DIR} |
---|
740 | . ./param.cfg |
---|
741 | . ./all_functions.sh |
---|
742 | . ./prepare_exe_dir.sh |
---|
743 | JOB_FILE=${EXE_DIR}/run_job.sh |
---|
744 | NPROC=21 |
---|
745 | if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi |
---|
746 | cd ${EXE_DIR} |
---|
747 | set_namelist namelist_cfg cn_exp \"ISOMIP_73\" |
---|
748 | set_namelist namelist_cfg nn_it000 1 |
---|
749 | set_namelist namelist_cfg nn_itend 48 |
---|
750 | set_namelist namelist_cfg jpni 7 |
---|
751 | set_namelist namelist_cfg jpnj 3 |
---|
752 | set_namelist namelist_cfg jpnij 21 |
---|
753 | if [ ${USING_MPMD} == "yes" ] ; then |
---|
754 | set_xio_using_server iodef.xml true |
---|
755 | else |
---|
756 | set_xio_using_server iodef.xml false |
---|
757 | fi |
---|
758 | cd ${SETTE_DIR} |
---|
759 | . ./prepare_job.sh input_ISOMIP.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} |
---|
760 | cd ${SETTE_DIR} |
---|
761 | . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} |
---|
762 | |
---|
763 | cd ${SETTE_DIR} |
---|
764 | export TEST_NAME="REPRO_8_4" |
---|
765 | . ./prepare_exe_dir.sh |
---|
766 | JOB_FILE=${EXE_DIR}/run_job.sh |
---|
767 | NPROC=32 |
---|
768 | if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi |
---|
769 | cd ${EXE_DIR} |
---|
770 | set_namelist namelist_cfg cn_exp \"ISOMIP_84\" |
---|
771 | set_namelist namelist_cfg nn_it000 1 |
---|
772 | set_namelist namelist_cfg nn_itend 48 |
---|
773 | set_namelist namelist_cfg jpni 8 |
---|
774 | set_namelist namelist_cfg jpnj 4 |
---|
775 | set_namelist namelist_cfg jpnij 32 |
---|
776 | if [ ${USING_MPMD} == "yes" ] ; then |
---|
777 | set_xio_using_server iodef.xml true |
---|
778 | else |
---|
779 | set_xio_using_server iodef.xml false |
---|
780 | fi |
---|
781 | cd ${SETTE_DIR} |
---|
782 | . ./prepare_job.sh input_ISOMIP.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} |
---|
783 | cd ${SETTE_DIR} |
---|
784 | . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} |
---|
785 | |
---|
786 | fi |
---|
787 | |
---|
788 | #---- |
---|
789 | done |
---|