Changeset 457 for trunk/libIGCM/AA_job


Ignore:
Timestamp:
04/13/11 10:32:33 (13 years ago)
Author:
sdipsl
Message:
  • Bugfix on titane. Exe files has never been saved and ExeFileSize? in the run.card has always been false. Due to ExeSize? variable scope, decalare local to a function but assigned in another function. It works by chance on some machine, because ExeSize? is not initialized...
  • Bugfix of the revision [433]. out_orchidee was always save in SUBMIT_DIR.
  • Now if a job fail : all concatenated debug files (OutputTextFiles?) will be place in SUBMIT_DIR/Debug for convenience.
  • Continuation of [431], concatenate text files following numerical instead of alphabetical order. MAF.
  • Cosmetic and verbosty has been revisited.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/AA_job

    r445 r457  
    451451        echo                                                                                  >> ${Exe_Output} 
    452452        typeset RET 
     453        ExecutionFail=false 
    453454        RUN_DATE_BEGIN=$( date '+%Y-%m-%dT%H:%M:%S' ) 
    454455        ${MPIRUN_COMMAND} ${MPIRUN_OPTIONS} ./${config_Executable_Name} >> ${Exe_Output} 2>&1 
     
    458459            echo "Return code of executable :" ${RET} 
    459460            IGCM_debug_Exit "EXECUTABLE" 
    460             IGCM_sys_Cp ${Exe_Output} ${SUBMIT_DIR}/${PREFIX}_${Exe_Output}_error 
     461            IGCM_sys_Mkdir ${SUBMIT_DIR}/Debug 
     462            IGCM_sys_Cp ${Exe_Output} ${SUBMIT_DIR}/Debug/${PREFIX}_${Exe_Output}_error 
    461463            ExecutionFail=true 
    462464        fi 
     
    468470    else 
    469471        echo "EXECUTION of : ${MPIRUN_COMMAND} ${MPIRUN_OPTIONS} ./${config_Executable_Name} simulated for DRYRUN = " $DRYRUN 
     472        ExecutionFail=false 
    470473        if ( $DEBUG_debug ) ; then 
    471474            echo "FOR EXECUTION DRYRUN mode = " $DRYRUN >> stack 
Note: See TracChangeset for help on using the changeset viewer.