Changeset 249 for trunk/libIGCM/AA_job


Ignore:
Timestamp:
03/23/10 14:33:55 (14 years ago)
Author:
brocksce
Message:

Corrected a missing append mode for Exe_Output
Added cosmetics in the same time

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/AA_job

    r222 r249  
    376376    if [ ${DRYRUN} -le 1 ] ; then 
    377377        REAL_DATE_INIT=$( date ) 
    378         echo "EXECUTION of : ${MPIRUN_COMMAND} ${MPIRUN_OPTIONS} ./${config_Executable_Name} > ${Exe_Output} 2>&1" 
     378        echo                                                                                   > ${Exe_Output} 
     379        echo "#######################################"                                        >> ${Exe_Output} 
     380        echo "EXECUTION of : ${MPIRUN_COMMAND} ${MPIRUN_OPTIONS} ./${config_Executable_Name}" >> ${Exe_Output} 
     381        echo                                                                                  >> ${Exe_Output} 
    379382        typeset RET 
    380383        RUN_DATE_BEGIN=$( date '+%Y-%m-%dT%H:%M:%S' ) 
    381         ${MPIRUN_COMMAND} ${MPIRUN_OPTIONS} ./${config_Executable_Name} > ${Exe_Output} 2>&1 
     384        ${MPIRUN_COMMAND} ${MPIRUN_OPTIONS} ./${config_Executable_Name} >> ${Exe_Output} 2>&1 
    382385        RET=$? 
    383386        RUN_DATE_END=$( date '+%Y-%m-%dT%H:%M:%S' ) 
     
    387390            IGCM_sys_Cp ${Exe_Output} ${SUBMIT_DIR}/${PREFIX}_${Exe_Output}_error 
    388391        fi 
    389         echo "libIGCM RunDateBegin=${RUN_DATE_BEGIN}"  >> ${Exe_Output} 
    390         echo "libIGCM RunDateEnd=${RUN_DATE_END}" >> ${Exe_Output} 
     392        echo                                            >> ${Exe_Output} 
     393        echo "#######################################"  >> ${Exe_Output} 
     394        echo "libIGCM RunDateBegin=${RUN_DATE_BEGIN}"   >> ${Exe_Output} 
     395        echo "libIGCM RunDateEnd=${RUN_DATE_END}"       >> ${Exe_Output} 
     396        echo                                            >> ${Exe_Output} 
    391397    else 
    392398        echo "EXECUTION of : ${MPIRUN_COMMAND} ${MPIRUN_OPTIONS} ./${config_Executable_Name} simulated for DRYRUN = " $DRYRUN 
Note: See TracChangeset for help on using the changeset viewer.