Changeset 619 for trunk/libIGCM/AA_job


Ignore:
Timestamp:
03/30/12 15:11:37 (12 years ago)
Author:
sdipsl
Message:
  • I messed up the merge of vargas, ulam and AA_job
  • cosmectics
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/AA_job

    r511 r619  
    1010#-Q- cesium #MSUB -E "-j o" 
    1111#-Q- cesium #MSUB -E "-S /bin/ksh" 
     12#-Q- curie #!/usr/bin/ksh 
     13#-Q- curie ###################### 
     14#-Q- curie ## CURIE   TGCC/CEA ## 
     15#-Q- curie ###################### 
     16#-Q- curie #MSUB -r ::Jobname::       # nom de la requete 
     17#-Q- curie #MSUB -o Script_Output_::Jobname::.000001    # nom du fichier de sortie 
     18#-Q- curie #MSUB -e Script_Output_::Jobname::.000001    # nom du fichier de sortie 
     19#-Q- curie #MSUB -eo 
     20#-Q- curie #MSUB -n ::JobNumProcTot:: # reservation des processeurs pour le job 
     21#-Q- curie #MSUB -T 86400             # Limite temps (en secondes) 
     22#-Q- curie ##MSUB -p XXXXXXX 
     23#-Q- curie BATCH_NUM_PROC_TOT=$BRIDGE_MSUB_NPROC 
    1224#-Q- platine #!/usr/bin/ksh 
    1325#-Q- platine ################## 
     
    443455 
    444456    echo "========================================================================" 
    445     if ( [ X${BATCH_NUM_PROC_TOT} != X ] && [ "${BATCH_NUM_PROC_TOT}" -gt 1 ] ) ; then 
    446         MPIRUN_COMMAND=${HOST_MPIRUN_COMMAND} 
    447         eval MPIRUN_OPTIONS=${config_UserChoices_JobRunOptions} 
    448     else 
    449         MPIRUN_COMMAND=${MPIRUN_COMMAND:="time "} 
    450         MPIRUN_OPTIONS=${MPIRUN_OPTIONS:=""} 
    451     fi 
    452  
    453457    if [ ${DRYRUN} -le 1 ] ; then 
    454458        REAL_DATE_INIT=$( date ) 
    455         echo "EXECUTION of : ${MPIRUN_COMMAND} ${MPIRUN_OPTIONS} ./${config_Executable_Name}   > ${Exe_Output} 2>&1" 
    456459        echo                                                                                   > ${Exe_Output} 
    457460        echo "#######################################"                                        >> ${Exe_Output} 
    458         echo "EXECUTION of : ${MPIRUN_COMMAND} ${MPIRUN_OPTIONS} ./${config_Executable_Name}" >> ${Exe_Output} 
     461        echo "EXECUTION of : ${EXECUTION}" 
     462        echo "EXECUTION of : ${EXECUTION}"                                                    >> ${Exe_Output} 
    459463        echo                                                                                  >> ${Exe_Output} 
    460464        typeset RET 
    461465        RUN_DATE_BEGIN=$( date '+%Y-%m-%dT%H:%M:%S' ) 
    462         ${MPIRUN_COMMAND} ${MPIRUN_OPTIONS} ./${config_Executable_Name} >> ${Exe_Output} 2>&1 
     466        ${EXECUTION} >> ${Exe_Output} 2>&1 
    463467        RET=$? 
    464468        RUN_DATE_END=$( date '+%Y-%m-%dT%H:%M:%S' ) 
     
    476480        echo                                            >> ${Exe_Output} 
    477481    else 
    478         echo "EXECUTION of : ${MPIRUN_COMMAND} ${MPIRUN_OPTIONS} ./${config_Executable_Name} simulated for DRYRUN = " $DRYRUN 
     482        echo "EXECUTION of : ${EXECUTION} simulated for DRYRUN = " $DRYRUN 
     483        echo "EXECUTION of : ${EXECUTION} simulated for DRYRUN = " $DRYRUN > ${Exe_Output} 
    479484        if ( $DEBUG_debug ) ; then 
    480485            echo "FOR EXECUTION DRYRUN mode = " $DRYRUN >> stack 
Note: See TracChangeset for help on using the changeset viewer.