source: trunk/libIGCM/AA_job @ 803

Last change on this file since 803 was 787, checked in by mafoipsl, 11 years ago

For ada, change header into AA_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.6 KB
RevLine 
[704]1#-Q- curie #!/bin/ksh
[619]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)
[681]11#-Q- curie #MSUB -q standard
[781]12#-Q- curie ##MSUB -A gen****
[619]13#-Q- curie BATCH_NUM_PROC_TOT=$BRIDGE_MSUB_NPROC
[681]14#-Q- curie set +x
[222]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
[445]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)
[222]25#-Q- titane #MSUB -p gen2211
26#-Q- titane BATCH_NUM_PROC_TOT=$BRIDGE_MSUB_NPROC
[770]27#-Q- ada #!/bin/ksh
28#-Q- ada # ######################
[787]29#-Q- ada # ##   ADA IDRIS   ##
[770]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
[787]44#-Q- ada # Nombre de taches OpenMP/pthreads par processus MPI
45#-Q- ada ### @ parallel_threads = 4
[770]46#-Q- ada # Fin de l entete
47#-Q- ada # @ queue
[171]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
[445]59#-Q- sx9mercure #PBS -l memsz_job=16.0gb      # limite memoire
[182]60#-Q- sx9mercure #PBS -l elapstim_req=24:00:00 # limite en temps elapsed
[171]61#-Q- sx9mercure #PBS -A gen6178               # groupe obligatoire sur SX9
[358]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)
[281]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::
[2]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
[373]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
[2]87# IPSL (2006)
88#  This software is governed by the CeCILL licence see libIGCM/libIGCM_CeCILL.LIC
[373]89#
90#**************************************************************
[2]91
92#set -eu
93#set -vx
94
95date
96echo
97echo "#######################################"
98echo "#       ANOTHER GREAT SIMULATION      #"
99echo "#######################################"
100echo
101
102#D--------------------------------------------------------------------==
103#D--------------------------------------------------------------------==
104#D-
105#D-                      Job to launch IGCM models
106#D-
107#D--------------------------------------------------------------------==
108#D--------------------------------------------------------------------==
109#D-
110
111MODIPSL=::modipsl::
112libIGCM=${MODIPSL}/libIGCM
113
[712]114#D- Task type (computing or post-processing)
115TaskType=computing
116
[2]117#D--------------------------------------------------------------------==
118#D-                   -1. User modification place
119#D-                      - Job Verbosity
120#D-                      - PeriodNb
[128]121#D-                      - Experience type : DEB(ug), DEV(elopment), RUN
[2]122#D--------------------------------------------------------------------==
123
124#D- Increased verbosity (1, 2, 3)
125Verbosity=3
[475]126#D- Experience type : DEB(ug), DEV(elopment), RUN (default)
127JobType=RUN
[2]128#D- Number of execution in one job
[185]129PeriodNb=1
130#-Q- sx9mercure PeriodNb=60
[2]131
132#D-
[475]133# --------------------------------------------------------------------------------------------------#
134#D-                          ! Optionnal features /!\ Use with care !                               #
135# --------------------------------------------------------------------------------------------------#
[2]136
[475]137
[2]138#D- Low level debug : to bypass lib test checks and stack construction
139#D- Default=true
140DEBUG_debug=false
141
142#D- Set DEBUG_sys to false to disable output calls of function
143#D- Default=true
144#DEBUG_sys=false
145
146#D- Define running directory
147#D- Default=${TMPDIR} ie temporary batch directory
[154]148#RUN_DIR_PATH=/workdir/or/scratchdir/of/this/machine
[2]149
150#D- Define submit directory
[92]151#D- Default= where you launch qsub (variable from scheduler)
152#SUBMIT_DIR=$( pwd )
[2]153
[157]154#D- Define BIG_DIR directory
155#D- Default=(strongly machine dependant/see libIGCM_sys for details)
156#BIG_DIR=/somewhere/with/lot/of/space/scratchdir/may/be
157
[475]158#D- Define input file root directory
159#D- Default=/IGCMG/common/account/of/this/machine
160#R_IN=/u/rech/por/rpor111/DATA
161
[2]162#D- Turn in dry run mode ? (0,1,2,3)
163#D- Default=0
164#DRYRUN=3
[475]165# YOU HAVE TO COMPILE YOUR EXE FILES to USE DRYRUN MODE !
[2]166# -------------------------------------------------------------------------------------
167# | DRYRUN=  |  Date computations, | sys_Get    |  Exe    | sys_Put_Out; sys_Put_Rest |
168# |          |  Cp/Exe param files |            |  Chmod  |                           |
169# |          |      Qsub           |            |         |                           |
170# -------------------------------------------------------------------------------------
171# |    0     |       yes           |    yes     |  yes    |      yes                  |
172# -------------------------------------------------------------------------------------
173# |    1     |       yes           |    yes     |  yes    |      no                   |
174# -------------------------------------------------------------------------------------
175# |    2     |       yes           |    yes     |  no     |      no                   |
176# -------------------------------------------------------------------------------------
177# |    3     |       yes           |    no      |  no     |      no                   |
178# -------------------------------------------------------------------------------------
179
[475]180#D-
181# --------------------------------------------------------------------------------------------------#
182#D- ! End of optionnal features /!\ Do not modify anything below unless you know what you are doing #
183# --------------------------------------------------------------------------------------------------#
[2]184
185#D-
186#D--------------------------------------------------------------------==
187#D-                   0. System Environment
188#D-                      - Define variables for Number of processors
189#D-                      - Define MPI variables
190#D-                      - Define batch scheduler variables
191#D-                      - Source IGCM Library
192#D-                      - Get RESOLution in .resol file (temporary)
193#D--------------------------------------------------------------------==
194
195#D--------------------------------------------------------------------==
196
197. ${libIGCM}/libIGCM_debug/libIGCM_debug.ksh
[83]198       ( ${DEBUG_debug} ) && IGCM_debug_Check
[2]199. ${libIGCM}/libIGCM_card/libIGCM_card.ksh
200       ( ${DEBUG_debug} ) && IGCM_card_Check
201. ${libIGCM}/libIGCM_date/libIGCM_date.ksh
202       ( ${DEBUG_debug} ) && IGCM_date_Check
203#-------
204. ${libIGCM}/libIGCM_sys/libIGCM_sys.ksh
205. ${libIGCM}/libIGCM_config/libIGCM_config.ksh
206. ${libIGCM}/libIGCM_comp/libIGCM_comp.ksh
207. ${libIGCM}/libIGCM_post/libIGCM_post.ksh
208
209#D--------------------------------------------------------------------==
210
211#-- Resolution FLAG for oasis input
[511]212#RESOL="ORCA2xLMD9671"
[138]213[ -f ${SUBMIT_DIR}/../.resol ] && RESOL=$(head -1 ${SUBMIT_DIR}/../.resol)
[511]214#-- Chemistrie FLAG to ease chemistries configurations management
215#CHEM="AER"
216[ -f ${SUBMIT_DIR}/../.chimie ] && eval $(grep CHEM ${SUBMIT_DIR}/../.chimie) 
[2]217
218#D-
219#D--------------------------------------------------------------------==
220#D-           1. INITIALIZE CONFIGURATION AND THEN COMPONENTS
221#D--------------------------------------------------------------------==
222
223# --------------------------------------------------------------------==
224#D- Initialize configuration :
225#D-              - Simulation configuration
226#D-              - Simulation parameters
227#D-              - Execution parameter
228#D-              - Define input files directory
229#D-              - Read or initialize CumulPeriod
230#D-              - run.card
231#D-
232# --------------------------------------------------------------------==
233IGCM_config_Initialize
234
235# --------------------------------------------------------------------==
236#D- Define, create and cd RUN_DIR
237#D- 
238# --------------------------------------------------------------------==
[154]239RUN_DIR=${RUN_DIR_PATH}/${config_UserChoices_TagName}/${config_UserChoices_JobName}.${$}
[2]240IGCM_sys_MkdirWork ${RUN_DIR}
241IGCM_sys_Cd ${RUN_DIR}
242
[436]243# ------------------------------------------------------------------
244# Test if all was right before proceeding further
245# ------------------------------------------------------------------
[432]246IGCM_debug_Verif_Exit
247
[2]248# --------------------------------------------------------------------==
249#D- Initialize each components taking part
250#D- into simulation configuration :
251#D-         - Define component executable
252#D-         - Define Write Frequency by component "1M" "1D" ...
253#D-         - Source ${comp}.driver
254#D-         - Define Storage Places by component
255#D-         - ${comp}_Initialize :
256#D-         - Patterns to sed
257#D-         - Variables from namelist
258#D-
259# --------------------------------------------------------------------==
260IGCM_comp_Initialize
261
262# --------------------------------------------------------------------==
[92]263#D- Verify compatibility of period length, write frequencies, ...
264#D- Verify compatibility of rebuild choices and post-process choices
265#D- Will stop here if something is wrong
[2]266# --------------------------------------------------------------------==
[380]267IGCM_config_Check
[2]268
[380]269# ------------------------------------------------------------------
270#D- Test if all was right before entering the period loop
271# ------------------------------------------------------------------
272IGCM_debug_Verif_Exit
273
[2]274#D--------------------------------------------------------------------==
275#D-                  2. ENTER THE DEEP EXECUTION LOOP
276#D-                  !!!! FASTEN YOUR SEAT BELTS !!!!
277#D-                  !!!!!      PLEASE.          !!!!
278#D-                  !! WE WILL CROSS TURBULENCES. !!
279#D--------------------------------------------------------------------==
280
281Period=1
282
[120]283PeriodContinue=false
284if [ ${Period} -le ${PeriodNb} ]; then
285    PeriodContinue=true
286fi
287while ( ${PeriodContinue} ) ; do
288
[785]289  echo
290  echo "Starting iteration ${Period} / ${PeriodNb}"
[2]291
[785]292  #D-
293  # ------------------------------------------------------------------
294  #D- COMPUTE AND DEFINE DATE STUFF.
295  # ------------------------------------------------------------------
296  IGCM_config_PeriodStart
297  #D- => ${PeriodDateBegin}
298  #D- => ${PeriodDateEnd}
299  #D- => ${CumulPeriod}
300  #D- => ${DatesPeriod}=${PeriodDateBegin}_${PeriodDateEnd}
301  #D- => ${PeriodLength} => JOURS=31 , 28, 29, 30 ; MOIS=0 ; ANS=0
302  #D- => update run.card value
[2]303
[785]304  #D-
305  # ------------------------------------------------------------------
306  #D- BEGIN COMPUTATION ONLY IF NEEDED
307  # ------------------------------------------------------------------
308  if [ ${SimulationLengthInDays} -gt ${ExperienceLengthInDays} ] ; then
309    IGCM_debug_Print 1 "break because '${SimulationLengthInDays} -gt ${ExperienceLengthInDays}' : ${SimulationLengthInDays} -gt ${ExperienceLengthInDays}"
310    break ;
311  fi
[2]312
[785]313  #D-
314  # ------------------------------------------------------------------
315  #D- Optionnal function in driver
316  #D- to set special variables used in forward lists (Param, Init or Bc).
317  # ------------------------------------------------------------------
318  IGCM_comp_PeriodStart
[2]319
[785]320  #D-
321  # ------------------------------------------------------------------
322  #D- Get parameters text files updated by job (.def, namelist ...)
323  #D- READ AND USE BY GCM AT EACH EXECUTION.
324  # ------------------------------------------------------------------
325  IGCM_comp_GetInputParametersFiles
[262]326
[785]327  #D-
328  # ------------------------------------------------------------------
329  #D- Get initial state (Etat0, carteveg,relief...)
330  #D- NECESSARY ONLY IF CumulPeriod= (=> NUMERO) == 1
331  #D- AND ???_Restart=NO
332  #D- READ AND USE BY GCM FOR ONLY ONE EXECUTION.
333  # ------------------------------------------------------------------
334  IGCM_comp_GetInputInitialStateFiles
[2]335
[785]336  #D-
337  # ------------------------------------------------------------------
338  #D- Get Boundaries Conditions (SST, WIND[X,Y,Z], LAI ...)
339  #D- READ AND USE BY GCM AT EACH EXECUTION.
340  # ------------------------------------------------------------------
341  IGCM_comp_GetInputBoundaryFiles
[2]342
[785]343  #D-
344  # ------------------------------------------------------------------
345  #D- Get SmoothFiles Conditions (SST, WIND[X,Y,Z], LAI ...)
346  #D- READ AND USE BY GCM AT EACH EXECUTION but varying in time
347  # ------------------------------------------------------------------
348  IGCM_comp_GetInputSmoothFiles
[2]349
[785]350  #D-
351  # ------------------------------------------------------------------
352  #D- Get restart files (restartphy.nc, orca_restart.nc ...)
353  #D- READ AND USE BY GCM AT EACH EXECUTION.
354  #D-
355  #D- IF A COMPONENT DO NOT RESTART FROM PREVIOULSY COMPUTED RESTART
356  #D- ONLY IF CumulPeriod= (=> NUMERO) == 1
357  #D- MUST EXECUTE CREATE ETAT0_LIMIT (TYPICALLY LMDZ AND ./create_etat0_limit.e)
358  #D-
359  #D- IF CumulPeriod == 1
360  #D- AND A COMPONENT RESTART FROM PREVIOULSY COMPUTED RESTART
361  #D- MUST BRING THIS RESTART IN ${RUN_DIR_PATH}
362  #D-
363  #D- ELSE BRING RESTART FROM ${JobName} IN ${RUN_DIR_PATH}
364  # ------------------------------------------------------------------
365  IGCM_comp_GetInputRestartFiles
[2]366
[785]367  #D-
368  # ------------------------------------------------------------------
369  #D- Test if all was right before Update
370  # ------------------------------------------------------------------
371  IGCM_debug_Verif_Exit
[2]372
[785]373  # ------------------------------------------------------------------
374  #D- Activate running environnement variables
375  # ------------------------------------------------------------------
376  IGCM_sys_activ_variables
[2]377
[785]378  #D-
379  # ------------------------------------------------------------------
380  #D- UPDATE ParametersFiles (.def, namelist ...) with
381  #D- current value of (ORCA_NIT00, ORCA_LRSTAR, RAZ_DATE, ...)
382  # ------------------------------------------------------------------
383  IGCM_comp_Update
384
385  #D-
386  # ------------------------------------------------------------------
387  #D- Test if all was right before execution
388  # ------------------------------------------------------------------
389  IGCM_debug_Verif_Exit
390
391  #D-
392  #D----------------------------------------------------------------==
393  #D-                          3. Execution
394  #D----------------------------------------------------------------==
395
396  echo
397  echo "#######################################"
398  echo "#      DIR BEFORE RUN EXECUTION       #"
399  echo "#######################################"
400  echo
401  ls -lrt
402
403  echo "========================================================================"
404  if [ ${DRYRUN} -le 1 ] ; then
405    REAL_DATE_INIT=$( date )
406    echo                                                                                   > ${Exe_Output}
407    echo "#######################################"                                        >> ${Exe_Output}
408    echo "EXECUTION of : ${EXECUTION}"
409    echo "EXECUTION of : ${EXECUTION}"                                                    >> ${Exe_Output}
410    echo                                                                                  >> ${Exe_Output}
411    typeset RET
412    RUN_DATE_BEGIN=$( date '+%Y-%m-%dT%H:%M:%S' )
413    ${EXECUTION}  >> ${Exe_Output} 2>&1
414    RET=$?
415    RUN_DATE_END=$( date '+%Y-%m-%dT%H:%M:%S' )
416    if [ ${RET} -gt 0 ] ; then
417      echo "Return code of executable :" ${RET}
418      IGCM_debug_Exit "EXECUTABLE"
419      IGCM_sys_Mkdir ${SUBMIT_DIR}/Debug
420      IGCM_sys_Cp ${Exe_Output} ${SUBMIT_DIR}/Debug/${PREFIX}_${Exe_Output}_error
421      ExecutionFail=true
[2]422    fi
[785]423    echo                                            >> ${Exe_Output}
424    echo "#######################################"  >> ${Exe_Output}
425    echo "libIGCM RunDateBegin=${RUN_DATE_BEGIN}"   >> ${Exe_Output}
426    echo "libIGCM RunDateEnd=${RUN_DATE_END}"       >> ${Exe_Output}
427    echo                                            >> ${Exe_Output}
428  else
429    echo "EXECUTION of : ${EXECUTION} simulated for DRYRUN = " $DRYRUN
430    echo "EXECUTION of : ${EXECUTION} simulated for DRYRUN = " $DRYRUN > ${Exe_Output}
431    if ( $DEBUG_debug ) ; then
432      echo "FOR EXECUTION DRYRUN mode = " $DRYRUN >> stack
433    fi
434  fi
435  echo "========================================================================"
[2]436
[785]437  echo
438  echo "#######################################"
439  echo "#       DIR AFTER RUN EXECUTION       #"
440  echo "#######################################"
441  echo
442  ls -lrt
[2]443
[785]444  #D-
445  # ------------------------------------------------------------------
446  #D- Desactivate running environnement variables
447  # ------------------------------------------------------------------
448  IGCM_sys_desactiv_variables
[2]449
[785]450  #D-
451  #D----------------------------------------------------------------==
452  #D-                    4. Post execution operations
453  #D----------------------------------------------------------------==
[2]454
[785]455  #D-
456  # ------------------------------------------------------------------
457  #D- Save on archive machine netcdf outputs, restarts
458  #D- and text files of models
459  # ------------------------------------------------------------------
460  IGCM_comp_Finalize
[2]461
[785]462  #D-
463  # ------------------------------------------------------------------
464  #D- Test if all was right after Finalize
465  # ------------------------------------------------------------------
466  IGCM_debug_Verif_Exit
[2]467
[785]468  #D-
469  # ------------------------------------------------------------------
470  #D- Configure asynchronous post-treatment (Level 0) when necessary (rebuild)
471  #D- Configure classic post-treatment (Level 1) when necessary (TimeSeries/Seasonal)
472  # ------------------------------------------------------------------
473  IGCM_post_Configure
[2]474
[785]475  #D-
476  # ------------------------------------------------------------------
477  #D- Launch remote rebuild or/and post-treatment process if necessary
478  # ------------------------------------------------------------------
479  IGCM_post_Submit
[380]480
[785]481  #D-
482  # ------------------------------------------------------------------
483  #D- Save job output
484  #D- Manage executable size to save only different binary
485  #D- Write in run.card user, system and elapse time
486  #D- Check that everything went well ! No ? then we stop.
487  #D- Determine next computed period
488  # ------------------------------------------------------------------
489  IGCM_config_PeriodEnd
[2]490
[785]491  echo "Ending iteration ${Period}"
492  (( Period = Period + 1 ))
[2]493
[785]494  # End loop if date end is reached
495  if [ ${SimulationLengthInDays} -ge ${ExperienceLengthInDays} ] ; then
496    break ;
497  fi
[2]498
[785]499  PeriodContinue=false
500  if [ ${Period} -le ${PeriodNb} ]; then
501    PeriodContinue=true
502  fi
503done
[2]504
505#D-
506#D--------------------------------------------------------------------==
507#D-     5. Submit next job or send mail if simulation over.
508#D--------------------------------------------------------------------==
509IGCM_config_Finalize
510
511date
Note: See TracBrowser for help on using the repository browser.