source: trunk/libIGCM/AA_create_se @ 67

Last change on this file since 67 was 67, checked in by sdipsl, 15 years ago

libIGCM is ready for ulam except concerning the monitoring

  • fix issue due to mfls (chaotic behaviour) do not use mfls anymore
  • change due to the fact that ulam do not see gaya : imply some libsys homogeneisation
  • atlas/monitoring01 needs an adaptation to ulam (because of "ls $homegaya" like command)
  • 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 Date Author Revision
File size: 16.8 KB
Line 
1#-Q- platine #!/usr/bin/ksh
2#-Q- platine ###################
3#-Q- platine ## PLATINE   CEA ##
4#-Q- platine ###################
5#-Q- platine #BSUB -J SE                     # Nom du job
6#-Q- platine #BSUB -N                        # message a la fin du job
7#-Q- platine #BSUB -n 1                      # reservation des processeurs pour le job
8#-Q- platine #BSUB -W 1:00                   # Limite temps
9#-Q- platine #BSUB -q post              # Passage en queue post
10#-Q- sx8brodie #!/bin/ksh
11#-Q- sx8brodie #######################
12#-Q- sx8brodie ## SX8BRODIE   IDRIS ##
13#-Q- sx8brodie #######################
14#-Q- sx8brodie # Temps Elapsed max. d'une requete hh:mm:ss
15#-Q- sx8brodie # @ wall_clock_limit = 10:00:00
16#-Q- sx8brodie # Nom du travail LoadLeveler
17#-Q- sx8brodie # @ job_name   = SE
18#-Q- sx8brodie # Fichier de sortie standard du travail       
19#-Q- sx8brodie # @ output     = $(job_name).$(jobid)
20#-Q- sx8brodie # Fichier de sortie d'erreur du travail
21#-Q- sx8brodie # @ error      =  $(job_name).$(jobid)
22#-Q- sx8brodie # pour recevoir un mail en cas de depassement du temps Elapsed (ou autre pb.)
23#-Q- sx8brodie # @ notification = error
24#-Q- sx8brodie # @ environment  = $DEBUG_debug ; $MODIPSL ; $libIGCM ; $libIGCM_SX ; $SUBMIT_DIR ; $REBUILD_DIR ; $RebuildFromArchive ; $POST_DIR ; $DateBegin ; $PeriodDateBegin ; $PeriodDateEnd ; $NbRebuildDir ; $StandAlone ; $RESOL_ATM ; $RESOL_OCE ; $RESOL_ICE ; $RESOL_SRF
25#-Q- sx8brodie # @ queue
26#-Q- sx8mercure #!/bin/ksh
27#-Q- sx8mercure ######################
28#-Q- sx8mercure ## SX8MERCURE   CEA ##
29#-Q- sx8mercure ######################
30#-Q- sx8mercure #PBS -N SE                   # Nom du job
31#-Q- sx8mercure #PBS -j o                    # regroupement des stdout et stderr
32#-Q- sx8mercure #PBS -S /usr/bin/ksh         # shell de soumission
33#-Q- sx8mercure #PBS -l memsz_job=1gb        # Limite memoire a 1 Go
34#-Q- sx8mercure #PBS -l cputim_job=1:00:00   # Limite temps a 1 heures
35#-Q- sx8mercure #PBS -q scalaire
36#-Q- default #!/bin/ksh
37#-Q- default ##################
38#-Q- default ## DEFAULT HOST ##
39#-Q- default ##################
40
41#set -vx
42
43date
44
45#-Q- sx8brodie export OMP_NUM_THREADS=1
46
47# $Date$
48# $Author$
49# $Revision$
50# IPSL (2006)
51#  This software is governed by the CeCILL licence see libIGCM/libIGCM_CeCILL.LIC
52
53########################################################################
54
55#D- Flag to determine if this job in a standalone mode
56#D- Default : value from AA_job if any
57StandAlone=${StandAlone:=true}
58
59#D- Flag to determine atlas job's output directory
60#D- Default : value from libIGCM_post.ksh if any
61POST_DIR=${POST_DIR:=${PBS_O_WORKDIR}}
62
63#D- Increased verbosity (1, 2, 3)
64#D- Default : value from AA_job if any
65Verbosity=${Verbosity:=3}
66
67#D- Low level debug : to bypass lib test checks and stack construction
68#D- Default : value from AA_job if any
69DEBUG_debug=${DEBUG_debug:=false}
70
71#D- Low level debug : to bypass lib test checks and stack construction
72#D- Default : value from AA_job if any
73libIGCM=${libIGCM:=/home/rech/ces/rces452/libIGCM}
74
75#D- TEMPORARY Flag to determine atmospheric resolution
76#D- Default : value from atmospheric driver if any
77RESOL_ATM=${RESOL_ATM:=LMD144142}
78
79#D- TEMPORARY Flag to determine ocean resolution
80#D- Default : value from ocean driver if any
81RESOL_OCE=${RESOL_OCE:=ORCA2}
82
83#D- TEMPORARY Flag to determine ice resolution
84#D- Default : value from ice driver if any
85RESOL_ICE=${RESOL_ICE:=ORCA2}
86
87#D- Flag to determine surface resolution
88#D- Default : value from surface driver if any
89RESOL_SRF=${RESOL_SRF:=LMD144142}
90
91########################################################################
92
93. ${libIGCM}/libIGCM_debug/libIGCM_debug.ksh ;
94. ${libIGCM}/libIGCM_sys/libIGCM_sys.ksh     #; IGCM_debug_Check
95. ${libIGCM}/libIGCM_card/libIGCM_card.ksh   #; IGCM_card_Check
96. ${libIGCM}/libIGCM_date/libIGCM_date.ksh   #; IGCM_date_Check
97
98########################################################################
99
100#set -vx
101
102if [ ${DEBUG_debug} = true ] ; then
103    IGCM_sys_MkdirWork ${RUN_DIR_PATH}
104    echo "RUN_DIR_PATH ${RUN_DIR_PATH} ok."
105fi
106IGCM_sys_Cd ${RUN_DIR_PATH}
107
108if [ ${StandAlone} = true ] ; then
109    CARD_DIR=${SUBMIT_DIR}
110else
111    CARD_DIR=${RUN_DIR_PATH}/$( basename ${SUBMIT_DIR} )
112    IGCM_sys_Get_Master ${SUBMIT_DIR} ${RUN_DIR_PATH}
113fi
114
115#
116# First of all
117#
118IGCM_card_DefineArrayFromSection   ${CARD_DIR}/config.card UserChoices
119typeset option
120for option in ${config_UserChoices[*]} ; do
121    IGCM_card_DefineVariableFromOption ${CARD_DIR}/config.card UserChoices ${option}
122done
123#
124echo
125IGCM_debug_Print 1 "DefineArrayFromOption  : config_UserChoices"
126IGCM_debug_PrintVariables 3 config_UserChoices_JobName
127IGCM_debug_PrintVariables 3 config_UserChoices_LongName
128IGCM_debug_PrintVariables 3 config_UserChoices_TagName
129IGCM_debug_PrintVariables 3 config_UserChoices_CalendarType
130IGCM_debug_PrintVariables 3 config_UserChoices_DateBegin
131IGCM_debug_PrintVariables 3 config_UserChoices_DateEnd
132IGCM_debug_PrintVariables 3 config_UserChoices_PeriodLength
133echo
134
135#==================================
136
137R_SAVE=${R_OUT}/${config_UserChoices_TagName}/${config_UserChoices_JobName}
138#
139IGCM_card_DefineArrayFromSection   ${CARD_DIR}/config.card ListOfComponents
140#
141IGCM_card_DefineVariableFromOption ${CARD_DIR}/config.card Post SeasonalFrequency
142#
143# Determine period for seasonnal average. Default : value from AA_job if any
144#
145DateBegin=${DateBegin:=$( IGCM_date_ConvertFormatToGregorian ${config_UserChoices_DateBegin} )}
146#
147PeriodDateEnd=${PeriodDateEnd:=$( IGCM_date_ConvertFormatToGregorian ${config_UserChoices_DateEnd} )}
148#
149freq=$( echo ${config_Post_SeasonalFrequency} |  sed -e "s/[yY]//" )
150#
151an_fin=$( expr $( IGCM_date_ConvertGregorianDateToJulian $PeriodDateEnd ) / 1000 )
152an_deb=$( IGCM_date_YearDigit $(( an_fin - freq + 1 )) )
153an_fin=$( IGCM_date_YearDigit ${an_fin} )
154#
155# For each component selected determine which files need post-processing
156#
157for comp in ${config_ListOfComponents[*]} ; do
158    #
159    IGCM_card_DefineArrayFromOption ${CARD_DIR}/config.card ListOfComponents ${comp}
160    eval compname=\${config_ListOfComponents_${comp}[0]} > /dev/null 2>&1
161    #
162    card=${CARD_DIR}/COMP/${compname}.card
163    IGCM_card_DefineArrayFromOption ${card} OutputFiles List
164    #
165    ListFilesName=${compname}_OutputFiles_List
166    eval FileName0=\${${ListFilesName}[0]} > /dev/null 2>&1
167    #
168    if [ X${FileName0} != X${NULL_STR} ] ; then
169        #
170        #IGCM_debug_Print 1 "Component      : ${compname}"
171        #
172        # INITIALISATION
173        #
174        eval NbFiles=\${#${ListFilesName}[@]} > /dev/null 2>&1
175        typeset i=0
176        #
177        until [ $i -eq $NbFiles ]; do
178            #
179            eval file_in_=\${${ListFilesName}[$i]} > /dev/null 2>&1
180            eval file_in=${file_in_}
181            let $(( i_ = i+2 ))
182            eval flag_post_=\${${ListFilesName}[$i_]} > /dev/null 2>&1
183            eval flag_post=${flag_post_}
184            #
185            if [ X${flag_post} != XNONE ] ; then
186                #
187                # Initialize ${flag_post}_${compname}_${post_freq}
188                #
189                eval export ${flag_post}_${compname}_SeasonalFrequency=true
190            fi
191            let $(( i=i+3 ))
192        done
193    fi
194
195    for element in $( env | grep Post_ | grep ${compname}_SeasonalFrequency | grep -i "=true" ) ; do
196        #
197        FILE=$( echo ${element} | awk -F "_${compname}" '{print $1}' | awk "-FPost_" '{print $2}' )
198        #
199        IGCM_card_DefineArrayFromOption ${card} Post_${FILE} Patches
200        #
201        # CREATE LIST
202        #
203        DIRECTORY=${R_SAVE}/${comp}/Analyse/SE
204        #
205        TestedFile=${config_UserChoices_JobName}_SE_${an_deb}_${an_fin}_${FILE}.nc
206        #
207        IGCM_sys_TestFileArchive ${DIRECTORY}/${TestedFile}
208        if [ ! $? = 0 ] ; then
209            eval set +A LISTE_FILE_${comp} \$\{LISTE_FILE_${comp}[*]} ${FILE}
210            eval set +A LISTE_PATCHES_${FILE} \$\{${compname}_Post_${FILE}_Patches[*]}
211            if [ X$( eval echo \${LISTE_PATCHES_${FILE}[0]} ) !=  X${NULL_STR} ]; then
212                for Patch in $( eval echo \${LISTE_PATCHES_${FILE}[*]} ); do
213                    if [ Xload${Patch} != X ] ; then
214                        . ${libIGCM}/libIGCM_post/IGCM_${Patch}.ksh
215                        eval load${Patch}=loaded
216                    fi
217                done
218            fi
219        fi
220           #
221    done   # for element
222done       # for comp
223
224for comp in ${config_ListOfComponents[*]} ; do
225    #
226    eval R_OUT_${comp}=${R_SAVE}/${comp}
227    #
228    i=0
229    for file in $( eval echo \${LISTE_FILE_${comp}[*]} ); do
230        #
231        # Determine in which output can we find file
232        # IE : Output/MO or Output/DA or ...
233        #
234        FlagDir=$( echo ${file} | awk -F "_" '{print $1}' )
235        case ${FlagDir} in
236            1Y)    FreqDir=YE  ;;
237            1M)    FreqDir=MO  ;;
238            5D|1D) FreqDir=DA  ;;
239            HF)    FreqDir=HF  ;;
240            INS)   FreqDir=INS ;;
241        esac
242        #
243        RESULT_SE=${config_UserChoices_JobName}_SE_${an_deb}_${an_fin}_${file}.nc
244        # Do not redoo an existing SE
245        IGCM_sys_TestFileArchive ${R_SAVE}/${comp}/Analyse/SE/${RESULT_SE}
246        if [ $? = 0 ] ; then
247            continue
248        fi
249        #
250        eval file_path=\${R_OUT_${comp}}/Output/${FreqDir}/
251        #
252        case ${config_UserChoices_PeriodLength} in
253        # For Yearly simulation :
254        1Y|1y)
255          (( an = an_deb ))
256          # Initialize array
257          #set -A liste_file_se
258          #set -A liste_file_se_tmp
259          unset liste_file_se
260          unset liste_file_se_tmp
261          while [ ${an} -le ${an_fin} ] ; do
262              moisL=$( IGCM_date_DaysInMonth ${an} ${mois} )
263              #
264              an4=$(printf "%04i\n" ${an} )
265              #
266              diy=$( IGCM_date_DaysInYear $an4 )
267              afin=$( IGCM_date_AddDaysToGregorianDate ${an4}0101 $(( diy - 1 )) )
268              date=${an4}0101_${afin}
269              #set +A liste_file_se ${liste_file_se[*]} ${file_path}${config_UserChoices_JobName}_${date}_${file}.nc
270              #set +A liste_file_se_tmp ${liste_file_se_tmp[*]} ${config_UserChoices_JobName}_${date}_${file}.nc
271              liste_file_se[${#liste_file_se[*]}]=${file_path}${config_UserChoices_JobName}_${date}_${file}.nc
272              liste_file_se_tmp[${#liste_file_se_tmp[*]}]=${config_UserChoices_JobName}_${date}_${file}.nc
273              (( an = an + 1 ))
274          done
275          #
276          IGCM_sys_Get /l liste_file_se[*] ${RUN_DIR_PATH}
277          eval ExitFlag=false
278          IGCM_debug_Verif_Exit_Post
279         
280          # Apply IGCM_Patch if needed
281          if [ X$( eval echo \${LISTE_PATCHES_${file}[0]} ) !=  X${NULL_STR} ]; then
282              for file_t in $( eval echo ${liste_file_se_tmp[*]} ); do
283                  for Patch in $( eval echo \${LISTE_PATCHES_${file}[*]} ); do
284                      IGCM_${Patch} ${file_t}
285                  done
286              done
287          fi
288
289          for mois in  01 02 03 04 05 06 07 08 09 10 11 12 ; do
290          #
291              (( nb = ${mois} - 1 ))
292          #
293              OUT_SE[${nb}]=${config_UserChoices_JobName}_SE${mois}_${an_deb}_${an_fin}_${file}.nc
294              IGCM_sys_ncra -O -d time_counter,${nb},,12 ${liste_file_se_tmp[*]} ${OUT_SE[${nb}]}
295          done
296          IGCM_sys_Rm ${liste_file_se_tmp[*]}
297          eval ExitFlag=false
298          IGCM_debug_Verif_Exit_Post
299          ;;
300        # For Monthly simulation :
301        1M|1m)
302          for mois in  01 02 03 04 05 06 07 08 09 10 11 12 ; do
303              #
304              (( nb = ${mois} - 1 ))
305              #
306              OUT_SE[${nb}]=${config_UserChoices_JobName}_SE${mois}_${an_deb}_${an_fin}_${file}.nc
307              #
308              (( an = an_deb ))
309              # Initialize array
310              #set -A liste_file_se
311              #set -A liste_file_se_tmp
312              unset liste_file_se
313              unset liste_file_se_tmp
314              while [ ${an} -le ${an_fin} ] ; do
315                  moisL=$( IGCM_date_DaysInMonth ${an} ${mois} )
316                  #
317                  an4=$(printf "%04i\n" ${an} )
318                  #
319                  date=${an4}${mois}01_${an4}${mois}${moisL}
320                  #set +A liste_file_se ${liste_file_se[*]} ${file_path}${config_UserChoices_JobName}_${date}_${file}.nc
321                  #set +A liste_file_se_tmp ${liste_file_se_tmp[*]} ${config_UserChoices_JobName}_${date}_${file}.nc
322                  liste_file_se[${#liste_file_se[*]}]=${file_path}${config_UserChoices_JobName}_${date}_${file}.nc
323                  liste_file_se_tmp[${#liste_file_se_tmp[*]}]=${config_UserChoices_JobName}_${date}_${file}.nc
324
325                  (( an = an + 1 ))
326              done
327              #
328              IGCM_sys_Get /l liste_file_se[*] ${RUN_DIR_PATH}
329              eval ExitFlag=false
330              IGCM_debug_Verif_Exit_Post
331             
332              # Apply IGCM_Patch if needed
333              if [ X$( eval echo \${LISTE_PATCHES_${file}[0]} ) !=  X${NULL_STR} ]; then
334                  for file_t in $( eval echo ${liste_file_se_tmp[*]} ); do
335                      for Patch in $( eval echo \${LISTE_PATCHES_${file}[*]} ); do
336                          IGCM_${Patch} ${file_t}
337                      done
338                  done
339              fi
340             
341              IGCM_sys_ncra -O ${liste_file_se_tmp[*]} ${OUT_SE[${nb}]}
342              IGCM_sys_Rm ${liste_file_se_tmp[*]}
343              eval ExitFlag=false
344              IGCM_debug_Verif_Exit_Post
345          done
346          ;;
347        *D|*d)
348          for mois in  01 02 03 04 05 06 07 08 09 10 11 12 ; do
349              #
350              (( nb = ${mois} - 1 ))
351              #
352              OUT_SE[${nb}]=${config_UserChoices_JobName}_SE${mois}_${an_deb}_${an_fin}_${file}.nc
353              #
354              (( an = an_deb ))
355              # Initialize array
356              #set -A liste_file_se
357              #set -A liste_file_se_tmp
358              unset liste_file_se
359              unset liste_file_se_tmp
360              while [ ${an} -le ${an_fin} ] ; do
361                  moisL=$( IGCM_date_DaysInMonth ${an} ${mois} )
362                  #
363                  an4=$(printf "%04i\n" ${an} )
364                  #
365                  length_d=$(( ${config_UserChoices_PeriodLength} - 1 ))
366                  # for one day
367                  if [ ${length_d} -eq 1 ] ; then
368                      (( length_d = 0 ))
369                  fi
370                  (( day  = 1 ))
371                  while [ ${day} -le ${moisL} ] ; do
372                      day2=$(printf "%02i\n" ${day} )
373                      day_beg=${an4}${mois}${day2}
374                      day_end=$( IGCM_date_AddDaysToGregorianDate ${day_beg} ${length_d} )
375                      date=${an4}${mois}${day_beg}_${an4}${mois}${day_end}
376                      #set +A liste_file_se ${liste_file_se[*]} ${file_path}${config_UserChoices_JobName}_${date}_${file}.nc
377                      #set +A liste_file_se_tmp ${liste_file_se_tmp[*]} ${config_UserChoices_JobName}_${date}_${file}.nc
378                      liste_file_se[${#liste_file_se[*]}]=${file_path}${config_UserChoices_JobName}_${date}_${file}.nc
379                      liste_file_se_tmp[${#liste_file_se_tmp[*]}]=${config_UserChoices_JobName}_${date}_${file}.nc
380                      (( day = day + 1 ))
381                  done
382                  (( an = an + 1 ))
383              done
384              #
385              IGCM_sys_Get /l liste_file_se[*] ${RUN_DIR_PATH}
386              eval ExitFlag=false
387              IGCM_debug_Verif_Exit_Post
388             
389              # Apply IGCM_Patch if needed
390              if [ X$( eval echo \${LISTE_PATCHES_${file}[0]} ) !=  X${NULL_STR} ]; then
391                  for file_t in $( eval echo ${liste_file_se_tmp[*]} ); do
392                      for Patch in $( eval echo \${LISTE_PATCHES_${file}[*]} ); do
393                          IGCM_${Patch} ${file_t}
394                      done
395                  done
396              fi
397
398              IGCM_sys_ncra -O ${liste_file_se_tmp[*]} ${OUT_SE[${nb}]}
399              IGCM_sys_Rm ${liste_file_se_tmp[*]}
400              eval ExitFlag=false
401              IGCM_debug_Verif_Exit_Post
402          done
403          ;;
404        esac
405        #
406        IGCM_sys_ncrcat -O ${OUT_SE[*]} ${RESULT_SE}
407        #
408        IGCM_sys_Rm ${OUT_SE[*]}
409        #
410        ${ncatted} -a modulo,time_counter,c,c," " ${RESULT_SE}
411        #
412        eval IGCM_sys_Put_Out ${RESULT_SE} \${R_OUT_${comp}}/Analyse/SE/${RESULT_SE}
413        IGCM_sys_Rm ${RESULT_SE}
414        #
415        eval ExitFlag=false
416        IGCM_debug_Verif_Exit_Post
417    done
418done
419
420# DODS copy
421for comp in ${config_ListOfComponents[*]} ; do
422    IGCM_sys_TestDirArchive ${R_SAVE}/${comp}/Analyse/SE
423    [ $? = 0 ] && IGCM_sys_Put_Dods ${comp}/Analyse/SE
424done
425
426YEARS=${an_deb}_${an_fin}
427
428# clean environment variables and export usefull one :
429if [ X$( hostname -s ) = Xrhodes ] ; then
430    LISTE_ENV=$( env | grep -iv MYLANG | grep -iv HOST | grep -iv LOGIN | grep -iv config_ | grep -iv R_ | grep -iv libIGCM | grep -iv PERIOD \
431        | grep -iv DMFDIR | grep -iv AN_| grep -iv YEARS | grep -iv ex | grep -iv RESOL_ | grep -iv PATH | grep -iv WORKDIR | grep -iv USER   \
432        | grep -iv LOGNAME | grep -iv PROFILE | grep -iv ENV | grep -iv TMPDIR | grep -iv POST_DIR | grep -iv DB |awk -F= '{print $1}' )
433   
434    for variables in ${LISTE_ENV} ; do
435        unset ${variables}
436    done
437fi
438
439export POST_DIR; export SUBMIT_DIR; export libIGCM; export R_INIT; export R_BC; export StandAlone
440export RESOL_ATM; export RESOL_OCE ; export RESOL_ICE ; export RESOL_SRF
441export R_SAVE; export config_UserChoices_JobName; export config_UserChoices_TagName; export YEARS;
442listVarEnv="POST_DIR,SUBMIT_DIR,libIGCM,R_INIT,R_BC,StandAlone,RESOL_ATM,RESOL_OCE,RESOL_ICE,RESOL_SRF,R_SAVE,config_UserChoices_JobName,config_UserChoices_TagName,YEARS"
443export listVarEnv;
444
445#D-
446# --------------------------------------------------------------------
447#D- Test if all was right before ATLAS
448# --------------------------------------------------------------------
449IGCM_debug_Verif_Exit_Post
450
451if [ ${config_UserChoices_TagName} = "IPSLCM4_v1_OASIS3" ] || \
452   [ ${config_UserChoices_TagName} = "IPSLCM4_v2" ]        || \
453   [ ${config_UserChoices_TagName} = "IPSLCM5" ]           || \
454   [ ${config_UserChoices_TagName} = "IPSL_ESM_V1" ] ; then
455    #
456    IGCM_sys_QsubPost atlas_ORCHIDEE     ;
457    IGCM_sys_QsubPost atlas_LMDZ         ;
458    IGCM_sys_QsubPost atlas_ORCA_LIM     ;
459    IGCM_sys_QsubPost additionnal        ;
460    #
461elif [ ${config_UserChoices_TagName} = "LMDZ4OR" ]  || \
462     [ ${config_UserChoices_TagName} = "LMDZOR" ]   || \
463     [ ${config_UserChoices_TagName} = "LMDZ4OR_v2" ] ; then
464    #
465    IGCM_sys_QsubPost atlas_LMDZ         ;
466    IGCM_sys_QsubPost atlas_ORCHIDEE     ;
467    #
468elif [ ${config_UserChoices_TagName} = "LMDZ" ] ; then
469    #
470    IGCM_sys_QsubPost atlas_LMDZ         ;
471    #
472elif [ ${config_UserChoices_TagName} = "OL" ]      || \
473     [ ${config_UserChoices_TagName} = "OL2" ] ; then
474    #
475    IGCM_sys_QsubPost atlas_ORCHIDEE     ;
476    #
477elif [ ${config_UserChoices_TagName} = "ORCA2_LIM" ] ; then
478    #
479    IGCM_sys_QsubPost atlas_ORCA_LIM     ;
480    IGCM_sys_QsubPost additionnal        ;
481    #
482fi
Note: See TracBrowser for help on using the repository browser.