source: branches/2013/dev_LOCEAN_CMCC_INGV_MERC_UKMO_2013/NEMOGCM/SETTE/sette.sh @ 4273

Last change on this file since 4273 was 4273, checked in by flavoni, 7 years ago

mistake on AMM12 restarts

  • Property svn:executable set to *
File size: 34.7 KB
Line 
1#!/bin/bash
2############################################################
3# Author : Simona Flavoni for NEMO
4# Contact: sflod@locean-ipsl.upmc.fr
5# 2013   : A.C. Coward added options for testing with XIOS in dettached mode
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#############################################################
14#set -x
15set -o posix
16#set -u
17#set -e
18# ===========
19# DESCRIPTION
20# ===========
21#
22# Variables to be checked by user:
23#
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"
40#
41# Principal script is sette.sh, that calls
42#
43#  makenemo  : to create successive exectuables in ${CONFIG_NAME}/BLD/bin/nemo.exe
44#              and links to opa in ${CONFIG_NAME}/EXP00)
45#
46#  param.cfg : sets and loads following directories:
47#
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)
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#
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
58#                      (solver.stat and ocean.output) in it after execution of test.
59#
60#  VALIDATION tree is:
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
65#                       execution directory takes name of TEST_NAME defined for every test
66#                       in sette.sh. (each test in executed in its own directory)
67#
68#  prepare_job.sh     : to generate the script run_job.sh
69#
70#  fcm_job.sh         : run in batch (INTERACT_FLAG="no") or interactive (INTERACT_FLAG="yes")
71#                        see sette.sh and BATCH_TEMPLATE directory
72#
73#  NOTE: jobs requiring initial or forcing data need to have an input_CONFIG.cfg in which
74#        can be found paths to the input tar file)
75#  NOTE: if job is not launched for any reason you have the executable ready in ${EXE_DIR}
76#        directory
77#  NOTE: the changed namelists are left in ${EXE_DIR} directory whereas original namelists
78#        remain in ${NEW_CONF}/EXP00
79#
80#  NOTE: a log file, output.sette, is created in ${SETTE_DIR} with the echoes of
81#        executed commands
82#
83#  NOTE: if sette.sh is stopped in output.sette there is written the last command
84#        executed by sette.sh
85#
86# example use: ./sette.sh
87#########################################################################################
88#
89# Compiler among those in NEMOGCM/ARCH
90COMPILER=x3750_ADA
91export BATCH_COMMAND_PAR="llsubmit"
92export BATCH_COMMAND_SEQ=$BATCH_COMMAND_PAR
93export INTERACT_FLAG="no"
94export MPIRUN_FLAG="yes"
95export USING_XIOS="yes"
96#
97export DEL_KEYS="key_iomput"
98if [ ${USING_XIOS} == "yes" ] 
99 then
100   export DEL_KEYS=""
101fi
102#
103# Settings which control the use of stand alone servers (only relevant if using xios)
104#
105export USING_MPMD="no"
106export NUM_XIOSERVERS=4
107export JOB_PREFIX=batch-mpmd
108#
109if [ ${USING_MPMD} == "no" ] 
110 then
111   export NUM_XIOSERVERS=0
112   export JOB_PREFIX=batch
113fi
114#
115#
116if [ ${USING_MPMD} == "yes" ] && [ ${USING_XIOS} == "no"]
117 then
118   echo "Incompatible choices. MPMD mode requires the XIOS server"
119   exit
120fi
121#
122
123# Directory to run the tests
124SETTE_DIR=$(cd $(dirname "$0"); pwd)
125MAIN_DIR=${SETTE_DIR%/SETTE}
126CONFIG_DIR=${MAIN_DIR}/CONFIG
127TOOLS_DIR=${MAIN_DIR}/TOOLS
128COMPIL_DIR=${TOOLS_DIR}/COMPILE
129
130CMP_NAM=${1:-$COMPILER}
131# Copy job_batch_COMPILER file for specific compiler into job_batch_template
132cd ${SETTE_DIR}
133cp BATCH_TEMPLATE/${JOB_PREFIX}-${COMPILER} job_batch_template || exit
134
135for config in 1 2 3 4 5 6 7 8 9 10 11
136
137do
138
139# TESTS FOR GYRE CONFIGURATION
140if [ ${config} -eq 1 ] ;  then
141    ## Restartability tests for GYRE
142    export TEST_NAME="LONG"
143    cd ${CONFIG_DIR}
144    . ./makenemo -m ${CMP_NAM} -n GYRE_LONG -r GYRE -j 8 del_key ${DEL_KEYS}
145    cd ${SETTE_DIR}
146    . ./param.cfg
147    . ./all_functions.sh
148    . ./prepare_exe_dir.sh
149    JOB_FILE=${EXE_DIR}/run_job.sh
150    NPROC=4
151    if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi
152    cd ${EXE_DIR} 
153    set_namelist namelist_cfg cn_exp \"GYRE_LONG\"
154    set_namelist namelist_cfg nn_it000 1
155    set_namelist namelist_cfg nn_itend 120
156    set_namelist namelist_cfg nn_stock 60
157    set_namelist namelist_cfg ln_clobber .true.
158    set_namelist namelist_cfg nn_solv 2
159    set_namelist namelist_cfg jpni 2
160    set_namelist namelist_cfg jpnj 2
161    set_namelist namelist_cfg jpnij 4
162    if [ ${USING_MPMD} == "yes" ] ; then
163       set_xio_using_server iodef.xml true
164    else
165       set_xio_using_server iodef.xml false
166    fi
167    cd ${SETTE_DIR}
168    . ./prepare_job.sh input_GYRE.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS}
169
170    cd ${SETTE_DIR}
171    export TEST_NAME="SHORT"
172    . ./prepare_exe_dir.sh
173    cd ${EXE_DIR}
174    set_namelist namelist_cfg cn_exp \"GYRE_SHORT\"
175    set_namelist namelist_cfg nn_it000 61
176    set_namelist namelist_cfg nn_itend 120
177    set_namelist namelist_cfg nn_stock 60
178    set_namelist namelist_cfg ln_rstart .true.
179    set_namelist namelist_cfg nn_rstctl 2
180    set_namelist namelist_cfg ln_clobber .true.
181    set_namelist namelist_cfg nn_solv 2
182    set_namelist namelist_cfg jpni 2
183    set_namelist namelist_cfg jpnj 2
184    set_namelist namelist_cfg jpnij 4
185    set_namelist namelist_cfg cn_ocerst_in \"GYRE_LONG_00000060_restart\"
186    if [ ${USING_MPMD} == "yes" ] ; then
187       set_xio_using_server iodef.xml true
188    else
189       set_xio_using_server iodef.xml false
190    fi
191    for (( i=1; i<=$NPROC; i++)) ; do
192        L_NPROC=$(( $i - 1 ))
193        L_NPROC=`printf "%04d\n" ${L_NPROC}`
194        ln -sf ../LONG/GYRE_LONG_00000060_restart_${L_NPROC}.nc .
195    done
196    if [ ${USING_MPMD} == "yes" ] ; then
197       set_xio_using_server iodef.xml true
198    else
199       set_xio_using_server iodef.xml false
200    fi
201    cd ${SETTE_DIR}
202    . ./prepare_job.sh input_GYRE.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS}
203    cd ${SETTE_DIR}
204    . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG}
205fi
206
207if [ ${config} -eq 2 ] ;  then
208    ## Reproducibility tests for GYRE
209    export TEST_NAME="REPRO_1_4"
210    cd ${CONFIG_DIR}
211    . ./makenemo -m ${CMP_NAM} -n GYRE_4 -r GYRE -j 8 add_key "key_mpp_rep" del_key ${DEL_KEYS}
212    cd ${SETTE_DIR}
213    . ./param.cfg
214    . ./all_functions.sh
215    . ./prepare_exe_dir.sh
216    JOB_FILE=${EXE_DIR}/run_job.sh
217    NPROC=4
218    if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi
219    cd ${EXE_DIR}
220    set_namelist namelist_cfg cn_exp \"GYRE_14\"
221    set_namelist namelist_cfg nn_it000 1
222    set_namelist namelist_cfg nn_itend 60
223    set_namelist namelist_cfg nn_fwb 0
224    set_namelist namelist_cfg nn_bench 0
225    set_namelist namelist_cfg ln_ctl .false.
226    set_namelist namelist_cfg ln_clobber .true.
227    set_namelist namelist_cfg nn_solv 2
228    set_namelist namelist_cfg jpni 1
229    set_namelist namelist_cfg jpnj 4
230    set_namelist namelist_cfg jpnij 4
231    if [ ${USING_MPMD} == "yes" ] ; then
232       set_xio_using_server iodef.xml true
233    else
234       set_xio_using_server iodef.xml false
235    fi
236    cd ${SETTE_DIR}
237    . ./prepare_job.sh input_GYRE.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS}
238    cd ${SETTE_DIR}
239    . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG}
240
241    cd ${SETTE_DIR}
242    export TEST_NAME="REPRO_2_2"
243    . ./prepare_exe_dir.sh
244    JOB_FILE=${EXE_DIR}/run_job.sh
245    NPROC=4
246    if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi
247    cd ${EXE_DIR}
248    set_namelist namelist_cfg cn_exp \"GYRE_22\"
249    set_namelist namelist_cfg nn_it000 1
250    set_namelist namelist_cfg nn_itend 60
251    set_namelist namelist_cfg nn_fwb 0
252    set_namelist namelist_cfg ln_ctl .false.
253    set_namelist namelist_cfg ln_clobber .true.
254    set_namelist namelist_cfg nn_solv 2
255    set_namelist namelist_cfg jpni 2
256    set_namelist namelist_cfg jpnj 2
257    set_namelist namelist_cfg jpnij 4
258    if [ ${USING_MPMD} == "yes" ] ; then
259       set_xio_using_server iodef.xml true
260    else
261       set_xio_using_server iodef.xml false
262    fi
263    cd ${SETTE_DIR}
264    . ./prepare_job.sh input_GYRE.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS}
265    cd ${SETTE_DIR}
266    . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG}
267
268fi
269
270# TESTS FOR ORCA2_LIM_PISCES CONFIGURATION
271if [ ${config} -eq 3 ] ;  then
272    ## Restartability tests for ORCA2_LIM_PISCES
273    export TEST_NAME="LONG"
274    cd ${CONFIG_DIR}
275    . ./makenemo -m ${CMP_NAM} -n ORCA2LIMPIS_LONG -r ORCA2_LIM_PISCES -j 8 del_key ${DEL_KEYS}
276    cd ${SETTE_DIR}
277    . ./param.cfg
278    . ./all_functions.sh
279    . ./prepare_exe_dir.sh
280    JOB_FILE=${EXE_DIR}/run_job.sh
281    NPROC=4
282    if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi
283    cd ${EXE_DIR}
284    set_namelist namelist_cfg cn_exp \"O2LP_LONG\"
285    set_namelist namelist_cfg nn_it000 1
286    set_namelist namelist_cfg nn_itend 150
287    set_namelist namelist_cfg nn_stock 75
288    set_namelist namelist_cfg ln_clobber .true.
289    set_namelist namelist_cfg jpni 2
290    set_namelist namelist_cfg jpnj 2
291    set_namelist namelist_cfg jpnij 4
292    set_namelist namelist_cfg nn_solv 2
293    set_namelist namelist_top_cfg ln_trcdta .false.
294    set_namelist namelist_top_cfg ln_diatrc .false.
295    # put ln_ironsed, ln_river, ln_ndepo, ln_dust to false
296    # if not you need input files, and for tests is not necessary
297    set_namelist namelist_pisces_cfg ln_presatm .false.
298    set_namelist namelist_pisces_cfg ln_varpar .false.
299    set_namelist namelist_pisces_cfg ln_dust .false.
300    set_namelist namelist_pisces_cfg ln_solub .false.
301    set_namelist namelist_pisces_cfg ln_river .false.
302    set_namelist namelist_pisces_cfg ln_ndepo .false.
303    set_namelist namelist_pisces_cfg ln_ironsed .false.
304    set_namelist namelist_pisces_cfg ln_hydrofe .false.
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
310    cd ${SETTE_DIR}
311    . ./prepare_job.sh input_ORCA2_LIM_PISCES.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS}
312   
313    cd ${SETTE_DIR}
314    export TEST_NAME="SHORT"
315    . ./prepare_exe_dir.sh
316    cd ${EXE_DIR}
317    set_namelist namelist_cfg cn_exp \"O2LP_SHORT\"
318    set_namelist namelist_cfg nn_it000 76
319    set_namelist namelist_cfg nn_itend 150
320    set_namelist namelist_cfg nn_stock 75
321    set_namelist namelist_cfg ln_rstart .true.
322    set_namelist namelist_cfg nn_rstctl 2
323    set_namelist namelist_cfg ln_clobber .true.
324    set_namelist namelist_cfg jpni 2
325    set_namelist namelist_cfg jpnj 2
326    set_namelist namelist_cfg jpnij 4
327    set_namelist namelist_cfg nn_solv 2
328    set_namelist namelist_top_cfg ln_diatrc .false.
329    set_namelist namelist_top_cfg ln_rsttr .true.
330    set_namelist namelist_top_cfg nn_rsttr 2
331    set_namelist namelist_cfg cn_ocerst_in \"O2LP_LONG_00000075_restart\"
332    set_namelist namelist_ice_cfg cn_icerst_in \"O2LP_LONG_00000075_restart_ice\"
333    set_namelist namelist_top_cfg cn_trcrst_in \"O2LP_LONG_00000075_restart_trc\"
334    # put ln_ironsed, ln_river, ln_ndepo, ln_dust
335    # if not you need input files, and for tests is not necessary
336    set_namelist namelist_pisces_cfg ln_presatm .false.
337    set_namelist namelist_pisces_cfg ln_varpar .false.
338    set_namelist namelist_pisces_cfg ln_dust .false.
339    set_namelist namelist_pisces_cfg ln_solub .false.
340    set_namelist namelist_pisces_cfg ln_river .false.
341    set_namelist namelist_pisces_cfg ln_ndepo .false.
342    set_namelist namelist_pisces_cfg ln_ironsed .false.
343    set_namelist namelist_pisces_cfg ln_hydrofe .false.
344    # put ln_pisdmp to false : no restoring to global mean value
345    set_namelist namelist_pisces_cfg ln_pisdmp .false.
346    for (( i=1; i<=$NPROC; i++)) ; do
347        L_NPROC=$(( $i - 1 ))
348        L_NPROC=`printf "%04d\n" ${L_NPROC}`
349        ln -sf ../LONG/O2LP_LONG_00000075_restart_${L_NPROC}.nc .
350        ln -sf ../LONG/O2LP_LONG_00000075_restart_trc_${L_NPROC}.nc .
351        ln -sf ../LONG/O2LP_LONG_00000075_restart_ice_${L_NPROC}.nc .
352    done
353    if [ ${USING_MPMD} == "yes" ] ; then
354       set_xio_using_server iodef.xml true
355    else
356       set_xio_using_server iodef.xml false
357    fi
358    cd ${SETTE_DIR}
359    . ./prepare_job.sh input_ORCA2_LIM_PISCES.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS}
360    cd ${SETTE_DIR}
361    . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG}
362fi
363
364if [ ${config} -eq 4 ] ;  then
365    ## Reproducibility tests for ORCA2_LIM_PISCES
366    export TEST_NAME="REPRO_4_4"
367    cd ${CONFIG_DIR}
368    . ./makenemo -m ${CMP_NAM} -n ORCA2LIMPIS_16 -r ORCA2_LIM_PISCES -j 8 add_key "key_mpp_rep" del_key ${DEL_KEYS}
369    cd ${SETTE_DIR}
370    . ./param.cfg
371    . ./all_functions.sh
372    . ./prepare_exe_dir.sh
373    JOB_FILE=${EXE_DIR}/run_job.sh
374    NPROC=16
375    if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi
376    cd ${EXE_DIR}
377    set_namelist namelist_cfg nn_it000 1
378    set_namelist namelist_cfg nn_itend 75
379    set_namelist namelist_cfg nn_fwb 0
380    set_namelist namelist_cfg ln_ctl .false.
381    set_namelist namelist_cfg ln_clobber .true.
382    set_namelist namelist_cfg jpni 4
383    set_namelist namelist_cfg jpnj 4
384    set_namelist namelist_cfg jpnij 16
385    set_namelist namelist_cfg nn_solv 2
386    set_namelist namelist_top_cfg ln_trcdta .false.
387    set_namelist namelist_top_cfg ln_diatrc .false.
388    # put ln_ironsed, ln_river, ln_ndepo, ln_dust to false
389    # if not you need input files, and for tests is not necessary
390    set_namelist namelist_pisces_cfg ln_presatm .false.
391    set_namelist namelist_pisces_cfg ln_varpar .false.
392    set_namelist namelist_pisces_cfg ln_dust .false.
393    set_namelist namelist_pisces_cfg ln_solub .false.
394    set_namelist namelist_pisces_cfg ln_river .false.
395    set_namelist namelist_pisces_cfg ln_ndepo .false.
396    set_namelist namelist_pisces_cfg ln_ironsed .false.
397    set_namelist namelist_pisces_cfg ln_hydrofe .false.
398    # put ln_pisdmp to false : no restoring to global mean value
399    set_namelist namelist_pisces_cfg ln_pisdmp .false.
400    if [ ${USING_MPMD} == "yes" ] ; then
401       set_xio_using_server iodef.xml true
402    else
403       set_xio_using_server iodef.xml false
404    fi
405    cd ${SETTE_DIR}
406    . ./prepare_job.sh input_ORCA2_LIM_PISCES.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS}
407    cd ${SETTE_DIR}
408    . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG}
409
410    cd ${SETTE_DIR}
411    export TEST_NAME="REPRO_2_8"
412    . ./prepare_exe_dir.sh
413    JOB_FILE=${EXE_DIR}/run_job.sh
414    NPROC=16
415    if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi
416    cd ${EXE_DIR}
417    set_namelist namelist_cfg nn_it000 1
418    set_namelist namelist_cfg nn_itend 75
419    set_namelist namelist_cfg nn_fwb 0
420    set_namelist namelist_cfg ln_clobber .true.
421    set_namelist namelist_cfg jpni 2
422    set_namelist namelist_cfg jpnj 8
423    set_namelist namelist_cfg jpnij 16
424    set_namelist namelist_cfg nn_solv 2
425    set_namelist namelist_top_cfg ln_trcdta .false.
426    set_namelist namelist_top_cfg ln_diatrc .false.
427    # put ln_ironsed, ln_river, ln_ndepo, ln_dust to false
428    # if not you need input files, and for tests is not necessary
429    set_namelist namelist_pisces_cfg ln_presatm .false.
430    set_namelist namelist_pisces_cfg ln_varpar .false.
431    set_namelist namelist_pisces_cfg ln_dust .false.
432    set_namelist namelist_pisces_cfg ln_solub .false.
433    set_namelist namelist_pisces_cfg ln_river .false.
434    set_namelist namelist_pisces_cfg ln_ndepo .false.
435    set_namelist namelist_pisces_cfg ln_ironsed .false.
436    set_namelist namelist_pisces_cfg ln_hydrofe .false.
437    # put ln_pisdmp to false : no restoring to global mean value
438    set_namelist namelist_pisces_cfg ln_pisdmp .false.
439    if [ ${USING_MPMD} == "yes" ] ; then
440       set_xio_using_server iodef.xml true
441    else
442       set_xio_using_server iodef.xml false
443    fi
444    cd ${SETTE_DIR}
445    . ./prepare_job.sh input_ORCA2_LIM_PISCES.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS}
446    cd ${SETTE_DIR}
447    . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG}
448fi
449
450# TESTS FOR ORCA2_OFF_PISCES CONFIGURATION
451if [ ${config} -eq 5 ] ;  then
452    ## Restartability tests for ORCA2_OFF_PISCES
453    export TEST_NAME="LONG"
454    cd ${CONFIG_DIR}
455    . ./makenemo -m ${CMP_NAM} -n ORCA2OFFPIS_LONG -r ORCA2_OFF_PISCES -j 8 add_key "key_mpp_rep" del_key ${DEL_KEYS}
456    cd ${SETTE_DIR}
457    . ./param.cfg
458    . ./all_functions.sh
459    . ./prepare_exe_dir.sh
460    JOB_FILE=${EXE_DIR}/run_job.sh
461    NPROC=4
462    if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi
463    cd ${EXE_DIR}
464    set_namelist namelist_cfg cn_exp \"OFFP_LONG\"
465    set_namelist namelist_cfg nn_it000 1
466    set_namelist namelist_cfg nn_itend 40
467    set_namelist namelist_cfg nn_stock 20
468    set_namelist namelist_cfg ln_clobber .true.
469    set_namelist namelist_cfg jpni 2
470    set_namelist namelist_cfg jpnj 2
471    set_namelist namelist_cfg jpnij 4
472    set_namelist namelist_top_cfg ln_trcdta .false.
473    set_namelist namelist_top_cfg ln_diatrc .false.
474    # put ln_ironsed, ln_river, ln_ndepo, ln_dust to false
475    # if not you need input files, and for tests is not necessary
476    set_namelist namelist_pisces_cfg ln_presatm .false.
477    set_namelist namelist_pisces_cfg ln_varpar .false.
478    set_namelist namelist_pisces_cfg ln_dust .false.
479    set_namelist namelist_pisces_cfg ln_solub .false.
480    set_namelist namelist_pisces_cfg ln_river .false.
481    set_namelist namelist_pisces_cfg ln_ndepo .false.
482    set_namelist namelist_pisces_cfg ln_ironsed .false.
483    set_namelist namelist_pisces_cfg ln_hydrofe .false.
484    # put ln_pisdmp to false : no restoring to global mean value
485    set_namelist namelist_pisces_cfg ln_pisdmp .false.
486    if [ ${USING_MPMD} == "yes" ] ; then
487       set_xio_using_server iodef.xml true
488    else
489       set_xio_using_server iodef.xml false
490    fi
491    cd ${SETTE_DIR}
492    . ./prepare_job.sh input_ORCA2_OFF_PISCES.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS}
493   
494    cd ${SETTE_DIR}
495    export TEST_NAME="SHORT"
496    . ./prepare_exe_dir.sh
497    cd ${EXE_DIR}
498    set_namelist namelist_cfg cn_exp \"OFFP_SHORT\"
499    set_namelist namelist_cfg nn_it000 21
500    set_namelist namelist_cfg nn_itend 40
501    set_namelist namelist_cfg nn_stock 20
502    set_namelist namelist_cfg ln_clobber .true.
503    set_namelist namelist_cfg jpni 2
504    set_namelist namelist_cfg jpnj 2
505    set_namelist namelist_cfg jpnij 4
506    set_namelist namelist_top_cfg ln_diatrc .false.
507    set_namelist namelist_top_cfg ln_rsttr .true.
508    set_namelist namelist_top_cfg nn_rsttr 2
509    set_namelist namelist_top_cfg cn_trcrst_in \"OFFP_LONG_00000020_restart_trc\"
510    for (( i=1; i<=$NPROC; i++)) ; do
511        L_NPROC=$(( $i - 1 ))
512        L_NPROC=`printf "%04d\n" ${L_NPROC}`
513        ln -sf ../LONG/OFFP_LONG_00000020_restart_trc_${L_NPROC}.nc .
514    done
515    # put ln_ironsed, ln_river, ln_ndepo, ln_dust
516    # if not you need input files, and for tests is not necessary
517    set_namelist namelist_pisces_cfg ln_presatm .false.
518    set_namelist namelist_pisces_cfg ln_varpar .false.
519    set_namelist namelist_pisces_cfg ln_dust .false.
520    set_namelist namelist_pisces_cfg ln_solub .false.
521    set_namelist namelist_pisces_cfg ln_river .false.
522    set_namelist namelist_pisces_cfg ln_ndepo .false.
523    set_namelist namelist_pisces_cfg ln_ironsed .false.
524    set_namelist namelist_pisces_cfg ln_hydrofe .false.
525    # put ln_pisdmp to false : no restoring to global mean value
526    set_namelist namelist_pisces_cfg ln_pisdmp .false.
527    if [ ${USING_MPMD} == "yes" ] ; then
528       set_xio_using_server iodef.xml true
529    else
530       set_xio_using_server iodef.xml false
531    fi
532    cd ${SETTE_DIR}
533    . ./prepare_job.sh input_ORCA2_OFF_PISCES.cfg $NPROC ${TEST_NAME}  ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS}
534    cd ${SETTE_DIR}
535    . ./fcm_job.sh $NPROC  ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG}
536fi
537
538if [ ${config} -eq 6 ] ;  then
539    ## Reproducibility tests for ORCA2_OFF_PISCES
540    export TEST_NAME="REPRO_4_4"
541    cd ${CONFIG_DIR}
542    . ./makenemo -m ${CMP_NAM} -n ORCA2OFFPIS_16 -r ORCA2_OFF_PISCES -j 8 add_key "key_mpp_rep" del_key ${DEL_KEYS}
543    cd ${SETTE_DIR}
544    . ./param.cfg
545    . ./all_functions.sh
546    . ./prepare_exe_dir.sh
547    JOB_FILE=${EXE_DIR}/run_job.sh
548    NPROC=16
549    if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi
550    cd ${EXE_DIR}
551    set_namelist namelist_cfg nn_it000 1
552    set_namelist namelist_cfg nn_itend 40
553    set_namelist namelist_cfg ln_ctl .false.
554    set_namelist namelist_cfg ln_clobber .true.
555    set_namelist namelist_cfg jpni 4
556    set_namelist namelist_cfg jpnj 4
557    set_namelist namelist_cfg jpnij 16
558    set_namelist namelist_top_cfg ln_trcdta .false.
559    set_namelist namelist_top_cfg ln_diatrc .false.
560    # put ln_ironsed, ln_river, ln_ndepo, ln_dust to false
561    # if not you need input files, and for tests is not necessary
562    set_namelist namelist_pisces_cfg ln_presatm .false.
563    set_namelist namelist_pisces_cfg ln_varpar .false.
564    set_namelist namelist_pisces_cfg ln_dust .false.
565    set_namelist namelist_pisces_cfg ln_solub .false.
566    set_namelist namelist_pisces_cfg ln_river .false.
567    set_namelist namelist_pisces_cfg ln_ndepo .false.
568    set_namelist namelist_pisces_cfg ln_ironsed .false.
569    set_namelist namelist_pisces_cfg ln_hydrofe .false.
570    # put ln_pisdmp to false : no restoring to global mean value
571    set_namelist namelist_pisces_cfg ln_pisdmp .false.
572    if [ ${USING_MPMD} == "yes" ] ; then
573       set_xio_using_server iodef.xml true
574    else
575       set_xio_using_server iodef.xml false
576    fi
577    cd ${SETTE_DIR}
578    . ./prepare_job.sh input_ORCA2_OFF_PISCES.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS}
579    cd ${SETTE_DIR}
580    . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG}
581
582    cd ${SETTE_DIR}
583    export TEST_NAME="REPRO_2_8"
584    . ./prepare_exe_dir.sh
585    JOB_FILE=${EXE_DIR}/run_job.sh
586    NPROC=16
587    if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi
588    cd ${EXE_DIR}
589    set_namelist namelist_cfg nn_it000 1
590    set_namelist namelist_cfg nn_itend 40
591    set_namelist namelist_cfg ln_ctl .false.
592    set_namelist namelist_cfg ln_clobber .true.
593    set_namelist namelist_cfg jpni 2
594    set_namelist namelist_cfg jpnj 8
595    set_namelist namelist_cfg jpnij 16
596    set_namelist namelist_top_cfg ln_trcdta .false.
597    set_namelist namelist_top_cfg ln_diatrc .false.
598    # put ln_ironsed, ln_river, ln_ndepo, ln_dust to false
599    # if not you need input files, and for tests is not necessary
600    set_namelist namelist_pisces_cfg ln_presatm .false.
601    set_namelist namelist_pisces_cfg ln_varpar .false.
602    set_namelist namelist_pisces_cfg ln_dust .false.
603    set_namelist namelist_pisces_cfg ln_solub .false.
604    set_namelist namelist_pisces_cfg ln_river .false.
605    set_namelist namelist_pisces_cfg ln_ndepo .false.
606    set_namelist namelist_pisces_cfg ln_ironsed .false.
607    set_namelist namelist_pisces_cfg ln_hydrofe .false.
608    # put ln_pisdmp to false : no restoring to global mean value
609    set_namelist namelist_pisces_cfg ln_pisdmp .false.
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
615    cd ${SETTE_DIR}
616    . ./prepare_job.sh input_ORCA2_OFF_PISCES.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS}
617    cd ${SETTE_DIR}
618    . ./fcm_job.sh $NPROC  ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG}
619fi
620
621# TESTS FOR AMM12 CONFIGURATION
622if [ ${config} -eq 7 ] ;  then
623    ## Restartability tests for AMM12
624    export TEST_NAME="LONG"
625    cd ${CONFIG_DIR}
626    . ./makenemo -m ${CMP_NAM} -n AMM12_LONG -r AMM12 -j 8 add_key "key_tide" del_key ${DEL_KEYS}
627    cd ${SETTE_DIR}
628    . ./param.cfg
629    . ./all_functions.sh
630    . ./prepare_exe_dir.sh
631    JOB_FILE=${EXE_DIR}/run_job.sh
632    NPROC=32
633    if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi
634    cd ${EXE_DIR}
635    set_namelist namelist_cfg nn_it000 1
636    set_namelist namelist_cfg nn_itend 576
637    set_namelist namelist_cfg nn_stock 288
638    set_namelist namelist_cfg nn_fwb 0
639    set_namelist namelist_cfg ln_ctl .false.
640    set_namelist namelist_cfg ln_clobber .true.
641    set_namelist namelist_cfg nn_dyn2d 2
642    set_namelist namelist_cfg nn_tra_dta 0
643    set_namelist namelist_cfg cn_ocerst_in \"amm12_restart_oce\"
644    ln -s restarts/amm12_restart_oce.nc amm12_restart_oce.nc
645    set_namelist namelist_cfg jpni 8
646    set_namelist namelist_cfg jpnj 4
647    set_namelist namelist_cfg jpnij 32
648    if [ ${USING_MPMD} == "yes" ] ; then
649       set_xio_using_server iodef.xml true
650    else
651       set_xio_using_server iodef.xml false
652    fi
653    cd ${SETTE_DIR}
654    . ./prepare_job.sh input_AMM12.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS}
655
656    cd ${SETTE_DIR}
657    export TEST_NAME="SHORT"
658    . prepare_exe_dir.sh
659    cd ${EXE_DIR}
660    set_namelist namelist_cfg nn_it000 289
661    set_namelist namelist_cfg nn_itend 576
662    set_namelist namelist_cfg nn_fwb 0
663    set_namelist namelist_cfg ln_ctl .false.
664    set_namelist namelist_cfg ln_clobber .true.
665    set_namelist namelist_cfg nn_dyn2d 2
666    set_namelist namelist_cfg nn_tra_dta 0
667    set_namelist namelist_cfg jpni 8
668    set_namelist namelist_cfg jpnj 4
669    set_namelist namelist_cfg jpnij 32
670    set_namelist namelist_cfg ln_rstart .true.
671    set_namelist namelist_cfg nn_rstctl 2
672    set_namelist namelist_cfg cn_ocerst_in \"AMM12_00000288_restart_oce_out\"
673    set_namelist namelist_cfg nn_date0 20120102
674    for (( i=1; i<=$NPROC; i++)) ; do
675        L_NPROC=$(( $i - 1 ))
676        L_NPROC=`printf "%04d\n" ${L_NPROC}`
677        ln -sf ../LONG/AMM12_00000288_restart_oce_out_${L_NPROC}.nc .
678    done
679    if [ ${USING_MPMD} == "yes" ] ; then
680       set_xio_using_server iodef.xml true
681    else
682       set_xio_using_server iodef.xml false
683    fi
684    cd ${SETTE_DIR}
685    . ./prepare_job.sh input_AMM12.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS}
686    cd ${SETTE_DIR}
687    . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG}
688fi
689
690if [ ${config} -eq 8 ] ;  then
691## Reproducibility tests for AMM12
692    export TEST_NAME="REPRO_8_4"
693    cd ${CONFIG_DIR}
694    . ./makenemo -m ${CMP_NAM} -n AMM12_32 -r AMM12 -j 8 add_key "key_mpp_rep key_tide" del_key ${DEL_KEYS}
695    cd ${SETTE_DIR}
696    . ./param.cfg
697    . ./all_functions.sh
698    . ./prepare_exe_dir.sh
699    JOB_FILE=${EXE_DIR}/run_job.sh
700    NPROC=32
701    if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi
702    cd ${EXE_DIR}
703    set_namelist namelist_cfg nn_it000 1
704    set_namelist namelist_cfg nn_itend 576
705    set_namelist namelist_cfg nn_fwb 0
706    set_namelist namelist_cfg ln_ctl .false.
707    set_namelist namelist_cfg ln_clobber .true.
708    set_namelist namelist_cfg nn_dyn2d 2
709    set_namelist namelist_cfg nn_tra_dta 0
710    set_namelist namelist_cfg cn_ocerst_in \"amm12_restart_oce\"
711    ln -s restarts/amm12_restart_oce.nc amm12_restart_oce.nc
712    set_namelist namelist_cfg jpni 8
713    set_namelist namelist_cfg jpnj 4
714    set_namelist namelist_cfg jpnij 32
715    if [ ${USING_MPMD} == "yes" ] ; then
716       set_xio_using_server iodef.xml true
717    else
718       set_xio_using_server iodef.xml false
719    fi
720    cd ${SETTE_DIR}
721    . ./prepare_job.sh input_AMM12.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS}
722    cd ${SETTE_DIR}
723    . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG}
724
725    cd ${SETTE_DIR}
726    export TEST_NAME="REPRO_4_8"
727    . ./prepare_exe_dir.sh
728    cd ${EXE_DIR}
729    set_namelist namelist_cfg nn_it000 1
730    set_namelist namelist_cfg nn_itend 576
731    set_namelist namelist_cfg nn_fwb 0
732    set_namelist namelist_cfg ln_ctl .false.
733    set_namelist namelist_cfg nn_dyn2d 2
734    set_namelist namelist_cfg nn_tra_dta 0
735    set_namelist namelist_cfg ln_clobber .true.
736    set_namelist namelist_cfg cn_ocerst_in \"amm12_restart_oce\"
737    ln -s restarts/amm12_restart_oce.nc amm12_restart_oce.nc
738    set_namelist namelist_cfg jpni 4
739    set_namelist namelist_cfg jpnj 8
740    set_namelist namelist_cfg jpnij 32
741    if [ ${USING_MPMD} == "yes" ] ; then
742       set_xio_using_server iodef.xml true
743    else
744       set_xio_using_server iodef.xml false
745    fi
746    cd ${SETTE_DIR}
747    . ./prepare_job.sh input_AMM12.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS}
748    cd ${SETTE_DIR}
749    . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG}
750fi
751
752
753# TESTS FOR ORCA2_SAS_LIM CONFIGURATION
754if [ ${config} -eq 9 ] ;  then
755    ## Restartability tests for SAS
756    export TEST_NAME="LONG"
757    cd ${CONFIG_DIR}
758    . ./makenemo -m ${CMP_NAM} -n SAS_LONG -r ORCA2_SAS_LIM -j 8 add_key "key_mpp_rep" del_key ${DEL_KEYS}
759    cd ${SETTE_DIR}
760    . ./param.cfg
761    . ./all_functions.sh
762    . ./prepare_exe_dir.sh
763    JOB_FILE=${EXE_DIR}/run_job.sh
764    NPROC=32
765    \rm $JOB_FILE
766    cd ${EXE_DIR}
767    set_namelist namelist_cfg cn_exp \"SAS\"
768    set_namelist namelist_cfg nn_it000 1
769    set_namelist namelist_cfg nn_itend 100
770    set_namelist namelist_cfg nn_stock 50
771    set_namelist namelist_cfg ln_ctl .false.
772    set_namelist namelist_cfg ln_clobber .true.
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_SAS.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS}
783
784    cd ${SETTE_DIR}
785    export TEST_NAME="SHORT"
786    . ./prepare_exe_dir.sh
787    cd ${EXE_DIR}
788    set_namelist namelist_cfg cn_exp \"SAS\"
789    set_namelist namelist_cfg nn_it000 51
790    set_namelist namelist_cfg nn_itend 100
791    set_namelist namelist_cfg ln_ctl .false.
792    set_namelist namelist_cfg ln_clobber .true.
793    set_namelist namelist_cfg jpni 8
794    set_namelist namelist_cfg jpnj 4
795    set_namelist namelist_cfg jpnij 32
796    set_namelist namelist_cfg nn_rstctl 2
797    set_namelist namelist_cfg cn_ocerst_in \"SAS_00000050_restart\"
798    for (( i=1; i<=$NPROC; i++)) ; do
799        L_NPROC=$(( $i - 1 ))
800        L_NPROC=`printf "%04d\n" ${L_NPROC}`
801        ln -sf ../LONG/SAS_00000050_restart_${L_NPROC}.nc .
802    done
803    if [ ${USING_MPMD} == "yes" ] ; then
804       set_xio_using_server iodef.xml true
805    else
806       set_xio_using_server iodef.xml false
807    fi
808    cd ${SETTE_DIR}
809    . ./prepare_job.sh input_SAS.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS}
810    cd ${SETTE_DIR}
811    . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG}
812fi
813
814if [ ${config} -eq 10 ] ;  then
815## Reproducibility tests for ORCA2_SAS_LIM
816    export TEST_NAME="REPRO_8_4"
817    cd ${CONFIG_DIR}
818    . ./makenemo -m ${CMP_NAM} -n SAS_32 -r ORCA2_SAS_LIM -j 8 add_key "key_mpp_rep" del_key ${DEL_KEYS}
819    cd ${SETTE_DIR}
820    . ./param.cfg
821    . ./all_functions.sh
822    . ./prepare_exe_dir.sh
823    JOB_FILE=${EXE_DIR}/run_job.sh
824    NPROC=32
825    \rm ${JOB_FILE}
826    cd ${EXE_DIR}
827    set_namelist namelist_cfg cn_exp \"SAS\"
828    set_namelist namelist_cfg nn_it000 51
829    set_namelist namelist_cfg nn_itend 100
830    set_namelist namelist_cfg ln_ctl .false.
831    set_namelist namelist_cfg ln_clobber .true.
832    set_namelist namelist_cfg jpni 8
833    set_namelist namelist_cfg jpnj 4
834    set_namelist namelist_cfg jpnij 32
835    if [ ${USING_MPMD} == "yes" ] ; then
836       set_xio_using_server iodef.xml true
837    else
838       set_xio_using_server iodef.xml false
839    fi
840    cd ${SETTE_DIR}
841    . ./prepare_job.sh input_SAS.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE}  ${NUM_XIOSERVERS}
842    cd ${SETTE_DIR}
843    . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG}
844    cd ${SETTE_DIR}
845    export TEST_NAME="REPRO_4_8"
846    . ./prepare_exe_dir.sh
847    cd ${EXE_DIR}
848    set_namelist namelist_cfg cn_exp \"SAS\"
849    set_namelist namelist_cfg nn_it000 51
850    set_namelist namelist_cfg nn_itend 100
851    set_namelist namelist_cfg ln_ctl .false.
852    set_namelist namelist_cfg ln_clobber .true.
853    set_namelist namelist_cfg jpni 4
854    set_namelist namelist_cfg jpnj 8
855    set_namelist namelist_cfg jpnij 32
856    if [ ${USING_MPMD} == "yes" ] ; then
857       set_xio_using_server iodef.xml true
858    else
859       set_xio_using_server iodef.xml false
860    fi
861    cd ${SETTE_DIR}
862    . ./prepare_job.sh input_SAS.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS}
863    cd ${SETTE_DIR}
864    . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG}
865fi
866
867# TEST FOR ORCA2_LIM_AGRIF : simple test of running AGRIF (no restartability neither reproducibility tests)
868if [ ${config} -eq 11 ] ;  then
869    ## ORCA2_LIM with Agulhas AGRIF zoom in MPI
870    export TEST_NAME="SHORT"
871    cd ${CONFIG_DIR}
872    . ./makenemo -m ${CMP_NAM} -n ORCA2AGUL_1_2 -r ORCA2_LIM -j 8 add_key "key_mpp_rep key_agrif" del_key "key_zdftmx" del_key ${DEL_KEYS}
873    cd ${SETTE_DIR}
874    . ./param.cfg
875    . ./all_functions.sh
876    . ./prepare_exe_dir.sh
877    JOB_FILE=${EXE_DIR}/run_job.sh
878    NPROC=2
879    if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi
880    cd ${EXE_DIR}
881    set_namelist namelist_cfg nn_it000 1
882    set_namelist namelist_cfg nn_itend 75
883    set_namelist namelist_cfg ln_ctl .false.
884    set_namelist namelist_cfg ln_clobber .true.
885    set_namelist namelist_cfg jpni 1
886    set_namelist namelist_cfg jpnj 2
887    set_namelist namelist_cfg jpnij 2
888    set_namelist 1_namelist_cfg nn_it000 1
889    set_namelist 1_namelist_cfg nn_itend 150
890    set_namelist 1_namelist_cfg ln_ctl .false.
891    set_namelist 1_namelist_cfg ln_clobber .true.
892    if [ ${USING_MPMD} == "yes" ] ; then
893       set_xio_using_server iodef.xml true
894    else
895       set_xio_using_server iodef.xml false
896    fi
897    cd ${SETTE_DIR}
898    . ./prepare_job.sh input_ORCA2_LIM_AGRIF.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS}
899    cd ${SETTE_DIR}
900    . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG}
901fi
902
903
904done
Note: See TracBrowser for help on using the repository browser.