Changeset 707 for trunk


Ignore:
Timestamp:
09/27/12 11:22:37 (12 years ago)
Author:
sdipsl
Message:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/AA_clean_month

    r658 r707  
    219219    IGCM_card_DefineVariableFromOption ${SUBMIT_DIR}/run.card Configuration PeriodState 
    220220    if ( [ ${run_Configuration_PeriodState} != "Running" ] && [ ${run_Configuration_PeriodState} != "OnQueue" ] && [ ${run_Configuration_PeriodState} != "Continue" ] ) ; then 
     221 
    221222        echo -e "\033[1;32mNOW do you want to continue the simulation (Set PeriodState=OnQueue into run.card) ?" 
    222223        echo -n -e " Your answer (y/n) : \033[m" 
     
    235236        echo "You can submit the Job : ${SUBMIT_DIR}/Job_${config_UserChoices_JobName}." 
    236237    fi 
     238 
     239    if ( [ X${run_Configuration_CumulPeriod} = X ] || [ X${run_Configuration_CumulPeriod} = X1 ] ); then 
     240      echo "CumulPeriod=1 so we erase run.card to start properly." 
     241      IGCM_sys_Rm ${SUBMIT_DIR}/run.card 
     242    fi 
    237243fi 
    238244exit 0 
Note: See TracChangeset for help on using the changeset viewer.