Changeset 444


Ignore:
Timestamp:
04/08/11 17:03:56 (13 years ago)
Author:
sdipsl
Message:

The FirstInitialize? variable must remain true during mpi execution so that comp.driver can use that information...

Invisible in DRYRUN mode...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/libIGCM_config/libIGCM_config.ksh

    r443 r444  
    185185    fi 
    186186 
    187     if [ ! -f ${SUBMIT_DIR}/run.card ]; then  
     187    if ( ${FirstInitialize} ) ; then  
    188188        IGCM_sys_MkdirArchive ${R_SAVE} 
    189189    else 
     
    410410        IGCM_card_WriteOption ${SUBMIT_DIR}/run.card Configuration PeriodState "Running" 
    411411  
    412         # It's no more the first time 
    413         FirstInitialize=false 
    414412    else 
    415413        #================================================# 
     
    528526    IGCM_debug_Print 1 "IGCM_config_PeriodEnd :" 
    529527    echo 
     528 
     529    if ( ${FirstInitialize} ) ; then 
     530        # It's no more the first time 
     531        FirstInitialize=false 
     532    fi 
    530533 
    531534    #==================================# 
Note: See TracChangeset for help on using the changeset viewer.