New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
sette.sh in branches/2013/dev_LOCEAN_CMCC_INGV_MERC_UKMO_2013/NEMOGCM/SETTE – NEMO

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

Last change on this file since 4260 was 4260, checked in by flavoni, 10 years ago

add missign characters in sette.sh

  • Property svn:executable set to *
File size: 34.5 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 jpni 8
644    set_namelist namelist_cfg jpnj 4
645    set_namelist namelist_cfg jpnij 32
646    if [ ${USING_MPMD} == "yes" ] ; then
647       set_xio_using_server iodef.xml true
648    else
649       set_xio_using_server iodef.xml false
650    fi
651    cd ${SETTE_DIR}
652    . ./prepare_job.sh input_AMM12.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS}
653
654    cd ${SETTE_DIR}
655    export TEST_NAME="SHORT"
656    . prepare_exe_dir.sh
657    cd ${EXE_DIR}
658    set_namelist namelist_cfg nn_it000 289
659    set_namelist namelist_cfg nn_itend 576
660    set_namelist namelist_cfg nn_fwb 0
661    set_namelist namelist_cfg ln_ctl .false.
662    set_namelist namelist_cfg ln_clobber .true.
663    set_namelist namelist_cfg nn_dyn2d 2
664    set_namelist namelist_cfg nn_tra_dta 0
665    set_namelist namelist_cfg jpni 8
666    set_namelist namelist_cfg jpnj 4
667    set_namelist namelist_cfg jpnij 32
668    set_namelist namelist_cfg ln_rstart .true.
669    set_namelist namelist_cfg nn_rstctl 2
670    set_namelist namelist_cfg cn_ocerst_in \"AMM12_00000288_restart_oce_out\"
671    set_namelist namelist_cfg nn_date0 20120102
672    for (( i=1; i<=$NPROC; i++)) ; do
673        L_NPROC=$(( $i - 1 ))
674        L_NPROC=`printf "%04d\n" ${L_NPROC}`
675        ln -sf ../LONG/AMM12_00000288_restart_oce_out_${L_NPROC}.nc .
676    done
677    if [ ${USING_MPMD} == "yes" ] ; then
678       set_xio_using_server iodef.xml true
679    else
680       set_xio_using_server iodef.xml false
681    fi
682    cd ${SETTE_DIR}
683    . ./prepare_job.sh input_AMM12.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS}
684    cd ${SETTE_DIR}
685    . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG}
686fi
687
688if [ ${config} -eq 8 ] ;  then
689## Reproducibility tests for AMM12
690    export TEST_NAME="REPRO_8_4"
691    cd ${CONFIG_DIR}
692    . ./makenemo -m ${CMP_NAM} -n AMM12_32 -r AMM12 -j 8 add_key "key_mpp_rep key_tide" del_key ${DEL_KEYS}
693    cd ${SETTE_DIR}
694    . ./param.cfg
695    . ./all_functions.sh
696    . ./prepare_exe_dir.sh
697    JOB_FILE=${EXE_DIR}/run_job.sh
698    NPROC=32
699    if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi
700    cd ${EXE_DIR}
701    set_namelist namelist_cfg nn_it000 1
702    set_namelist namelist_cfg nn_itend 576
703    set_namelist namelist_cfg nn_fwb 0
704    set_namelist namelist_cfg ln_ctl .false.
705    set_namelist namelist_cfg ln_clobber .true.
706    set_namelist namelist_cfg nn_dyn2d 2
707    set_namelist namelist_cfg nn_tra_dta 0
708    ln -s restarts/amm12_restart_oce.nc amm12_restart_oce.nc
709    set_namelist namelist_cfg jpni 8
710    set_namelist namelist_cfg jpnj 4
711    set_namelist namelist_cfg jpnij 32
712    if [ ${USING_MPMD} == "yes" ] ; then
713       set_xio_using_server iodef.xml true
714    else
715       set_xio_using_server iodef.xml false
716    fi
717    cd ${SETTE_DIR}
718    . ./prepare_job.sh input_AMM12.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS}
719    cd ${SETTE_DIR}
720    . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG}
721
722    cd ${SETTE_DIR}
723    export TEST_NAME="REPRO_4_8"
724    . ./prepare_exe_dir.sh
725    cd ${EXE_DIR}
726    set_namelist namelist_cfg nn_it000 1
727    set_namelist namelist_cfg nn_itend 576
728    set_namelist namelist_cfg nn_fwb 0
729    set_namelist namelist_cfg ln_ctl .false.
730    set_namelist namelist_cfg nn_dyn2d 2
731    set_namelist namelist_cfg nn_tra_dta 0
732    set_namelist namelist_cfg ln_clobber .true.
733    set_namelist namelist_cfg cn_ocerst_in \"amm12_restart_oce\"
734    ln -s restarts/amm12_restart_oce.nc amm12_restart_oce.nc
735    set_namelist namelist_cfg jpni 4
736    set_namelist namelist_cfg jpnj 8
737    set_namelist namelist_cfg jpnij 32
738    if [ ${USING_MPMD} == "yes" ] ; then
739       set_xio_using_server iodef.xml true
740    else
741       set_xio_using_server iodef.xml false
742    fi
743    cd ${SETTE_DIR}
744    . ./prepare_job.sh input_AMM12.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS}
745    cd ${SETTE_DIR}
746    . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG}
747fi
748
749
750# TESTS FOR ORCA2_SAS_LIM CONFIGURATION
751if [ ${config} -eq 9 ] ;  then
752    ## Restartability tests for SAS
753    export TEST_NAME="LONG"
754    cd ${CONFIG_DIR}
755    . ./makenemo -m ${CMP_NAM} -n SAS_LONG -r ORCA2_SAS_LIM -j 8 add_key "key_mpp_rep" del_key ${DEL_KEYS}
756    cd ${SETTE_DIR}
757    . ./param.cfg
758    . ./all_functions.sh
759    . ./prepare_exe_dir.sh
760    JOB_FILE=${EXE_DIR}/run_job.sh
761    NPROC=32
762    \rm $JOB_FILE
763    cd ${EXE_DIR}
764    set_namelist namelist_cfg cn_exp \"SAS\"
765    set_namelist namelist_cfg nn_it000 1
766    set_namelist namelist_cfg nn_itend 100
767    set_namelist namelist_cfg nn_stock 50
768    set_namelist namelist_cfg ln_ctl .false.
769    set_namelist namelist_cfg ln_clobber .true.
770    set_namelist namelist_cfg jpni 8
771    set_namelist namelist_cfg jpnj 4
772    set_namelist namelist_cfg jpnij 32
773    if [ ${USING_MPMD} == "yes" ] ; then
774       set_xio_using_server iodef.xml true
775    else
776       set_xio_using_server iodef.xml false
777    fi
778    cd ${SETTE_DIR}
779    . ./prepare_job.sh input_SAS.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS}
780
781    cd ${SETTE_DIR}
782    export TEST_NAME="SHORT"
783    . ./prepare_exe_dir.sh
784    cd ${EXE_DIR}
785    set_namelist namelist_cfg cn_exp \"SAS\"
786    set_namelist namelist_cfg nn_it000 51
787    set_namelist namelist_cfg nn_itend 100
788    set_namelist namelist_cfg ln_ctl .false.
789    set_namelist namelist_cfg ln_clobber .true.
790    set_namelist namelist_cfg jpni 8
791    set_namelist namelist_cfg jpnj 4
792    set_namelist namelist_cfg jpnij 32
793    set_namelist namelist_cfg nn_rstctl 2
794    set_namelist namelist_cfg cn_ocerst_in \"SAS_00000050_restart\"
795    for (( i=1; i<=$NPROC; i++)) ; do
796        L_NPROC=$(( $i - 1 ))
797        L_NPROC=`printf "%04d\n" ${L_NPROC}`
798        ln -sf ../LONG/SAS_00000050_restart_${L_NPROC}.nc .
799    done
800    if [ ${USING_MPMD} == "yes" ] ; then
801       set_xio_using_server iodef.xml true
802    else
803       set_xio_using_server iodef.xml false
804    fi
805    cd ${SETTE_DIR}
806    . ./prepare_job.sh input_SAS.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS}
807    cd ${SETTE_DIR}
808    . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG}
809fi
810
811if [ ${config} -eq 10 ] ;  then
812## Reproducibility tests for ORCA2_SAS_LIM
813    export TEST_NAME="REPRO_8_4"
814    cd ${CONFIG_DIR}
815    . ./makenemo -m ${CMP_NAM} -n SAS_32 -r ORCA2_SAS_LIM -j 8 add_key "key_mpp_rep" del_key ${DEL_KEYS}
816    cd ${SETTE_DIR}
817    . ./param.cfg
818    . ./all_functions.sh
819    . ./prepare_exe_dir.sh
820    JOB_FILE=${EXE_DIR}/run_job.sh
821    NPROC=32
822    \rm ${JOB_FILE}
823    cd ${EXE_DIR}
824    set_namelist namelist_cfg cn_exp \"SAS\"
825    set_namelist namelist_cfg nn_it000 51
826    set_namelist namelist_cfg nn_itend 100
827    set_namelist namelist_cfg ln_ctl .false.
828    set_namelist namelist_cfg ln_clobber .true.
829    set_namelist namelist_cfg jpni 8
830    set_namelist namelist_cfg jpnj 4
831    set_namelist namelist_cfg jpnij 32
832    if [ ${USING_MPMD} == "yes" ] ; then
833       set_xio_using_server iodef.xml true
834    else
835       set_xio_using_server iodef.xml false
836    fi
837    cd ${SETTE_DIR}
838    . ./prepare_job.sh input_SAS.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE}  ${NUM_XIOSERVERS}
839    cd ${SETTE_DIR}
840    . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG}
841    cd ${SETTE_DIR}
842    export TEST_NAME="REPRO_4_8"
843    . ./prepare_exe_dir.sh
844    cd ${EXE_DIR}
845    set_namelist namelist_cfg cn_exp \"SAS\"
846    set_namelist namelist_cfg nn_it000 51
847    set_namelist namelist_cfg nn_itend 100
848    set_namelist namelist_cfg ln_ctl .false.
849    set_namelist namelist_cfg ln_clobber .true.
850    set_namelist namelist_cfg jpni 4
851    set_namelist namelist_cfg jpnj 8
852    set_namelist namelist_cfg jpnij 32
853    if [ ${USING_MPMD} == "yes" ] ; then
854       set_xio_using_server iodef.xml true
855    else
856       set_xio_using_server iodef.xml false
857    fi
858    cd ${SETTE_DIR}
859    . ./prepare_job.sh input_SAS.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS}
860    cd ${SETTE_DIR}
861    . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG}
862fi
863
864# TEST FOR ORCA2_LIM_AGRIF : simple test of running AGRIF (no restartability neither reproducibility tests)
865if [ ${config} -eq 11 ] ;  then
866    ## ORCA2_LIM with Agulhas AGRIF zoom in MPI
867    export TEST_NAME="SHORT"
868    cd ${CONFIG_DIR}
869    . ./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}
870    cd ${SETTE_DIR}
871    . ./param.cfg
872    . ./all_functions.sh
873    . ./prepare_exe_dir.sh
874    JOB_FILE=${EXE_DIR}/run_job.sh
875    NPROC=2
876    if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi
877    cd ${EXE_DIR}
878    set_namelist namelist_cfg nn_it000 1
879    set_namelist namelist_cfg nn_itend 75
880    set_namelist namelist_cfg ln_ctl .false.
881    set_namelist namelist_cfg ln_clobber .true.
882    set_namelist namelist_cfg jpni 1
883    set_namelist namelist_cfg jpnj 2
884    set_namelist namelist_cfg jpnij 2
885    set_namelist 1_namelist_cfg nn_it000 1
886    set_namelist 1_namelist_cfg nn_itend 150
887    set_namelist 1_namelist_cfg ln_ctl .false.
888    set_namelist 1_namelist_cfg ln_clobber .true.
889    if [ ${USING_MPMD} == "yes" ] ; then
890       set_xio_using_server iodef.xml true
891    else
892       set_xio_using_server iodef.xml false
893    fi
894    cd ${SETTE_DIR}
895    . ./prepare_job.sh input_ORCA2_LIM_AGRIF.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS}
896    cd ${SETTE_DIR}
897    . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG}
898fi
899
900
901done
Note: See TracBrowser for help on using the repository browser.