Changeset 2320 for CONFIG/UNIFORM/v6
- Timestamp:
- 08/13/14 17:28:44 (10 years ago)
- Location:
- CONFIG/UNIFORM/v6
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
CONFIG/UNIFORM/v6/IPSLCM6/GENERAL/DRIVER/lmdz.driver
r2315 r2320 571 571 fi 572 572 573 if ( ${FirstInitialize} ) ; then574 if [ -f start.nc ] && [ -f startphy.nc ] ; then575 # The restart files already exist. They have been copied from a previous run or from a CREATE job576 echo "Restart files for LMDZ have been copied from a previous run"577 elif [ -f create_etat0_limit* ] || [ -f ce0l* ] && [ ! -f lmdz.x ] ; then578 # Do nothing because it is the program for creating restart files that is running and not LMDZ579 echo "create_etat0_limit.e will create initial start files"580 else581 # Restart files have to be created582 echo "Run create_etat0_limit.e to create restart files start.nc and startphy.nc for LMDZ"583 if [ ${DRYRUN} -le 2 ] ; then584 ##-- suppression of ozone file construction --585 cp config.def config.def.save586 LMDZ_sed config.def read_climoz 0587 IGCM_sys_Cp ${R_EXE}/create_etat0_limit.e ${RUN_DIR}/.588 if [ ${DRYRUN} -le 1 ] ; then589 ${HOST_MPIRUN_COMMAND} -np 1 ./create_etat0_limit.e590 IGCM_sys_Put_Out start.nc ${R_OUT_ATM_R}/${config_UserChoices_JobName}_${PeriodDateBegin}_start.nc591 IGCM_sys_Put_Out startphy.nc ${R_OUT_ATM_R}/${config_UserChoices_JobName}_${PeriodDateBegin}_startphy.nc592 fi593 IGCM_sys_Mv config.def.save config.def594 else595 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 >> stack597 fi598 fi599 fi600 601 573 if [ X${lmdz_UserChoices_XIOS} = Xy ] ; then 602 574 # Add include of LMDZ context in iodef.xml -
CONFIG/UNIFORM/v6/LMDZOR_v6/GENERAL/DRIVER/lmdz.driver
r2238 r2320 468 468 ByPass_hgardfou_mats=n 469 469 IGCM_card_WriteOption ${SUBMIT_DIR}/COMP/lmdz.card UserChoices ByPass_hgardfou_mats "${ByPass_hgardfou_mats}" 470 fi471 472 if ( ${FirstInitialize} ) ; then473 if [ -f start.nc ] && [ -f startphy.nc ] ; then474 # The restart files already exist. They have been copied from a previous run or from a CREATE job475 echo "Restart files for LMDZ have been copied from a previous run"476 elif [ -f create_etat0_limit* ] || [ -f ce0l* ] && [ ! -f lmdz.x ] ; then477 # Do nothing because it is the program for creating restart files that is running and not LMDZ478 echo "create_etat0_limit.e will create initial start files"479 else480 # Restart files have to be created481 echo "Run create_etat0_limit.e to create restart files start.nc and startphy.nc for LMDZ"482 if [ ${DRYRUN} -le 2 ] ; then483 ##-- suppression of ozone file construction --484 cp config.def config.def.save485 LMDZ_sed config.def read_climoz 0486 IGCM_sys_Cp ${R_EXE}/create_etat0_limit.e ${RUN_DIR}/.487 if [ ${DRYRUN} -le 1 ] ; then488 ${HOST_MPIRUN_COMMAND} -np 1 ./create_etat0_limit.e489 IGCM_sys_Put_Out start.nc ${R_OUT_ATM_R}/${config_UserChoices_JobName}_${PeriodDateBegin}_start.nc490 IGCM_sys_Put_Out startphy.nc ${R_OUT_ATM_R}/${config_UserChoices_JobName}_${PeriodDateBegin}_startphy.nc491 fi492 IGCM_sys_Mv config.def.save config.def493 else494 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 >> stack496 fi497 fi498 470 fi 499 471
Note: See TracChangeset
for help on using the changeset viewer.