source: tags/libIGCM_v2.0/AA_job @ 1388

Last change on this file since 1388 was 837, checked in by labetoulle, 11 years ago

On Curie, ins_job sets up project ID. See #98.

Add

#-Q- curie #MSUB -A ::default_project::

to job headers, to be replaced by proper project ID by ins_job.

  • Property licence set to
    The following licence information concerns ONLY the libIGCM tools
    ==================================================================

    Copyright © Centre National de la Recherche Scientifique CNRS
    Commissariat à l'Énergie Atomique CEA

    libIGCM : Library for Portable Models Computation of IGCM Group.

    IGCM Group is the french IPSL Global Climate Model Group.

    This library is a set of shell scripts and functions whose purpose is
    the management of the initialization, the launch, the transfer of
    output files, the post-processing and the monitoring of datas produce
    by any numerical program on any plateforme.

    This software is governed by the CeCILL license under French law and
    abiding by the rules of distribution of free software. You can use,
    modify and/ or redistribute the software under the terms of the CeCILL
    license as circulated by CEA, CNRS and INRIA at the following URL
    "http://www.cecill.info".

    As a counterpart to the access to the source code and rights to copy,
    modify and redistribute granted by the license, users are provided only
    with a limited warranty and the software's author, the holder of the
    economic rights, and the successive licensors have only limited
    liability.

    In this respect, the user's attention is drawn to the risks associated
    with loading, using, modifying and/or developing or reproducing the
    software by the user in light of its specific status of free software,
    that may mean that it is complicated to manipulate, and that also
    therefore means that it is reserved for developers and experienced
    professionals having in-depth computer knowledge. Users are therefore
    encouraged to load and test the software's suitability as regards their
    requirements in conditions enabling the security of their systems and/or
    data to be ensured and, more generally, to use and operate it in the
    same conditions as regards security.

    The fact that you are presently reading this means that you have had
    knowledge of the CeCILL license and that you accept its terms.
  • Property svn:keywords set to Revision Author Date
