Changeset 1489 for trunk/libIGCM/ins_job


Ignore:
Timestamp:
09/17/19 10:55:34 (5 years ago)
Author:
flavoni
Message:

razionalitation of ensembles and ins_job (-e), remove useless options

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/ins_job

    r1475 r1489  
    359359      echo "Directory ${j}/${JobName} exists already. It will not be overwritten." 
    360360      echo "Remove the existing directory or change JobName before relaunching ins_job." 
    361       continue 
     361      #continue 
     362      exit   
    362363    fi 
    363364    echo "=> Submit directory ${JobName} will be created with cards from EXPERIMENTS/${config_UserChoices_ExpType}" 
     
    370371    fi 
    371372    rm -f ${j}/${F_CFG} 
    372     rm -f ${j}/${F_CFG_ENS} 
     373    # rm -f ${j}/${F_CFG_ENS} 
    373374    rm -f ${j}/${F_CFG}.bak 
    374375    j=${j}/${JobName} 
     
    452453# Limited to hindcast/forecast and date restart Ensemble for the time being 
    453454if [ ${x_e} = 'true' ] ; then 
     455    if [ ! -f ${F_CFG_ENS} ] ; then 
     456       echo "" 
     457       echo "################## WARNING ##################" 
     458       echo "No ensemble.card available in current directory" 
     459       echo "" 
     460       exit 
     461      #  continue 
     462   fi 
     463 
    454464  #.. Read input data from ensemble.card .. 
    455465  SUBMIT_DIR=${SUBMIT_DIR_ENS} 
     
    460470  IGCM_ensemble_Init 
    461471 
    462   if [[ ${ensemble_Ens_PARAMETRIC_active} = 'y' ]] ; then 
    463     echo "WARNING: Parametric Ensemble is not implemented yet..." 
    464   fi 
    465  
    466472  if [[ ${ensemble_Ens_DATE_active} = 'y' ]] ; then 
    467473    IGCM_sys_Cd ${SUBMIT_DIR} 
     
    469475    # As it says 
    470476    IGCM_sys_Cd ${SUBMIT_DIR} 
    471     IGCM_ensemble_DatePeriodicStarts 
    472     # As it says 
    473     IGCM_sys_Cd ${SUBMIT_DIR} 
    474477    IGCM_ensemble_DateNonPeriodicStarts 
    475     # Clean 
    476     IGCM_sys_Rm -rf ${RUN_DIR} 
    477478  fi 
    478479 
     
    484485    IGCM_ensemble_CastPeriodicStarts 
    485486    # As it says 
    486     IGCM_sys_Cd ${SUBMIT_DIR} 
    487     IGCM_ensemble_CastNonPeriodicStarts 
    488     # As it says 
    489     IGCM_sys_Cd ${SUBMIT_DIR} 
    490     IGCM_ensemble_CastMemberList 
    491     # Done 
    492     #IGCM_sys_Cp ${RUN_DIR}/CreatedDir.txt ${SUBMIT_DIR} 
    493     IGCM_sys_Cd ${SUBMIT_DIR} 
    494     # Clean 
    495     IGCM_sys_Rm -rf ${RUN_DIR} 
    496   fi 
     487    #IGCM_sys_Cd ${SUBMIT_DIR} 
     488    #IGCM_ensemble_CastMemberList 
     489  fi 
     490  # Done 
     491  IGCM_sys_Cd ${SUBMIT_DIR} 
     492  # Clean 
     493  IGCM_sys_Rm -rf ${RUN_DIR} 
     494   
    497495fi 
    498496#- 
Note: See TracChangeset for help on using the changeset viewer.