Changeset 443
- Timestamp:
- 04/08/11 14:53:08 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libIGCM/libIGCM_config/libIGCM_config.ksh
r439 r443 21 21 IGCM_debug_Print 1 "IGCM_config_Initialize :" 22 22 echo 23 24 if [ ! -r ${SUBMIT_DIR}/run.card ]; then 25 #================================================# 26 # The file run.card doesn't exist # 27 #================================================# 28 FirstInitialize=true 29 #copy initial run.card 30 IGCM_sys_Cp ${SUBMIT_DIR}/run.card.init ${SUBMIT_DIR}/run.card 31 else 32 FirstInitialize=false 33 fi 23 34 24 35 # Test modipsl tree existence. … … 373 384 echo 374 385 375 if [ ! -r ${SUBMIT_DIR}/run.card ]; then 376 386 if ( ${FirstInitialize} ) ; then 377 387 #================================================# 378 # The file run.card doesn't exist#388 # Initialize date/period information # 379 389 #================================================# 380 381 eval FirstInitialize=true382 383 #copy initial run.card384 IGCM_sys_Cp ${SUBMIT_DIR}/run.card.init ${SUBMIT_DIR}/run.card385 390 386 391 IGCM_date_GetYearMonth $DateBegin year month … … 394 399 395 400 #=================================================# 396 # Creation and write updated run.card#401 # Write updated run.card # 397 402 #=================================================# 398 403 … … 405 410 IGCM_card_WriteOption ${SUBMIT_DIR}/run.card Configuration PeriodState "Running" 406 411 412 # It's no more the first time 413 FirstInitialize=false 407 414 else 408 415 #================================================# 409 416 # The file run.card allready exist # 410 417 #================================================# 411 412 eval FirstInitialize=false413 418 414 419 #Test state of run in run.card
Note: See TracChangeset
for help on using the changeset viewer.