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/2011/dev_NEMO_MERGE_2011/NEMOGCM/SETTE – NEMO

source: branches/2011/dev_NEMO_MERGE_2011/NEMOGCM/SETTE/sette.sh @ 3141

Last change on this file since 3141 was 3130, checked in by acc, 13 years ago

Branch dev_NEMO_MERGE_2011. Updated sette.sh with AMM12 namelist changes necessary for a stable test

  • Property svn:executable set to *
  • Property svn:keywords set to Id
File size: 19.6 KB
Line 
1#!/bin/bash
2#############################################################
3# Author : Simona Flavoni for NEMO
4# Contact : sflod@locean-ipsl.upmc.fr
5#
6# sette.sh   : principal script of SET TEsts for NEMO (SETTE)
7# ----------------------------------------------------------------------
8# NEMO/SETTE , NEMO Consortium (2010)
9# Software governed by the CeCILL licence     (NEMOGCM/NEMO_CeCILL.txt)
10# ----------------------------------------------------------------------
11#
12#############################################################
13#set -x
14set -o posix
15#set -u
16#set -e
17#+
18#
19# ================
20# sette.sh
21# ================
22#
23# ----------------------------------------------
24# Set of tests for NEMO
25# ----------------------------------------------
26#
27# SYNOPSIS
28# ========
29#
30# ::
31#
32#  $ ./sette.sh
33#
34# DESCRIPTION
35# ===========
36#
37# Variables to be checked by user:
38#
39# COMPILER : name of compiler as defined in NEMOGCM/ARCH directory
40#
41# BATCH_COMMAND :  name of the command for batch submission
42#
43# MPI_INTERACT : 
44#
45#         for MPP tests, "no" for batch execution, "yes" for interactive execution
46#
47#         NOTE: for run with 1 process tests are run always in MPI_INTERACT="yes"
48#
49# Principal script is sette.sh, that calls
50#
51#  makenemo
52#
53#   creates the exectuable in ${CONFIG_NAME}/BLD/bin/nemo.exe  (and its link opa in ${CONFIG_NAME}/EXP00)
54#
55#  param.cfg : sets and loads following directories:
56#
57#   FORCING_DIR : is the directory for forcing files (tarfile)
58#
59#   INPUT_DIR : is the directory for input files storing
60#
61#   TMPDIR : is the temporary directory (if needed)
62#
63#   NEMO_VALIDATION_DIR : is the validation directory
64#
65#   (NOTE: this file is the same for all configrations to be tested with sette)
66#
67#
68#  all_functions.sh : loads functions used by sette (note: new functions can be added here)
69#
70#   set_namelist : function declared in all_functions that set namelist parameters for tests
71#
72#   post_test_tidyup : creates validation storage directory and copy needed output files (solver.stat and ocean.output) in it after execution of test.
73#
74#   Tree of VALIDATION is:
75#
76#   NEMO_VALIDATION_DIR/WCONFIG_NAME/WCOMPILER_NAME/TEST_NAME/REVISION_NUMBER(or DATE)
77#
78#
79#  prepare_exe_dir.sh : defines and creates directory where the test is executed
80#
81#       execution directory takes name of TEST_NAME defined in every test in sette.sh
82#
83#       ( each test in executed in its own directory )
84#
85#
86#  fcm_job.sh
87#
88#   runs job in interactive or batch mode : all jobs using 1 process are run interactive, and all MPP jobs are
89#
90#   run in batch (MPI_INTERACT="no") or interactive (MPI_INTERACT="yes") see sette.sh and BATCH_TEMPLATE directory
91#
92#   (note this job needs to have an input_CONFIG.cfg in which can be found input tar file)
93#
94#  NOTE: if job is not launched for some problems you have executable ready in ${EXE_DIR} directory
95#
96#  NOTE: the changed namelists are leaved in ${EXE_DIR} directory whereas original namelist remains in ${NEW_CONF}/EXP00
97#
98#  in ${SETTE_DIR} is created output.sette with the echo of executed commands
99#
100#  if sette.sh is stopped in output.sette there is written the last command executed by sette.sh
101#
102#  if you run: ./sette.sh 2>&1 | tee out.sette
103#
104#  in ${SETTE_DIR} out.sette is redirected standard error & standard output
105#
106#
107# EXAMPLES
108# ========
109#
110# ::
111#
112#  $ ./sette.sh
113#
114#
115# TODO
116# ====
117#
118# option debug
119#
120# EVOLUTIONS
121# ==========
122#
123# $Id$
124#
125#   * creation
126#
127#-
128#
129#-
130# Compiler among those in NEMOGCM/ARCH
131COMPILER=X64_TITANE
132export BATCH_COMMAND=ccc_msub
133export MPI_INTERACT="no"
134
135# Directory to run the tests
136SETTE_DIR=$(cd $(dirname "$0"); pwd)
137MAIN_DIR=${SETTE_DIR%/SETTE}
138CONFIG_DIR=${MAIN_DIR}/CONFIG
139TOOLS_DIR=${MAIN_DIR}/TOOLS
140COMPIL_DIR=${TOOLS_DIR}/COMPILE
141
142CMP_NAM=${1:-$COMPILER}
143# Copy job_batch_COMPILER file for specific compiler into job_batch_template
144cd ${SETTE_DIR}
145cp BATCH_TEMPLATE/batch-${COMPILER} job_batch_template || exit
146
147for config in 1 2 3 4 5 6 7
148do
149
150# TESTS FOR GYRE_LOBSTER CONFIGURATION
151if [ ${config} -eq 1 ] ;  then
152    ## Restartability tests for GYRE_LOBSTER
153    export TEST_NAME="LONG"
154    cd ${SETTE_DIR}
155    . ../CONFIG/makenemo -m ${CMP_NAM} -n GYRELOB_LONG -r GYRE_LOBSTER 
156    cd ${SETTE_DIR}
157    . param.cfg
158    . all_functions.sh
159    . prepare_exe_dir.sh
160    cd ${EXE_DIR}
161    set_namelist namelist cn_exp \"GYRELOB_LONG\"
162    set_namelist namelist nn_it000 1
163    set_namelist namelist nn_itend 120
164    set_namelist namelist nn_stock 60
165    set_namelist namelist ln_clobber .true.
166    set_namelist namelist nn_solv 2
167    set_namelist namelist_top ln_diatrc .false.
168    cd ${SETTE_DIR}
169    . ./fcm_job.sh input_GYRE.cfg 1 ${TEST_NAME}
170
171    cd ${SETTE_DIR}
172    export TEST_NAME="SHORT"
173    . prepare_exe_dir.sh
174    cd ${EXE_DIR}
175    set_namelist namelist cn_exp \"GYRELOB_SHORT\"
176    set_namelist namelist nn_it000 61
177    set_namelist namelist nn_itend 120
178    set_namelist namelist nn_stock 60
179    set_namelist namelist ln_rstart .true.
180    set_namelist namelist nn_rstctl 2
181    set_namelist namelist ln_clobber .true.
182    set_namelist namelist nn_solv 2
183    cp ..\/LONG\/GYRELOB_LONG_00000060_restart*.nc .
184    set_namelist namelist cn_ocerst_in \"GYRELOB_LONG_00000060_restart\"
185    set_namelist namelist_top ln_diatrc .false.
186    set_namelist namelist_top ln_rsttr .true.
187    set_namelist namelist_top nn_rsttr 2
188    set_namelist namelist_top cn_trcrst_in \"GYRELOB_LONG_00000060_restart_trc\"
189    cd ${SETTE_DIR}
190    . ./fcm_job.sh input_GYRE.cfg 1 ${TEST_NAME}
191fi
192
193if [ ${config} -eq 2 ] ;  then
194    ## Repropducibility tests for GYRE_LOBSTER
195    export TEST_NAME="REPRO_1_4"
196    cd ${SETTE_DIR}
197    . ../CONFIG/makenemo -m ${CMP_NAM} -n GYRELOB_4 -r GYRE_LOBSTER add_key "key_mpp_rep key_mpp_mpi"
198    cd ${SETTE_DIR}
199    . param.cfg
200    . all_functions.sh
201    . prepare_exe_dir.sh
202    cd ${EXE_DIR}
203    set_namelist namelist cn_exp \"GYRELOB_14\"
204    set_namelist namelist nn_it000 1
205    set_namelist namelist nn_itend 60
206    set_namelist namelist nn_fwb 0
207    set_namelist namelist nn_bench 0
208    set_namelist namelist ln_ctl .false.
209    set_namelist namelist ln_clobber .true.
210    set_namelist namelist nn_solv 2
211    set_namelist namelist_top ln_diatrc .false.
212    set_namelist namelist_top ln_trcdta .false.
213    set_namelist namelist jpni 1
214    set_namelist namelist jpnj 4
215    set_namelist namelist jpnij 4
216    cd ${SETTE_DIR}
217    . ./fcm_job.sh input_GYRE.cfg 4 ${TEST_NAME}
218
219    cd ${SETTE_DIR}
220    export TEST_NAME="REPRO_2_2"
221    . prepare_exe_dir.sh
222    cd ${EXE_DIR}
223    set_namelist namelist cn_exp \"GYRELOB_22\"
224    set_namelist namelist nn_it000 1
225    set_namelist namelist nn_itend 60
226    set_namelist namelist nn_fwb 0
227    set_namelist namelist ln_ctl .false.
228    set_namelist namelist ln_clobber .true.
229    set_namelist namelist nn_solv 2
230    set_namelist namelist_top ln_diatrc .false.
231    set_namelist namelist_top ln_trcdta .false.
232    set_namelist namelist jpni 2
233    set_namelist namelist jpnj 2
234    set_namelist namelist jpnij 4
235    cd ${SETTE_DIR}
236    . ./fcm_job.sh input_GYRE.cfg 4 ${TEST_NAME}
237fi
238
239# TESTS FOR ORCA2_LIM_PISCES CONFIGURATION
240if [ ${config} -eq 3 ] ;  then
241    ## Restartability tests for ORCA2_LIM_PISCES
242    export TEST_NAME="LONG"
243    cd ${SETTE_DIR}
244    . ../CONFIG/makenemo -m ${CMP_NAM} -n ORCA2LIMPIS_LONG -r ORCA2_LIM_PISCES 
245    cd ${SETTE_DIR}
246    . param.cfg
247    . all_functions.sh
248    . prepare_exe_dir.sh
249    cd ${EXE_DIR}
250    set_namelist namelist cn_exp \"O2LP_LONG\"
251    set_namelist namelist nn_it000 1
252    set_namelist namelist nn_itend 150
253    set_namelist namelist nn_stock 75
254    set_namelist namelist ln_clobber .true.
255    set_namelist namelist nn_solv 2
256    set_namelist namelist_top ln_trcdta .false.
257    set_namelist namelist_top ln_diatrc .false.
258    # put ln_pisdmp, ln_ironsed, ln_river, ln_ndepo, ln_dust to false
259    # if not you need input files, and for tests is not necessary
260    set_namelist namelist_pisces ln_pisdmp .false.
261    set_namelist namelist_pisces ln_ironsed .false.
262    set_namelist namelist_pisces ln_river .false.
263    set_namelist namelist_pisces ln_ndepo .false.
264    set_namelist namelist_pisces ln_dust .false.
265    set_namelist namelist_pisces ln_presatm .false.
266    cd ${SETTE_DIR}
267    . ./fcm_job.sh input_ORCA2_LIM_PISCES.cfg 1 ${TEST_NAME}
268   
269    cd ${SETTE_DIR}
270    export TEST_NAME="SHORT"
271    . prepare_exe_dir.sh
272    cd ${EXE_DIR}
273    set_namelist namelist cn_exp \"O2LP_SHORT\"
274    set_namelist namelist nn_it000 76
275    set_namelist namelist nn_itend 150
276    set_namelist namelist nn_stock 75
277    set_namelist namelist ln_rstart .true.
278    set_namelist namelist nn_rstctl 2
279    set_namelist namelist ln_clobber .true.
280    set_namelist namelist nn_solv 2
281    cp ../LONG/O2LP_LONG_00000075_restart*nc .
282    set_namelist namelist cn_ocerst_in \"O2LP_LONG_00000075_restart\"
283    set_namelist namelist_ice cn_icerst_in \"O2LP_LONG_00000075_restart_ice\"
284    set_namelist namelist_top ln_diatrc .false.
285    set_namelist namelist_top ln_rsttr .true.
286    set_namelist namelist_top nn_rsttr 2
287    set_namelist namelist_top cn_trcrst_in \"O2LP_LONG_00000075_restart_trc\"
288    # put ln_pisdmp, ln_ironsed, ln_river, ln_ndepo, ln_dust
289    # if not you need input files, and for tests is not necessary
290    set_namelist namelist_pisces ln_pisdmp .false.
291    set_namelist namelist_pisces ln_ironsed .false.
292    set_namelist namelist_pisces ln_river .false.
293    set_namelist namelist_pisces ln_ndepo .false.
294    set_namelist namelist_pisces ln_dust .false.
295    set_namelist namelist_pisces ln_presatm .false.
296    cd ${SETTE_DIR}
297    . ./fcm_job.sh input_ORCA2_LIM_PISCES.cfg 1 ${TEST_NAME}
298fi
299
300if [ ${config} -eq 4 ] ;  then
301    ## Repropducibility tests for ORCA2_LIM_PISCES
302    export TEST_NAME="REPRO_4_4"
303    cd ${SETTE_DIR}
304    . ../CONFIG/makenemo -m ${CMP_NAM} -n ORCA2LIMPIS_16 -r ORCA2_LIM_PISCES add_key "key_mpp_rep key_mpp_mpi"
305    cd ${SETTE_DIR}
306    . param.cfg
307    . all_functions.sh
308    . prepare_exe_dir.sh
309    cd ${EXE_DIR}
310    set_namelist namelist nn_it000 1
311    set_namelist namelist nn_itend 75
312    set_namelist namelist nn_fwb 0
313    set_namelist namelist ln_clobber .true.
314    set_namelist namelist jpni 4
315    set_namelist namelist jpnj 4
316    set_namelist namelist jpnij 16
317    set_namelist namelist nn_solv 2
318    set_namelist namelist_top ln_trcdta .false.
319    set_namelist namelist_top ln_diatrc .false.
320    # put ln_pisdmp, ln_ironsed, ln_river, ln_ndepo, ln_dust to false
321    # if not you need input files, and for tests is not necessary
322    set_namelist namelist_pisces ln_pisdmp .false.
323    set_namelist namelist_pisces ln_ironsed .false.
324    set_namelist namelist_pisces ln_river .false.
325    set_namelist namelist_pisces ln_ndepo .false.
326    set_namelist namelist_pisces ln_dust .false.
327    set_namelist namelist_pisces ln_presatm .false.
328    cd ${SETTE_DIR}
329    . ./fcm_job.sh input_ORCA2_LIM_PISCES.cfg 16 ${TEST_NAME}
330
331    cd ${SETTE_DIR}
332    export TEST_NAME="REPRO_2_8"
333    . prepare_exe_dir.sh
334    cd ${EXE_DIR}
335    set_namelist namelist nn_it000 1
336    set_namelist namelist nn_itend 75
337    set_namelist namelist nn_fwb 0
338    set_namelist namelist ln_clobber .true.
339    set_namelist namelist jpni 2
340    set_namelist namelist jpnj 8
341    set_namelist namelist jpnij 16
342    set_namelist namelist nn_solv 2
343    set_namelist namelist_top ln_trcdta .false.
344    set_namelist namelist_top ln_diatrc .false.
345    # put ln_pisdmp, ln_ironsed, ln_river, ln_ndepo, ln_dust to false
346    # if not you need input files, and for tests is not necessary
347    set_namelist namelist_pisces ln_pisdmp .false.
348    set_namelist namelist_pisces ln_ironsed .false.
349    set_namelist namelist_pisces ln_river .false.
350    set_namelist namelist_pisces ln_ndepo .false.
351    set_namelist namelist_pisces ln_dust .false.
352    set_namelist namelist_pisces ln_presatm .false.
353    cd ${SETTE_DIR}
354    . ./fcm_job.sh input_ORCA2_LIM_PISCES.cfg 16 ${TEST_NAME}
355fi
356
357# TESTS FOR ORCA2_OFF_PISCES CONFIGURATION
358if [ ${config} -eq 5 ] ;  then
359    ## Restartability tests for ORCA2_OFF_PISCES
360    export TEST_NAME="LONG"
361    cd ${SETTE_DIR}
362    . ../CONFIG/makenemo -m ${CMP_NAM} -n ORCA2OFFPIS_LONG -r ORCA2_OFF_PISCES 
363    cd ${SETTE_DIR}
364    . param.cfg
365    . all_functions.sh
366    . prepare_exe_dir.sh
367    cd ${EXE_DIR}
368    set_namelist namelist cn_exp \"OFFP_LONG\"
369    set_namelist namelist nn_it000 1
370    set_namelist namelist nn_itend 40
371    set_namelist namelist nn_stock 20
372    set_namelist namelist ln_clobber .true.
373    set_namelist namelist_top ln_trcdta .false.
374    set_namelist namelist_top ln_diatrc .false.
375    # put ln_pisdmp, ln_ironsed, ln_river, ln_ndepo, ln_dust to false
376    # if not you need input files, and for tests is not necessary
377    set_namelist namelist_pisces ln_pisdmp .false.
378    set_namelist namelist_pisces ln_ironsed .false.
379    set_namelist namelist_pisces ln_river .false.
380    set_namelist namelist_pisces ln_ndepo .false.
381    set_namelist namelist_pisces ln_dust .false.
382    set_namelist namelist_pisces ln_presatm .false.
383    cd ${SETTE_DIR}
384    . ./fcm_job.sh input_ORCA2_OFF_PISCES.cfg 1 ${TEST_NAME}
385   
386    cd ${SETTE_DIR}
387    export TEST_NAME="SHORT"
388    . prepare_exe_dir.sh
389    cd ${EXE_DIR}
390    set_namelist namelist cn_exp \"OFFP_SHORT\"
391    set_namelist namelist nn_it000 21
392    set_namelist namelist nn_itend 40
393    set_namelist namelist nn_stock 20
394    set_namelist namelist ln_clobber .true.
395    cp ../LONG/OFFP_LONG_00000020_restart*nc .
396    set_namelist namelist_top ln_diatrc .false.
397    set_namelist namelist_top ln_rsttr .true.
398    set_namelist namelist_top nn_rsttr 2
399    set_namelist namelist_top cn_trcrst_in \"OFFP_LONG_00000020_restart_trc\"
400    # put ln_pisdmp, ln_ironsed, ln_river, ln_ndepo, ln_dust
401    # if not you need input files, and for tests is not necessary
402    set_namelist namelist_pisces ln_pisdmp .false.
403    set_namelist namelist_pisces ln_ironsed .false.
404    set_namelist namelist_pisces ln_river .false.
405    set_namelist namelist_pisces ln_ndepo .false.
406    set_namelist namelist_pisces ln_dust .false.
407    set_namelist namelist_pisces ln_presatm .false.
408    cd ${SETTE_DIR}
409    . ./fcm_job.sh input_ORCA2_OFF_PISCES.cfg 1 ${TEST_NAME}
410fi
411
412if [ ${config} -eq 6 ] ;  then
413    ## Repropducibility tests for ORCA2_OFF_PISCES
414    export TEST_NAME="REPRO_4_4"
415    cd ${SETTE_DIR}
416    . ../CONFIG/makenemo -m ${CMP_NAM} -n ORCA2OFFPIS_16 -r ORCA2_OFF_PISCES add_key "key_mpp_rep key_mpp_mpi"
417    cd ${SETTE_DIR}
418    . param.cfg
419    . all_functions.sh
420    . prepare_exe_dir.sh
421    cd ${EXE_DIR}
422    set_namelist namelist nn_it000 1
423    set_namelist namelist nn_itend 40
424    set_namelist namelist ln_clobber .true.
425    set_namelist namelist jpni 4
426    set_namelist namelist jpnj 4
427    set_namelist namelist jpnij 16
428    set_namelist namelist_top ln_trcdta .false.
429    set_namelist namelist_top ln_diatrc .false.
430    # put ln_pisdmp, ln_ironsed, ln_river, ln_ndepo, ln_dust to false
431    # if not you need input files, and for tests is not necessary
432    set_namelist namelist_pisces ln_pisdmp .false.
433    set_namelist namelist_pisces ln_ironsed .false.
434    set_namelist namelist_pisces ln_river .false.
435    set_namelist namelist_pisces ln_ndepo .false.
436    set_namelist namelist_pisces ln_dust .false.
437    set_namelist namelist_pisces ln_presatm .false.
438    cd ${SETTE_DIR}
439    . ./fcm_job.sh input_ORCA2_OFF_PISCES.cfg 16 ${TEST_NAME}
440
441    cd ${SETTE_DIR}
442    export TEST_NAME="REPRO_2_8"
443    . prepare_exe_dir.sh
444    cd ${EXE_DIR}
445    set_namelist namelist nn_it000 1
446    set_namelist namelist nn_itend 40
447    set_namelist namelist ln_clobber .true.
448    set_namelist namelist jpni 2
449    set_namelist namelist jpnj 8
450    set_namelist namelist jpnij 16
451    set_namelist namelist_top ln_trcdta .false.
452    set_namelist namelist_top ln_diatrc .false.
453    # put ln_pisdmp, ln_ironsed, ln_river, ln_ndepo, ln_dust to false
454    # if not you need input files, and for tests is not necessary
455    set_namelist namelist_pisces ln_pisdmp .false.
456    set_namelist namelist_pisces ln_ironsed .false.
457    set_namelist namelist_pisces ln_river .false.
458    set_namelist namelist_pisces ln_ndepo .false.
459    set_namelist namelist_pisces ln_dust .false.
460    set_namelist namelist_pisces ln_presatm .false.
461    cd ${SETTE_DIR}
462    . ./fcm_job.sh input_ORCA2_OFF_PISCES.cfg 16 ${TEST_NAME}
463fi
464
465# TESTS FOR AMM12 CONFIGURATION
466if [ ${config} -eq 7 ] ;  then
467    ## Reproducibility tests for AMM12
468    export TEST_NAME="REPO_8_4"
469    cd ${SETTE_DIR}
470    . ../CONFIG/makenemo -m ${CMP_NAM} -n AMM12_32 -r AMM12 add_key "key_mpp_rep"
471    cd ${SETTE_DIR}
472    . param.cfg
473    . all_functions.sh
474    . prepare_exe_dir.sh
475    cd ${EXE_DIR}
476    set_namelist namelist nn_it000 1
477    set_namelist namelist nn_itend 576
478    set_namelist namelist nn_fwb 0
479    set_namelist namelist ln_ctl .false.
480    set_namelist namelist ln_clobber .true.
481    set_namelist namelist nn_dyn2d 2
482    set_namelist namelist nn_tra_dta 0
483    set_namelist namelist jpni 8
484    set_namelist namelist jpnj 4
485    set_namelist namelist jpnij 32
486    cd ${SETTE_DIR}
487    . ./fcm_job.sh input_AMM12.cfg 32 ${TEST_NAME}
488
489    cd ${SETTE_DIR}
490    export TEST_NAME="REPO_4_8"
491    . prepare_exe_dir.sh
492    cd ${EXE_DIR}
493    set_namelist namelist nn_it000 1
494    set_namelist namelist nn_itend 576
495    set_namelist namelist nn_fwb 0
496    set_namelist namelist ln_ctl .false.
497    set_namelist namelist nn_dyn2d 2
498    set_namelist namelist nn_tra_dta 0
499    set_namelist namelist ln_clobber .true.
500    set_namelist namelist jpni 4
501    set_namelist namelist jpnj 8
502    set_namelist namelist jpnij 32
503    cd ${SETTE_DIR}
504    . ./fcm_job.sh input_AMM12.cfg 32 ${TEST_NAME}
505fi
506
507if [ ${config} -eq 8 ] ;  then
508    ## Restartability tests for AMM12
509    export TEST_NAME="LONG"
510    cd ${SETTE_DIR}
511    . ../CONFIG/makenemo -m ${CMP_NAM} -n AMM12_LONG -r AMM12 add_key "key_mpp_rep"
512    cd ${SETTE_DIR}
513    . param.cfg
514    . all_functions.sh
515    . prepare_exe_dir.sh
516    cd ${EXE_DIR}
517    set_namelist namelist nn_it000 1
518    set_namelist namelist nn_itend 12
519    set_namelist namelist nn_stock 6
520    set_namelist namelist nn_fwb 0
521    set_namelist namelist ln_ctl .false.
522    set_namelist namelist ln_clobber .true.
523    set_namelist namelist nn_dyn2d 2
524    set_namelist namelist nn_tra_dta 0
525    set_namelist namelist jpni 8
526    set_namelist namelist jpnj 4
527    set_namelist namelist jpnij 32
528    cd ${SETTE_DIR}
529    . ./fcm_job.sh input_AMM12.cfg 32 ${TEST_NAME}
530
531    cd ${SETTE_DIR}
532    export TEST_NAME="SHORT"
533    . prepare_exe_dir.sh
534    cd ${EXE_DIR}
535    set_namelist namelist nn_it000 7
536    set_namelist namelist nn_itend 12
537    set_namelist namelist nn_fwb 0
538    set_namelist namelist ln_ctl .false.
539    set_namelist namelist ln_clobber .true.
540    set_namelist namelist nn_dyn2d 2
541    set_namelist namelist nn_tra_dta 0
542    set_namelist namelist jpni 8
543    set_namelist namelist jpnj 4
544    set_namelist namelist jpnij 32
545    set_namelist namelist ln_rstart .true.
546    set_namelist namelist nn_rstctl 2
547    cp ../LONG/AMM12_00000006_restart*.nc .
548    set_namelist namelist cn_ocerst_in \"AMM12_00000006_restart\"
549    cd ${SETTE_DIR}
550    . ./fcm_job.sh input_AMM12.cfg 32 ${TEST_NAME}
551fi
552
553# TEST FOR ORCA2_LIM_AGRIF : simple test of running AGRIF (no restartability neither reproducibility tests)
554if [ ${config} -eq 9 ] ;  then
555    ## ORCA2_LIM with Agulhas AGRIF zoom in MPI
556    export TEST_NAME="SHORT"
557    cd ${SETTE_DIR}
558    . ../CONFIG/makenemo -m ${CMP_NAM} -n ORCA2AGUL_1_2 -r ORCA2_LIM add_key "key_mpp_rep key_mpp_mpi key_agrif" del_key "key_zdftmx"
559    cd ${SETTE_DIR}
560    . param.cfg
561    . all_functions.sh
562    . prepare_exe_dir.sh
563    cd ${EXE_DIR}
564    set_namelist namelist nn_it000 1
565    set_namelist namelist nn_itend 75
566    set_namelist namelist ln_ctl .false.
567    set_namelist namelist ln_clobber .true.
568    set_namelist namelist jpni 1
569    set_namelist namelist jpnj 2
570    set_namelist namelist jpnij 2
571    set_namelist 1_namelist nn_it000 1
572    set_namelist 1_namelist nn_itend 150
573    set_namelist 1_namelist ln_ctl .false.
574    set_namelist 1_namelist ln_clobber .true.
575    cd ${SETTE_DIR}
576    . ./fcm_job.sh input_ORCA2_LIM_AGRIF.cfg 2 ${TEST_NAME}
577fi
578
579done
Note: See TracBrowser for help on using the repository browser.