Changeset 57 for trunk/libIGCM/AA_job


Ignore:
Timestamp:
03/13/09 17:33:37 (15 years ago)
Author:
brocksce
Message:

PB: - Reformat run.card

  • Add monitoring card analysis feature
  • Rename Script_Output
  • Remove obsolete comments in run.card.init
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/AA_job

    r52 r57  
    55#-Q- platine #BSUB -J ::Jobname::       # nom de la requete 
    66#-Q- platine #BSUB -N                   # message a la fin du job 
    7 #-Q- platine #BSUB -o Script_Output_::Jobname::.1    # nom du fichier de sortie 
     7#-Q- platine #BSUB -o Script_Output_::Jobname::.000001    # nom du fichier de sortie 
    88#-Q- platine #BSUB -n ::JobNumProcTot::             # reservation des processeurs pour le job 
    99#-Q- platine #BSUB -W 1:00           # Limite temps 
     
    1515#-Q- sx8brodie #PBS -m a                   # message a la fin du job 
    1616#-Q- sx8brodie #PBS -j o                   # regroupement des sorties du job : standard error et output 
    17 #-Q- sx8brodie #PBS -o Script_Output_::Jobname::.1  # nom du fichier de sortie 
     17#-Q- sx8brodie #PBS -o Script_Output_::Jobname::.000001  # nom du fichier de sortie 
    1818#-Q- sx8brodie #PBS -S /usr/bin/ksh        # shell de soumission 
    1919#-Q- sx8brodie #PBS -v BATCH_NUM_PROC_TOT=::JobNumProcTot:: 
     
    2929#-Q- sx8mercure #PBS -m a                     # message a la fin du job 
    3030#-Q- sx8mercure #PBS -j o                     # regroupement des sorties du job : standard error et output 
    31 #-Q- sx8mercure #PBS -o Script_Output_::Jobname::.1   # nom du fichier de sortie 
     31#-Q- sx8mercure #PBS -o Script_Output_::Jobname::.000001   # nom du fichier de sortie 
    3232#-Q- sx8mercure #PBS -S /usr/bin/ksh          # shell de soumission 
    3333#-Q- sx8mercure #PBS -v BATCH_NUM_PROC_TOT=::JobNumProcTot:: 
     
    325325        echo "EXECUTION of : ${MPIRUN_COMMAND} ${MPIRUN_OPTIONS} ./${config_Executable_Name} > ${Exe_Output} 2>&1" 
    326326        typeset RET 
     327        RUN_DATE_BEGIN=$( date '+%Y-%m-%dT%H:%M:%S' ) 
    327328        ${MPIRUN_COMMAND} ${MPIRUN_OPTIONS} ./${config_Executable_Name} > ${Exe_Output} 2>&1 
    328329        RET=$? 
     330        RUN_DATE_END=$( date '+%Y-%m-%dT%H:%M:%S' ) 
    329331        if [ ${RET} -gt 0 ] ; then 
    330332            echo "Return code of executable :" ${RET} 
     
    332334            IGCM_sys_Cp ${Exe_Output} ${SUBMIT_DIR}/${PREFIX}_${Exe_Output}_error 
    333335        fi 
    334         echo ${REAL_DATE_INIT} >> ${Exe_Output} 
    335         date >> ${Exe_Output} 
     336        echo "libIGCM RunDateBegin=${RUN_DATE_BEGIN}" >> ${Exe_Output} 
     337        echo "libIGCM RunDateEnd=${RUN_DATE_END}" >> ${Exe_Output} 
    336338    else 
    337339        echo "EXECUTION of : ${MPIRUN_COMMAND} ${MPIRUN_OPTIONS} ./${config_Executable_Name} simulated for DRYRUN = " $DRYRUN 
Note: See TracChangeset for help on using the changeset viewer.