File size: 20.3 KB
Line 
1#-Q- curie #!/bin/ksh
2#-Q- curie ######################
3#-Q- curie ## CURIE   TGCC/CEA ##
4#-Q- curie ######################
5#-Q- curie #MSUB -r ::Jobname::       # nom de la requete
6#-Q- curie #MSUB -o Script_Output_::Jobname::.000001    # nom du fichier de sortie
7#-Q- curie #MSUB -e Script_Output_::Jobname::.000001    # nom du fichier de sortie
8#-Q- curie #MSUB -eo
9#-Q- curie #MSUB -n ::JobNumProcTot:: # reservation des processeurs pour le job
10#-Q- curie #MSUB -T 86400             # Limite temps (en secondes)
11#-Q- curie #MSUB -q standard
12#-Q- curie #MSUB -A ::default_project::
13#-Q- curie BATCH_NUM_PROC_TOT=$BRIDGE_MSUB_NPROC
14#-Q- curie set +x
15#-Q- titane #!/usr/bin/ksh
16#-Q- titane ##################
17#-Q- titane ## TITANE   CEA ##
18#-Q- titane ##################
19#-Q- titane #MSUB -r ::Jobname::       # nom de la requete
20#-Q- titane #MSUB -o Script_Output_::Jobname::.000001    # nom du fichier de sortie
21#-Q- titane #MSUB -e Script_Output_::Jobname::.000001    # nom du fichier de sortie
22#-Q- titane #MSUB -eo
23#-Q- titane #MSUB -n ::JobNumProcTot:: # reservation des processeurs pour le job
24#-Q- titane #MSUB -T 86400             # Limite temps (en secondes)
25#-Q- titane #MSUB -p gen2211
26#-Q- titane BATCH_NUM_PROC_TOT=$BRIDGE_MSUB_NPROC
27#-Q- ada #!/bin/ksh
28#-Q- ada # ######################
29#-Q- ada # ##   ADA IDRIS   ##
30#-Q- ada # ######################
31#-Q- ada # Nom de la requete
32#-Q- ada # @ job_name = ::Jobname::
33#-Q- ada # Type de travail
34#-Q- ada # @ job_type = parallel
35#-Q- ada # Fichier de sortie standard
36#-Q- ada # @ output = Script_Output_::Jobname::.000001
37#-Q- ada # Fichier de sortie erreur (le meme)
38#-Q- ada # @ error = Script_Output_::Jobname::.000001
39#-Q- ada # Nombre de processus demandes
40#-Q- ada # @ total_tasks = ::JobNumProcTot::
41#-Q- ada # @ environment = "BATCH_NUM_PROC_TOT=::JobNumProcTot::"
42#-Q- ada # Temps CPU max. par processus MPI hh:mm:ss
43#-Q- ada # @ wall_clock_limit = 1:00:00
44#-Q- ada # Nombre de taches OpenMP/pthreads par processus MPI
45#-Q- ada ### @ parallel_threads = 4
46#-Q- ada # Fin de l entete
47#-Q- ada # @ queue
48#-Q- sx9mercure #!/bin/ksh
49#-Q- sx9mercure ######################
50#-Q- sx9mercure ## SX9MERCURE   CEA ##
51#-Q- sx9mercure ######################
52#-Q- sx9mercure #PBS -N ::Jobname::           # nom de la requete
53#-Q- sx9mercure #PBS -m a                     # message a la fin du job
54#-Q- sx9mercure #PBS -j o                     # regroupement des sorties du job : standard error et output
55#-Q- sx9mercure #PBS -o Script_Output_::Jobname::.000001   # nom du fichier de sortie
56#-Q- sx9mercure #PBS -S /usr/bin/ksh          # shell de soumission
57#-Q- sx9mercure #PBS -v BATCH_NUM_PROC_TOT=::JobNumProcTot::
58#-Q- sx9mercure #PBS -l cpunum_job=${BATCH_NUM_PROC_TOT}          # reservation des processeurs pour le job
59#-Q- sx9mercure #PBS -l memsz_job=16.0gb      # limite memoire
60#-Q- sx9mercure #PBS -l elapstim_req=24:00:00 # limite en temps elapsed
61#-Q- sx9mercure #PBS -A gen6178               # groupe obligatoire sur SX9
62#-Q- sx9mercure #PBS -q para-sx9              # para-sx9 or prio-sx9 (for CMIP5 top priorities), bckg-sx9 (run with free slot) and test-sx9 (if elapsed<1h)
63#-Q- lxiv8 ######################
64#-Q- lxiv8 ## OBELIX      LSCE ##
65#-Q- lxiv8 ######################
66#-Q- lxiv8 #PBS -N ::Jobname::
67#-Q- lxiv8 #PBS -m a
68#-Q- lxiv8 #PBS -j oe
69#-Q- lxiv8 #PBS -q medium
70#-Q- lxiv8 #PBS -o Script_Output_::Jobname::.000001
71#-Q- lxiv8 #PBS -S /bin/ksh
72#-Q- lxiv8 #PBS -v BATCH_NUM_PROC_TOT=::JobNumProcTot::
73#-Q- lxiv8 #PBS -l nodes=1:ppn=::JobNumProcTot::
74#-Q- default #!/bin/ksh
75#-Q- default ##################
76#-Q- default ## DEFAULT HOST ##
77#-Q- default ##################
78#-Q- default #For MPI use, uncomment next line :
79#-Q- default #BATCH_NUM_PROC_TOT=::JobNumProcTot::
80
81#**************************************************************
82# Author: Sebastien Denvil
83# Contact: Sebastien.Denvil__at__ipsl.jussieu.fr
84# $Revision::                                          $ Revision of last commit
85# $Author::                                            $ Author of last commit
86# $Date::                                              $ Date of last commit
87# IPSL (2006)
88#  This software is governed by the CeCILL licence see libIGCM/libIGCM_CeCILL.LIC
89#
90#**************************************************************
91
92#set -eu
93#set -vx
94
95date
96echo
97echo "#######################################"
98echo "#       ANOTHER GREAT SIMULATION      #"
99echo "#######################################"
100echo
101
102#D--------------------------------------------------------------------==
103#D-
104#D-                      Job to launch IGCM models
105#D-
106#D--------------------------------------------------------------------==
107#D-
108
109MODIPSL=::modipsl::
110libIGCM=${MODIPSL}/libIGCM
111
112#D--------------------------------------------------------------------==
113#D- -1. PLACE FOR USER MODIFICATION
114#D-     - Job Verbosity
115#D-     - PeriodNb
116#D-     - Experience type : DEB(ug), DEV(elopment), RUN
117#D--------------------------------------------------------------------==
118
119#D- Task type (computing or post-processing)
120TaskType=computing
121#D- Increased verbosity (1, 2, 3)
122Verbosity=3
123#D- Experience type : DEB(ug), DEV(elopment), RUN (default)
124JobType=RUN
125#D- Number of execution in one job
126PeriodNb=1
127#-Q- sx9mercure PeriodNb=60
128
129#D-
130#D- --------------------------------------------------------------------------------------------------#
131#D-                          ! OPTIONNAL FEATURES /!\ USE WITH CARE !                                 #
132#D- --------------------------------------------------------------------------------------------------#
133
134
135#D- Low level debug : to bypass lib test checks and stack construction
136#D- Default=true
137#D-
138DEBUG_debug=false
139
140#D- Set DEBUG_sys to false to disable output calls of function
141#D- Default=true
142#D-
143#DEBUG_sys=false
144
145#D- Define running directory
146#D- Default=${TMPDIR} ie temporary batch directory
147#D-
148#RUN_DIR_PATH=/workdir/or/scratchdir/of/this/machine
149
150#D- Define submit directory
151#D- Default= where you launch qsub (variable from scheduler)
152#D-
153#SUBMIT_DIR=$( pwd )
154
155#D- Define input file root directory
156#D- Default=/IGCMG/common/account/of/this/machine
157#D-
158#R_IN=/u/rech/por/rpor111/DATA
159
160#D- Turn in dry run mode ? (0,1,2,3)
161#D- Default=0
162#D-
163#DRYRUN=3
164#D-# YOU HAVE TO COMPILE YOUR EXE FILES to USE DRYRUN MODE !
165#D-# -------------------------------------------------------------------------------------
166#D-# | DRYRUN=  |  Date computations, | sys_Get    |  Exe    | sys_Put_Out; sys_Put_Rest |
167#D-# |          |  Cp/Exe/param/files |            |         |                           |
168#D-# |          |  Chmod Qsub         |            |         |                           |
169#D-# -------------------------------------------------------------------------------------
170#D-# |    0     |       yes           |    yes     |  yes    |      yes                  |
171#D-# -------------------------------------------------------------------------------------
172#D-# |    1     |       yes           |    yes     |  yes    |      no                   |
173#D-# -------------------------------------------------------------------------------------
174#D-# |    2     |       yes           |    yes     |  no     |      no                   |
175#D-# -------------------------------------------------------------------------------------
176#D-# |    3     |       yes           |    no      |  no     |      no                   |
177#D-# -------------------------------------------------------------------------------------
178
179#D-
180# --------------------------------------------------------------------------------------------------#
181#D- ! END OF OPTIONNAL FEATURES /!\ DO NOT MODIFY ANYTHING BELOW UNLESS YOU KNOW WHAT YOU ARE DOING #
182# --------------------------------------------------------------------------------------------------#
183
184#D-
185#D--------------------------------------------------------------------==
186#D- 0. SYSTEM ENVIRONMENT
187#D-    - Define variables for Number of processors
188#D-    - Define MPI variables
189#D-    - Define batch scheduler variables
190#D-    - Source IGCM Library
191#D-    - Get RESOLution in .resol file (temporary)
192#D--------------------------------------------------------------------==
193
194#---------------------------------------------------------------------==
195
196. ${libIGCM}/libIGCM_debug/libIGCM_debug.ksh
197. ${libIGCM}/libIGCM_card/libIGCM_card.ksh
198. ${libIGCM}/libIGCM_date/libIGCM_date.ksh
199#-------
200. ${libIGCM}/libIGCM_sys/libIGCM_sys.ksh
201. ${libIGCM}/libIGCM_config/libIGCM_config.ksh
202. ${libIGCM}/libIGCM_comp/libIGCM_comp.ksh
203. ${libIGCM}/libIGCM_post/libIGCM_post.ksh
204#-------
205( ${DEBUG_debug} ) && IGCM_debug_Check
206( ${DEBUG_debug} ) && IGCM_card_Check
207( ${DEBUG_debug} ) && IGCM_date_Check
208
209#--------------------------------------------------------------------==
210
211#-- Resolution FLAG for oasis input
212#RESOL="ORCA2xLMD9671"
213[ -f ${SUBMIT_DIR}/../.resol ] && RESOL=$(head -1 ${SUBMIT_DIR}/../.resol)
214#-- Chemistrie FLAG to ease chemistries configurations management
215#CHEM="AER"
216[ -f ${SUBMIT_DIR}/../.chimie ] && eval $(grep CHEM ${SUBMIT_DIR}/../.chimie)
217
218#D-
219#D--------------------------------------------------------------------==
220#D- 1. INITIALIZE CONFIGURATION
221#D-    - Simulation configuration
222#D-    - Simulation parameters
223#D-    - Execution parameter
224#D-    - Define input files directory
225#D-    - Read or initialize CumulPeriod
226#D-    - run.card
227#D---------------------------------------------------------------------==
228IGCM_config_Initialize
229
230# --------------------------------------------------------------------==
231# Define, create and cd RUN_DIR
232# --------------------------------------------------------------------==
233RUN_DIR=${RUN_DIR_PATH}/${config_UserChoices_JobName}.${$}
234IGCM_sys_MkdirWork ${RUN_DIR}
235IGCM_sys_Cd ${RUN_DIR}
236
237# ------------------------------------------------------------------
238# Test if all was right before proceeding further
239# ------------------------------------------------------------------
240IGCM_debug_Verif_Exit
241
242#D-
243#D---------------------------------------------------------------------==
244#D- 2. INITIALIZE ALL COMPONENT OF THE CONFIGURATION
245#D-    - Define component executable
246#D-    - Define Write Frequency by component "1M" "1D" ...
247#D-    - Source ${comp}.driver
248#D-    - Define Storage Places by component
249#D-    - ${comp}_Initialize :
250#D-    - Patterns to sed
251#D-    - Variables from namelist
252#D---------------------------------------------------------------------==
253IGCM_comp_Initialize
254
255#D-
256#D---------------------------------------------------------------------==
257#D- 3. PERFORM GENERAL VERIFICATION
258#D-    - Verify compatibility of period length, write frequencies, ...
259#D-    - Verify compatibility of rebuild choices and post-process choices
260#D-    - Will stop here if something is wrong
261#D---------------------------------------------------------------------==
262IGCM_config_Check
263
264# ------------------------------------------------------------------
265# Test if all was right before entering the period loop
266# ------------------------------------------------------------------
267IGCM_debug_Verif_Exit
268
269#D-
270#D---------------------------------------------------------------------==
271#D- 4. ENTER THE DEEP EXECUTION LOOP
272#D-    ! FASTEN YOUR SEAT BELTS PLEASE. !
273#D-    !   WE WILL CROSS TURBULENCES.   !
274#D---------------------------------------------------------------------==
275
276Period=1
277
278PeriodContinue=false
279if [ ${Period} -le ${PeriodNb} ]; then
280  PeriodContinue=true
281fi
282while ( ${PeriodContinue} ) ; do
283
284  echo
285  echo "Starting iteration ${Period} / ${PeriodNb}"
286
287  #D-
288  # ------------------------------------------------------------------
289  #D-   4.1 COMPUTE AND DEFINE DATE INFORMATION.
290  #D-       - ${PeriodDateBegin}
291  #D-       - ${PeriodDateEnd}
292  #D-       - ${CumulPeriod}
293  #D-       - ${DatesPeriod}=${PeriodDateBegin}_${PeriodDateEnd}
294  #D-       - ${PeriodLength} => JOURS=31 , 28, 29, 30 ; MOIS=0 ; ANS=0
295  #D-       - update run.card value
296  # ------------------------------------------------------------------
297  IGCM_config_PeriodStart
298
299  #D-
300  # ------------------------------------------------------------------
301  #D-   4.2 BEGIN COMPUTATION ONLY IF NEEDED
302  # ------------------------------------------------------------------
303  if [ ${SimulationLengthInDays} -gt ${ExperienceLengthInDays} ] ; then
304    IGCM_debug_Print 1 "break because '${SimulationLengthInDays} -gt ${ExperienceLengthInDays}' : ${SimulationLengthInDays} -gt ${ExperienceLengthInDays}"
305    break ;
306  fi
307
308  #D-
309  # ------------------------------------------------------------------
310  #D-   4.3 CALL OPTIONNAL FUNCTION WITHIN DRIVER
311  #D-       - to set special variables used in lists (Param, Init or Bc).
312  # ------------------------------------------------------------------
313  IGCM_comp_PeriodStart
314
315  #D-
316  # ------------------------------------------------------------------
317  #D-   4.4 GET PARAMETERS TEXT FILES UPDATED BY JOB
318  #D-       - (.def, namelist ...)
319  #D-       - READ AND USE BY GCM AT EACH EXECUTION.
320  # ------------------------------------------------------------------
321  IGCM_comp_GetInputParametersFiles
322
323  #D-
324  # ------------------------------------------------------------------
325  #D-   4.5 GET INITIAL STATE
326  #D-       - (Etat0, carteveg,relief...)
327  #D-       - NECESSARY ONLY IF CumulPeriod= (=> NUMERO) == 1
328  #D-       - AND ???_Restart=NO
329  #D-       - READ AND USE BY GCM FOR ONLY ONE EXECUTION.
330  # ------------------------------------------------------------------
331  IGCM_comp_GetInputInitialStateFiles
332
333  #D-
334  # ------------------------------------------------------------------
335  #D-   4.6 GET BOUNDARIES CONDITIONS
336  #D-       - (SST, WIND[X,Y,Z], LAI ...)
337  #D-       - READ AND USE BY GCM AT EACH EXECUTION.
338  # ------------------------------------------------------------------
339  IGCM_comp_GetInputBoundaryFiles
340
341  #D-
342  # ------------------------------------------------------------------
343  #D-   4.7 GET SmoothFiles CONDITIONS
344  #D-       - (SST, WIND[X,Y,Z], LAI ...)
345  #D-       - READ AND USE BY GCM AT EACH EXECUTION
346  #D-       - Do not change at each ${Period}
347  # ------------------------------------------------------------------
348  IGCM_comp_GetInputSmoothFiles
349
350  #D-
351  # ------------------------------------------------------------------
352  #D-   4.8 GET RESTART FILES
353  #D-       - (restartphy.nc, orca_restart.nc ...)
354  #D-       - READ AND USE BY GCM AT EACH EXECUTION.
355  #D-
356  #D-       - IF A COMPONENT DO NOT RESTART FROM PREVIOULSY COMPUTED RESTART
357  #D-       - ONLY IF CumulPeriod= (=> NUMERO) == 1
358  #D-       - MUST EXECUTE CREATE ETAT0_LIMIT (TYPICALLY LMDZ AND ./create_etat0_limit.e)
359  #D-
360  #D-       - IF CumulPeriod == 1
361  #D-       - AND A COMPONENT RESTART FROM PREVIOULSY COMPUTED RESTART
362  #D-       - MUST BRING THIS RESTART IN ${RUN_DIR_PATH}
363  #D-
364  #D-       - ELSE BRING RESTART FROM ${JobName} IN ${RUN_DIR_PATH}
365  # ------------------------------------------------------------------
366  IGCM_comp_GetInputRestartFiles
367
368  # ------------------------------------------------------------------
369  # Test if all was right before Update
370  # ------------------------------------------------------------------
371  IGCM_debug_Verif_Exit
372
373  #D-
374  # ------------------------------------------------------------------
375  #D-   4.9 ACTIVATE RUNNING ENVIRONNEMENT VARIABLES
376  # ------------------------------------------------------------------
377  IGCM_sys_activ_variables
378
379  #D-
380  # ------------------------------------------------------------------
381  #D-   4.10 UPDATE ParametersFiles
382  #D-        - (.def, namelist ...)
383  #D-        - with current value of (ORCA_NIT00, ORCA_LRSTAR, RAZ_DATE, ...)
384  # ------------------------------------------------------------------
385  IGCM_comp_Update
386
387  # ------------------------------------------------------------------
388  # Test if all was right before execution
389  # ------------------------------------------------------------------
390  IGCM_debug_Verif_Exit
391
392  #D-
393  #D---------------------------------------------------------------------==
394  #D- 5. EXECUTION
395  #D---------------------------------------------------------------------==
396
397  echo
398  echo "#######################################"
399  echo "#      DIR BEFORE RUN EXECUTION       #"
400  echo "#######################################"
401  echo
402  ls -lrt
403
404  echo "========================================================================"
405  if [ ${DRYRUN} -le 1 ] ; then
406    REAL_DATE_INIT=$( date )
407    echo                                                                                   > ${Exe_Output}
408    echo "#######################################"                                        >> ${Exe_Output}
409    echo "EXECUTION of : ${EXECUTION}"
410    echo "EXECUTION of : ${EXECUTION}"                                                    >> ${Exe_Output}
411    echo                                                                                  >> ${Exe_Output}
412    typeset RET
413    RUN_DATE_BEGIN=$( date '+%Y-%m-%dT%H:%M:%S' )
414    ${EXECUTION}  >> ${Exe_Output} 2>&1
415    RET=$?
416    RUN_DATE_END=$( date '+%Y-%m-%dT%H:%M:%S' )
417    if [ ${RET} -gt 0 ] ; then
418      echo "Return code of executable :" ${RET}
419      IGCM_debug_Exit "EXECUTABLE"
420      IGCM_sys_Mkdir ${SUBMIT_DIR}/Debug
421      IGCM_sys_Cp ${Exe_Output} ${SUBMIT_DIR}/Debug/${PREFIX}_${Exe_Output}_error
422      ExecutionFail=true
423    fi
424    echo                                            >> ${Exe_Output}
425    echo "#######################################"  >> ${Exe_Output}
426    echo "libIGCM RunDateBegin=${RUN_DATE_BEGIN}"   >> ${Exe_Output}
427    echo "libIGCM RunDateEnd=${RUN_DATE_END}"       >> ${Exe_Output}
428    echo                                            >> ${Exe_Output}
429  else
430    echo "EXECUTION of : ${EXECUTION} simulated for DRYRUN = " $DRYRUN
431    echo "EXECUTION of : ${EXECUTION} simulated for DRYRUN = " $DRYRUN > ${Exe_Output}
432    if ( $DEBUG_debug ) ; then
433      echo "FOR EXECUTION DRYRUN mode = " $DRYRUN >> stack
434    fi
435  fi
436  echo "========================================================================"
437
438  echo
439  echo "#######################################"
440  echo "#       DIR AFTER RUN EXECUTION       #"
441  echo "#######################################"
442  echo
443  ls -lrt
444
445  #D-
446  #D---------------------------------------------------------------------==
447  #D- 6. POST EXECUTION OPERATIONS
448  #D---------------------------------------------------------------------==
449
450  #D-
451  # ------------------------------------------------------------------
452  #D-   6.1. DESACTIVATE RUNNING ENVIRONNEMENT VARIABLES
453  # ------------------------------------------------------------------
454  IGCM_sys_desactiv_variables
455
456  #D-
457  # ------------------------------------------------------------------
458  #D-   6.2. SAVE OUTPUTS
459  #D-        - On archive/storage machine
460  #D-        - netcdf outputs, restarts and text files of models
461  # ------------------------------------------------------------------
462  IGCM_comp_Finalize
463
464  # ------------------------------------------------------------------
465  # Test if all was right after Finalize
466  # ------------------------------------------------------------------
467  IGCM_debug_Verif_Exit
468
469  #D-
470  # ------------------------------------------------------------------
471  #D-   6.3. CONFIGURE POST-PROCESSING
472  #D-        - asynchronous post-treatment (Level 0) when necessary (rebuild/pack)
473  #D-        - classic post-treatment      (Level 1) when necessary (TimeSeries/Seasonal)
474  # ------------------------------------------------------------------
475  IGCM_post_Configure
476
477  #D-
478  # ------------------------------------------------------------------
479  #D-   6.4. SUBMIT POST-PROCESSING
480  #D-        - remote rebuild or/and post-treatment process if necessary
481  # ------------------------------------------------------------------
482  IGCM_post_Submit
483
484  #D-
485  # ------------------------------------------------------------------
486  #D-   6.5. FINALYZE CURRENT LOOP AND PREPARE NEXT ONE
487  #D-        - Manage executable size to save only different binary
488  #D-        - Write in run.card user, system and elapse time
489  #D-        - Check that everything went well ! No ? then we stop.
490  #D-        - Determine next computed period
491  # ------------------------------------------------------------------
492  IGCM_config_PeriodEnd
493
494  echo "Ending iteration ${Period}"
495  (( Period = Period + 1 ))
496
497  # End loop if date end is reached
498  if [ ${SimulationLengthInDays} -ge ${ExperienceLengthInDays} ] ; then
499    break ;
500  fi
501
502  PeriodContinue=false
503  if [ ${Period} -le ${PeriodNb} ]; then
504    PeriodContinue=true
505  fi
506done
507
508#D-
509#D---------------------------------------------------------------------==
510#D- 7. SUBMIT NEXT JOB OR SEND MAIL IF SIMULATION IS OVER.
511#D---------------------------------------------------------------------==
512IGCM_config_Finalize
513
514date
Note: See TracBrowser for help on using the repository browser.