Changeset 2320


Ignore:
Timestamp:
08/13/14 17:28:44 (10 years ago)
Author:
jgipsl
Message:

As [2319] now for _v6 : Removed option to automatically launch create_etat0_limit in a simulation with the gcm.
See ticket #70

Location:
CONFIG/UNIFORM/v6
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • CONFIG/UNIFORM/v6/IPSLCM6/GENERAL/DRIVER/lmdz.driver

    r2315 r2320  
    571571    fi 
    572572 
    573     if ( ${FirstInitialize} ) ; then 
    574         if [ -f start.nc ] && [ -f startphy.nc ] ; then 
    575             # The restart files already exist. They have been copied from a previous run or from a CREATE job 
    576             echo "Restart files for LMDZ have been copied from a previous run" 
    577         elif [ -f create_etat0_limit* ] || [ -f ce0l* ] && [ ! -f lmdz.x ] ; then 
    578             # Do nothing because it is the program for creating restart files that is running and not LMDZ 
    579             echo "create_etat0_limit.e will create initial start files" 
    580         else 
    581             # Restart files have to be created 
    582             echo "Run create_etat0_limit.e to create restart files start.nc and startphy.nc for LMDZ" 
    583             if [ ${DRYRUN} -le 2 ] ; then 
    584                 ##-- suppression of ozone file construction -- 
    585                 cp config.def config.def.save 
    586                 LMDZ_sed config.def read_climoz 0 
    587                 IGCM_sys_Cp ${R_EXE}/create_etat0_limit.e ${RUN_DIR}/. 
    588                 if [ ${DRYRUN} -le 1 ] ; then 
    589                     ${HOST_MPIRUN_COMMAND} -np 1 ./create_etat0_limit.e 
    590                     IGCM_sys_Put_Out start.nc    ${R_OUT_ATM_R}/${config_UserChoices_JobName}_${PeriodDateBegin}_start.nc 
    591                     IGCM_sys_Put_Out startphy.nc ${R_OUT_ATM_R}/${config_UserChoices_JobName}_${PeriodDateBegin}_startphy.nc 
    592                 fi 
    593                 IGCM_sys_Mv config.def.save config.def 
    594             else 
    595                 echo "EXECUTION of ${HOST_MPIRUN_COMMAND} -np 1 ./create_etat0_limit.e simulated" 
    596                 echo "EXECUTION of ${HOST_MPIRUN_COMMAND} -np 1 ./create_etat0_limit.e simulated for DRYRUN = " $DRYRUN >> stack 
    597             fi 
    598         fi 
    599     fi 
    600  
    601573    if [ X${lmdz_UserChoices_XIOS}  = Xy ] ; then 
    602574    # Add include of LMDZ context in iodef.xml 
  • CONFIG/UNIFORM/v6/LMDZOR_v6/GENERAL/DRIVER/lmdz.driver

    r2238 r2320  
    468468        ByPass_hgardfou_mats=n 
    469469        IGCM_card_WriteOption ${SUBMIT_DIR}/COMP/lmdz.card UserChoices ByPass_hgardfou_mats "${ByPass_hgardfou_mats}" 
    470     fi 
    471  
    472     if ( ${FirstInitialize} ) ; then 
    473         if [ -f start.nc ] && [ -f startphy.nc ] ; then 
    474             # The restart files already exist. They have been copied from a previous run or from a CREATE job 
    475             echo "Restart files for LMDZ have been copied from a previous run" 
    476         elif [ -f create_etat0_limit* ] || [ -f ce0l* ] && [ ! -f lmdz.x ] ; then 
    477             # Do nothing because it is the program for creating restart files that is running and not LMDZ 
    478             echo "create_etat0_limit.e will create initial start files" 
    479         else 
    480             # Restart files have to be created 
    481             echo "Run create_etat0_limit.e to create restart files start.nc and startphy.nc for LMDZ" 
    482             if [ ${DRYRUN} -le 2 ] ; then 
    483                 ##-- suppression of ozone file construction -- 
    484                 cp config.def config.def.save 
    485                 LMDZ_sed config.def read_climoz 0 
    486                 IGCM_sys_Cp ${R_EXE}/create_etat0_limit.e ${RUN_DIR}/. 
    487                 if [ ${DRYRUN} -le 1 ] ; then 
    488                     ${HOST_MPIRUN_COMMAND} -np 1 ./create_etat0_limit.e 
    489                     IGCM_sys_Put_Out start.nc    ${R_OUT_ATM_R}/${config_UserChoices_JobName}_${PeriodDateBegin}_start.nc 
    490                     IGCM_sys_Put_Out startphy.nc ${R_OUT_ATM_R}/${config_UserChoices_JobName}_${PeriodDateBegin}_startphy.nc 
    491                 fi 
    492                 IGCM_sys_Mv config.def.save config.def 
    493             else 
    494                 echo "EXECUTION of ${HOST_MPIRUN_COMMAND} -np 1 ./create_etat0_limit.e simulated" 
    495                 echo "EXECUTION of ${HOST_MPIRUN_COMMAND} -np 1 ./create_etat0_limit.e simulated for DRYRUN = " $DRYRUN >> stack 
    496             fi 
    497         fi 
    498470    fi 
    499471 
Note: See TracChangeset for help on using the changeset viewer.