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

source: branches/2011/dev_r2855_LOCEAN7_SETTE/NEMOGCM/SETTE/sette.sh @ 3023

Last change on this file since 3023 was 3023, checked in by flavoni, 12 years ago

put missing . in SETTE

  • 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 8 9 10
148do
149
150if [ ${config} -eq 1 ] ;  then
151    # Restartability tests for GYRE_LOBSTER
152    export TEST_NAME="LONG"
153    cd ${SETTE_DIR}
154    . ../CONFIG/makenemo -m ${CMP_NAM} -n GYRELOB_LONG -r GYRE_LOBSTER  -j 8
155    cd ${SETTE_DIR}
156    . param.cfg
157    . all_functions.sh
158    . prepare_exe_dir.sh
159    cd ${EXE_DIR}
160    set_namelist namelist cn_exp \"GYRELOB_LONG\"
161    set_namelist namelist nn_it000 1
162    set_namelist namelist nn_itend 120
163    set_namelist namelist nn_stock 60
164    set_namelist namelist ln_clobber .true.
165    set_namelist namelist nn_solv 2
166    set_namelist namelist_top ln_diatrc .false.
167    cd ${SETTE_DIR}
168    . ./fcm_job.sh input_GYRE.cfg 1 ${TEST_NAME}
169
170    cd ${SETTE_DIR}
171    export TEST_NAME="SHORT"
172    . prepare_exe_dir.sh
173    cd ${EXE_DIR}
174    set_namelist namelist cn_exp \"GYRELOB_SHORT\"
175    set_namelist namelist nn_it000 61
176    set_namelist namelist nn_itend 120
177    set_namelist namelist nn_stock 60
178    set_namelist namelist ln_rstart .true.
179    set_namelist namelist nn_rstctl 2
180    set_namelist namelist ln_clobber .true.
181    set_namelist namelist nn_solv 2
182    cp ..\/LONG\/GYRELOB_LONG_00000060_restart.nc .
183    set_namelist namelist cn_ocerst_in \"GYRELOB_LONG_00000060_restart\"
184    set_namelist namelist_top ln_diatrc .false.
185    set_namelist namelist_top ln_rsttr .true.
186    set_namelist namelist_top nn_rsttr 2
187    cp ..\/LONG\/GYRELOB_LONG_00000060_restart_trc.nc .
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# Restartability tests for ORCA2_LIM_PISCES
195    export TEST_NAME="LONG"
196    cd ${SETTE_DIR}
197    . ../CONFIG/makenemo -m ${CMP_NAM} -n ORCA2LIMPIS_LONG -r ORCA2_LIM_PISCES -j 8
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 \"O2LP_LONG\"
204    set_namelist namelist nn_it000 1
205    set_namelist namelist nn_itend 150
206    set_namelist namelist nn_stock 75
207    set_namelist namelist ln_clobber .true.
208    set_namelist namelist nn_solv 2
209    set_namelist namelist_top ln_trcdta .false.
210    set_namelist namelist_top ln_diatrc .false.
211    # put ln_pisdmp, ln_ironsed, ln_river, ln_ndepo, ln_dust to false
212    # if not you need input files, and for tests is not necessary
213    set_namelist namelist_pisces ln_pisdmp .false.
214    set_namelist namelist_pisces ln_ironsed .false.
215    set_namelist namelist_pisces ln_river .false.
216    set_namelist namelist_pisces ln_ndepo .false.
217    set_namelist namelist_pisces ln_dust .false.
218    set_namelist namelist_pisces ln_presatm .false.
219    cd ${SETTE_DIR}
220    . ./fcm_job.sh input_ORCA2_LIM_PISCES.cfg 1 ${TEST_NAME}
221   
222    cd ${SETTE_DIR}
223    export TEST_NAME="SHORT"
224    . prepare_exe_dir.sh
225    cd ${EXE_DIR}
226    set_namelist namelist cn_exp \"O2LP_SHORT\"
227    set_namelist namelist nn_it000 76
228    set_namelist namelist nn_itend 150
229    set_namelist namelist nn_stock 75
230    set_namelist namelist ln_rstart .true.
231    set_namelist namelist nn_rstctl 2
232    set_namelist namelist ln_clobber .true.
233    set_namelist namelist nn_solv 2
234    cp ../LONG/O2LP_LONG_00000075_restart*nc .
235    set_namelist namelist cn_ocerst_in \"O2LP_LONG_00000075_restart\"
236    set_namelist namelist_ice cn_icerst_in \"O2LP_LONG_00000075_restart_ice\"
237    set_namelist namelist_top ln_diatrc .false.
238    set_namelist namelist_top ln_rsttr .true.
239    set_namelist namelist_top nn_rsttr 2
240    set_namelist namelist_top cn_trcrst_in \"O2LP_LONG_00000075_restart_trc\"
241    # put ln_pisdmp, ln_ironsed, ln_river, ln_ndepo, ln_dust
242    # if not you need input files, and for tests is not necessary
243    set_namelist namelist_pisces ln_pisdmp .false.
244    set_namelist namelist_pisces ln_ironsed .false.
245    set_namelist namelist_pisces ln_river .false.
246    set_namelist namelist_pisces ln_ndepo .false.
247    set_namelist namelist_pisces ln_dust .false.
248    set_namelist namelist_pisces ln_presatm .false.
249    cd ${SETTE_DIR}
250    . ./fcm_job.sh input_ORCA2_LIM_PISCES.cfg 1 ${TEST_NAME}
251fi
252
253if [ ${config} -eq 3 ] ;  then
254    ## Restartability tests for POMME
255    export TEST_NAME="LONG"
256    cd ${SETTE_DIR}
257    . ../CONFIG/makenemo -m ${CMP_NAM} -n POMME_LONG -r POMME -j 8
258    cd ${SETTE_DIR}
259    . param.cfg
260    . all_functions.sh
261    . prepare_exe_dir.sh
262    cd ${EXE_DIR}
263    set_namelist namelist cn_exp \"POMME_LONG\"
264    set_namelist namelist nn_it000 1
265    set_namelist namelist nn_stock 300
266    set_namelist namelist nn_itend 600
267    set_namelist namelist ln_clobber .true.
268    set_namelist namelist nn_solv 2
269    cd ${SETTE_DIR}
270    . ./fcm_job.sh input_POMME.cfg 1 ${TEST_NAME}
271   
272    cd ${SETTE_DIR}
273    export TEST_NAME="SHORT"
274    . prepare_exe_dir.sh
275    cd ${EXE_DIR}
276    set_namelist namelist cn_exp \"POMME_SHORT\"
277    set_namelist namelist nn_it000 301
278    set_namelist namelist nn_itend 600
279    set_namelist namelist ln_rstart .true.
280    set_namelist namelist nn_rstctl 2
281    set_namelist namelist ln_clobber .true.
282    set_namelist namelist nn_solv 2
283    cp ../LONG/POMME_LONG_00000300_restart*.nc .
284    set_namelist namelist cn_ocerst_in \"POMME_LONG_00000300_restart\"
285    cp ../LONG/restart.obc.output restart.obc
286    #mv restart.obc.output restart.obc
287    cd ${SETTE_DIR}
288    . ./fcm_job.sh input_POMME.cfg 1 ${TEST_NAME}
289fi
290
291if [ ${config} -eq 4 ] ;  then
292    ## Repropducilibity tests for GYRE_LOBSTER
293    export TEST_NAME="REPRO_1_4"
294    cd ${SETTE_DIR}
295    . ../CONFIG/makenemo -m ${CMP_NAM} -n GYRELOB_4 -r GYRE_LOBSTER -j 8 add_key "key_mpp_rep key_mpp_mpi" 
296    cd ${SETTE_DIR}
297    . param.cfg
298    . all_functions.sh
299    . prepare_exe_dir.sh
300    cd ${EXE_DIR}
301    set_namelist namelist cn_exp \"GYRELOB_14\"
302    set_namelist namelist nn_it000 1
303    set_namelist namelist nn_itend 60
304    set_namelist namelist ln_clobber .true.
305    set_namelist namelist nn_solv 2
306    set_namelist namelist_top ln_diatrc .false.
307    set_namelist namelist jpni 1
308    set_namelist namelist jpnj 4
309    set_namelist namelist jpnij 4
310    cd ${SETTE_DIR}
311    . ./fcm_job.sh input_GYRE.cfg 4 ${TEST_NAME}
312   
313    cd ${SETTE_DIR}
314    export TEST_NAME="REPRO_2_2"
315    . prepare_exe_dir.sh
316    cd ${EXE_DIR}
317    set_namelist namelist cn_exp \"GYRELOB_22\"
318    set_namelist namelist nn_it000 1
319    set_namelist namelist nn_itend 60
320    set_namelist namelist ln_clobber .true.
321    set_namelist namelist nn_solv 2
322    set_namelist namelist_top ln_diatrc .false.
323    set_namelist namelist jpni 2
324    set_namelist namelist jpnj 2
325    set_namelist namelist jpnij 4
326    cd ${SETTE_DIR}
327    . ./fcm_job.sh input_GYRE.cfg 4 ${TEST_NAME}
328fi
329
330if [ ${config} -eq 5 ] ;  then
331    ## Repropducilibity tests for ORCA2_LIM_PISCES
332    export TEST_NAME="REPRO_4_4"
333    cd ${SETTE_DIR}
334    . ../CONFIG/makenemo -m ${CMP_NAM} -n ORCA2LIMPIS_16 -r ORCA2_LIM_PISCES -j 8 add_key "key_mpp_rep key_mpp_mpi"
335    cd ${SETTE_DIR}
336    . param.cfg
337    . all_functions.sh
338    . prepare_exe_dir.sh
339    cd ${EXE_DIR}
340    set_namelist namelist nn_it000 1
341    set_namelist namelist nn_itend 75
342    set_namelist namelist nn_fwb 0
343    set_namelist namelist ln_clobber .true.
344    set_namelist namelist jpni 4
345    set_namelist namelist jpnj 4
346    set_namelist namelist jpnij 16
347    set_namelist namelist nn_solv 2
348    set_namelist namelist_top ln_trcdta .false.
349    set_namelist namelist_top ln_diatrc .false.
350    # put ln_pisdmp, ln_ironsed, ln_river, ln_ndepo, ln_dust to false
351    # if not you need input files, and for tests is not necessary
352    set_namelist namelist_pisces ln_pisdmp .false.
353    set_namelist namelist_pisces ln_ironsed .false.
354    set_namelist namelist_pisces ln_river .false.
355    set_namelist namelist_pisces ln_ndepo .false.
356    set_namelist namelist_pisces ln_dust .false.
357    set_namelist namelist_pisces ln_presatm .false.
358    cd ${SETTE_DIR}
359    . ./fcm_job.sh input_ORCA2_LIM_PISCES.cfg 16 ${TEST_NAME}
360
361    cd ${SETTE_DIR}
362    export TEST_NAME="REPRO_2_8"
363    . prepare_exe_dir.sh
364    cd ${EXE_DIR}
365    set_namelist namelist nn_it000 1
366    set_namelist namelist nn_itend 75
367    set_namelist namelist nn_fwb 0
368    set_namelist namelist ln_clobber .true.
369    set_namelist namelist jpni 2
370    set_namelist namelist jpnj 8
371    set_namelist namelist jpnij 16
372    set_namelist namelist nn_solv 2
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_LIM_PISCES.cfg 16 ${TEST_NAME}
385fi
386
387if [ ${config} -eq 6 ] ;  then
388    ## Reproductibility tests for POMME
389    export TEST_NAME="REPRO_1_4"
390    cd ${SETTE_DIR}
391    . ../CONFIG/makenemo -m ${CMP_NAM} -n POMME_4 -r POMME -j 8 add_key "key_mpp_rep key_mpp_mpi"
392    cd ${SETTE_DIR}
393    . param.cfg
394    . all_functions.sh
395    . prepare_exe_dir.sh
396    cd ${EXE_DIR}
397    set_namelist namelist nn_it000 1
398    set_namelist namelist nn_itend 300
399    set_namelist namelist nn_fwb 0
400    set_namelist namelist ln_ctl .false.
401    set_namelist namelist ln_clobber .true.
402    set_namelist namelist nn_solv 2
403    set_namelist namelist jpni 1
404    set_namelist namelist jpnj 4
405    set_namelist namelist jpnij 4
406    cd ${SETTE_DIR}
407    . ./fcm_job.sh input_POMME.cfg 4 ${TEST_NAME}
408
409    cd ${SETTE_DIR}
410    export TEST_NAME="REPRO_2_2"
411    . prepare_exe_dir.sh
412    cd ${EXE_DIR}
413    set_namelist namelist nn_it000 1
414    set_namelist namelist nn_itend 300
415    set_namelist namelist nn_fwb 0
416    set_namelist namelist ln_ctl .false.
417    set_namelist namelist ln_clobber .true.
418    set_namelist namelist nn_solv 2
419    set_namelist namelist jpni 2
420    set_namelist namelist jpnj 2
421    set_namelist namelist jpnij 4
422    cd ${SETTE_DIR}
423    . ./fcm_job.sh input_POMME.cfg 4 ${TEST_NAME}
424fi
425
426if [ ${config} -eq 7 ] ;  then
427# Restartability tests for ORCA2_OFF_PISCES
428    export TEST_NAME="LONG"
429    cd ${SETTE_DIR}
430    . ../CONFIG/makenemo -m ${CMP_NAM} -n ORCA2OFFPIS_LONG -r ORCA2_OFF_PISCES -j 8
431    cd ${SETTE_DIR}
432    . param.cfg
433    . all_functions.sh
434    . prepare_exe_dir.sh
435    cd ${EXE_DIR}
436    set_namelist namelist cn_exp \"OFFP_LONG\"
437    set_namelist namelist nn_it000 1
438    set_namelist namelist nn_itend 40
439    set_namelist namelist nn_stock 20
440    set_namelist namelist ln_clobber .true.
441    set_namelist namelist_top ln_trcdta .false.
442    set_namelist namelist_top ln_diatrc .false.
443    # put ln_pisdmp, ln_ironsed, ln_river, ln_ndepo, ln_dust to false
444    # if not you need input files, and for tests is not necessary
445    set_namelist namelist_pisces ln_pisdmp .false.
446    set_namelist namelist_pisces ln_ironsed .false.
447    set_namelist namelist_pisces ln_river .false.
448    set_namelist namelist_pisces ln_ndepo .false.
449    set_namelist namelist_pisces ln_dust .false.
450    set_namelist namelist_pisces ln_presatm .false.
451    cd ${SETTE_DIR}
452    . ./fcm_job.sh input_ORCA2_OFF_PISCES.cfg 1 ${TEST_NAME}
453   
454    cd ${SETTE_DIR}
455    export TEST_NAME="SHORT"
456    . prepare_exe_dir.sh
457    cd ${EXE_DIR}
458    set_namelist namelist cn_exp \"OFFP_SHORT\"
459    set_namelist namelist nn_it000 21
460    set_namelist namelist nn_itend 40
461    set_namelist namelist nn_stock 20
462    set_namelist namelist ln_clobber .true.
463    cp ../LONG/OFFP_LONG_00000020_restart*nc .
464    set_namelist namelist_top ln_diatrc .false.
465    set_namelist namelist_top ln_rsttr .true.
466    set_namelist namelist_top nn_rsttr 2
467    set_namelist namelist_top cn_trcrst_in \"OFFP_LONG_00000020_restart_trc\"
468    # put ln_pisdmp, ln_ironsed, ln_river, ln_ndepo, ln_dust
469    # if not you need input files, and for tests is not necessary
470    set_namelist namelist_pisces ln_pisdmp .false.
471    set_namelist namelist_pisces ln_ironsed .false.
472    set_namelist namelist_pisces ln_river .false.
473    set_namelist namelist_pisces ln_ndepo .false.
474    set_namelist namelist_pisces ln_dust .false.
475    set_namelist namelist_pisces ln_presatm .false.
476    cd ${SETTE_DIR}
477    . ./fcm_job.sh input_ORCA2_OFF_PISCES.cfg 1 ${TEST_NAME}
478fi
479
480if [ ${config} -eq 8 ] ;  then
481    ## Repropducilibity tests for ORCA2_OFF_PISCES
482    export TEST_NAME="REPRO_4_4"
483    cd ${SETTE_DIR}
484    . ../CONFIG/makenemo -m ${CMP_NAM} -n ORCA2OFFPIS_16 -r ORCA2_OFF_PISCES -j 8 add_key "key_mpp_rep key_mpp_mpi"
485    cd ${SETTE_DIR}
486    . param.cfg
487    . all_functions.sh
488    . prepare_exe_dir.sh
489    cd ${EXE_DIR}
490    set_namelist namelist nn_it000 1
491    set_namelist namelist nn_itend 40
492    set_namelist namelist ln_clobber .true.
493    set_namelist namelist jpni 4
494    set_namelist namelist jpnj 4
495    set_namelist namelist jpnij 16
496    set_namelist namelist_top ln_trcdta .false.
497    set_namelist namelist_top ln_diatrc .false.
498    # put ln_pisdmp, ln_ironsed, ln_river, ln_ndepo, ln_dust to false
499    # if not you need input files, and for tests is not necessary
500    set_namelist namelist_pisces ln_pisdmp .false.
501    set_namelist namelist_pisces ln_ironsed .false.
502    set_namelist namelist_pisces ln_river .false.
503    set_namelist namelist_pisces ln_ndepo .false.
504    set_namelist namelist_pisces ln_dust .false.
505    set_namelist namelist_pisces ln_presatm .false.
506    cd ${SETTE_DIR}
507    . ./fcm_job.sh input_ORCA2_OFF_PISCES.cfg 16 ${TEST_NAME}
508
509    cd ${SETTE_DIR}
510    export TEST_NAME="REPRO_2_8"
511    . prepare_exe_dir.sh
512    cd ${EXE_DIR}
513    set_namelist namelist nn_it000 1
514    set_namelist namelist nn_itend 40
515    set_namelist namelist ln_clobber .true.
516    set_namelist namelist jpni 2
517    set_namelist namelist jpnj 8
518    set_namelist namelist jpnij 16
519    set_namelist namelist_top ln_trcdta .false.
520    set_namelist namelist_top ln_diatrc .false.
521    # put ln_pisdmp, ln_ironsed, ln_river, ln_ndepo, ln_dust to false
522    # if not you need input files, and for tests is not necessary
523    set_namelist namelist_pisces ln_pisdmp .false.
524    set_namelist namelist_pisces ln_ironsed .false.
525    set_namelist namelist_pisces ln_river .false.
526    set_namelist namelist_pisces ln_ndepo .false.
527    set_namelist namelist_pisces ln_dust .false.
528    set_namelist namelist_pisces ln_presatm .false.
529    cd ${SETTE_DIR}
530    . ./fcm_job.sh input_ORCA2_OFF_PISCES.cfg 16 ${TEST_NAME}
531fi
532
533
534if [ ${config} -eq 9 ] ;  then
535    ## ORCA2_LIM with Agulhas AGRIF zoom
536    export TEST_NAME="SHORT"
537    cd ${SETTE_DIR}
538    . ../CONFIG/makenemo -m ${CMP_NAM} -n ORCA2AGUL -r ORCA2_LIM  -j 8 add_key "key_agrif" del_key "key_zdftmx"
539    cd ${SETTE_DIR}
540    . param.cfg
541    . all_functions.sh
542    . prepare_exe_dir.sh
543    cd ${EXE_DIR}
544    set_namelist namelist nn_it000 1
545    set_namelist namelist nn_itend 75
546    set_namelist namelist ln_ctl .false.
547    set_namelist namelist ln_clobber .true.
548    set_namelist 1_namelist nn_it000 1
549    set_namelist 1_namelist nn_itend 150
550    set_namelist 1_namelist ln_ctl .false.
551    set_namelist 1_namelist ln_clobber .true.
552    cd ${SETTE_DIR}
553    . ./fcm_job.sh input_ORCA2_LIM_AGRIF.cfg 1 ${TEST_NAME}
554fi
555
556if [ ${config} -eq 10 ] ;  then
557    ## ORCA2_LIM with Agulhas AGRIF zoom in MPI
558    export TEST_NAME="SHORT"
559    cd ${SETTE_DIR}
560    . ../CONFIG/makenemo -m ${CMP_NAM} -n ORCA2AGUL_1_2 -r ORCA2_LIM -j 8 add_key "key_mpp_rep key_mpp_mpi key_agrif" del_key "key_zdftmx"
561    cd ${SETTE_DIR}
562    . param.cfg
563    . all_functions.sh
564    . prepare_exe_dir.sh
565    cd ${EXE_DIR}
566    set_namelist namelist nn_it000 1
567    set_namelist namelist nn_itend 75
568    set_namelist namelist ln_ctl .false.
569    set_namelist namelist ln_clobber .true.
570    set_namelist namelist jpni 1
571    set_namelist namelist jpnj 2
572    set_namelist namelist jpnij 2
573    set_namelist 1_namelist nn_it000 1
574    set_namelist 1_namelist nn_itend 150
575    set_namelist 1_namelist ln_ctl .false.
576    set_namelist 1_namelist ln_clobber .true.
577    cd ${SETTE_DIR}
578    . ./fcm_job.sh input_ORCA2_LIM_AGRIF.cfg 2 ${TEST_NAME}
579fi
580
581
582
583done
Note: See TracBrowser for help on using the repository browser.