Changeset 1643 for CONFIG/IPSLCM/IPSLCM5_v4/GENERAL
- Timestamp:
- 01/31/12 13:06:36 (13 years ago)
- Location:
- CONFIG/IPSLCM/IPSLCM5_v4/GENERAL
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
CONFIG/IPSLCM/IPSLCM5_v4/GENERAL/DRIVER/lmdz.driver
r1620 r1643 36 36 esac 37 37 38 39 38 ##- LMDZ physics version 40 39 ## Read LMDZ_Physics option in lmdz.card, if not present take default value AP (old physics) … … 45 44 fi 46 45 echo LMDZ physics version : ${LMDZ_Physics} 46 47 ##- Create_etat0_limit version 48 IGCM_card_DefineVariableFromOption ${SUBMIT_DIR}/COMP/lmdz.card UserChoices CREATE 49 CREATE=${lmdz_UserChoices_CREATE} 50 echo create_etat0_limit version : ${CREATE} 47 51 48 52 ## - LMDZ choice of config.def file … … 313 317 LMDZ_sed run.def adjust ${LMDZ_adjust} 314 318 319 320 # guide.def : Activate nudging if ok_guide set in lmdz.card 321 if [ ! X${lmdz_UserChoices_ok_guide} = X ] ; then 322 LMDZ_sed guide.def ok_guide ${lmdz_UserChoices_ok_guide} 323 fi 324 315 325 ## Read ByPass_hgardfou_teta option in lmdz.card --> divide teta* by 2 if [ $ByPass_hgardfou_teta = 1 ] 316 326 IGCM_card_DefineVariableFromOption ${SUBMIT_DIR}/COMP/lmdz.card UserChoices ByPass_hgardfou_teta … … 342 352 343 353 if ( ${FirstInitialize} ) ; then 344 345 if ( [ "${config_Restarts_OverRule}" = "n" ] && [ "${config_ATM_Restart}" = "n" ] ); then 354 if [ -f start.nc ] && [ -f startphy.nc ] ; then 355 # The restart files already exist. They have been copied from a previous run or from a CREATE job 356 echo "Restart files for LMDZ have been copied from a previous run" 357 else 358 # Restart files have to be created 359 echo "Run create_etat0_limit.e to create restart files start.nc and startphy.nc for LMDZ" 346 360 if [ ${DRYRUN} -le 2 ] ; then 347 361 ##-- suppression of ozone file construction -- 348 349 362 cp config.def config.def.save 363 LMDZ_sed config.def read_climoz 0 350 364 IGCM_sys_Cp ${R_EXE}/create_etat0_limit.e ${RUN_DIR}/. 351 365 if [ ${DRYRUN} -le 1 ] ; then 352 366 ${HOST_MPIRUN_COMMAND} -np 1 ./create_etat0_limit.e 353 354 367 IGCM_sys_Put_Out start.nc ${R_OUT_ATM_R}/${config_UserChoices_JobName}_${PeriodDateBegin}_start.nc 368 IGCM_sys_Put_Out startphy.nc ${R_OUT_ATM_R}/${config_UserChoices_JobName}_${PeriodDateBegin}_startphy.nc 355 369 fi 356 370 IGCM_sys_Mv config.def.save config.def 357 371 else 358 372 echo "EXECUTION of ${HOST_MPIRUN_COMMAND} -np 1 ./create_etat0_limit.e simulated" … … 360 374 fi 361 375 fi 362 363 376 fi 364 377
Note: See TracChangeset
for help on using the changeset viewer.