Changeset 1623


Ignore:
Timestamp:
01/24/24 16:39:14 (3 months ago)
Author:
nillod
Message:

Bug fix for ensemble tools introduce by new functionalities.

Location:
trunk/libIGCM
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/libIGCM/ins_job

    r1617 r1623  
    660660  #.. Read input data from ensemble.card .. 
    661661  SUBMIT_DIR=${SUBMIT_DIR_ENS} 
    662   RUN_DIR="${CCCWORKDIR}/ENSEMBLE_TMP" 
     662  if [ X"${SYSTEM}" == "Xirene" ] ; then 
     663    RUN_DIR="${CCCWORKDIR}/ENSEMBLE_TMP" 
     664  elif [ X"${SYSTEM}" == "Xirene-amd" ] ; then 
     665    RUN_DIR="${CCCWORKDIR}/ENSEMBLE_TMP" 
     666  elif [ X"${SYSTEM}" == "Xjeanzay" ] ; then 
     667    RUN_DIR="${WORK}/ENSEMBLE_TMP" 
     668  else 
     669    RUN_DIR="${WORK}/ENSEMBLE_TMP" 
     670  fi 
    663671  # 
    664672  # Copy initial things around and define variables (hindcast/forecast case) 
     
    696704# 
    697705# Only do this if we are in a folder containing a config.card (conf_card=yes) 
    698 if [ ${conf_card} == yes ] ; then 
     706if ([ ${conf_card} == yes ] && [ ${x_e} != 'true' ] ); then 
    699707 
    700708    [[ ${new_struct} == yes ]] && prefix="$JobName/"   
  • trunk/libIGCM/libIGCM_ensemble/libIGCM_ensemble.ksh

    r1607 r1623  
    150150  IGCM_card_WriteOption ${SUBMIT_DIR}/${StartDir}/${MemberDir}/config.card Ensemble EnsembleDate ${HumanDateBegin} 
    151151  IGCM_card_WriteOption ${SUBMIT_DIR}/${StartDir}/${MemberDir}/config.card Ensemble EnsembleType "Ens_${EnsembleType}" 
     152  if [ X${ensemble_Ens_DATE_MERGE_SAVE} != "X" ] ; then 
     153          IGCM_debug_Print 1 "DATE MERGE SAVE filled to : ${ensemble_Ens_DATE_MERGE_SAVE}" 
     154  else 
     155          IGCM_debug_Print 1 "DATE MERGE SAVE is EMPTY, filled to : n" 
     156          ensemble_Ens_DATE_MERGE_SAVE="n" 
     157  fi 
    152158  IGCM_card_WriteOption ${SUBMIT_DIR}/${StartDir}/${MemberDir}/config.card Ensemble EnsembleMergeSave ${ensemble_Ens_DATE_MERGE_SAVE} 
    153159   
     
    352358    IGCM_date_GetYearMonth ${DateBegin} year month 
    353359 
     360    echo "New DateBegin = $DateBegin" 
     361    echo "========================================================================" 
     362 
    354363  # - Determine number of day(s) in PERIODICITY 
    355364    PeriodLengthInDays=$( IGCM_date_DaysInCurrentPeriod ${DateBegin} ${ensemble_Ens_PERTURB_PERIODICITY} ) 
     
    432441      ;; 
    433442    esac 
    434     echo "New DateBegin = $DateBegin" 
    435     echo "========================================================================" 
    436443  done 
     444  IGCM_debug_Print 1 "End of periodic perturbol loop, use dDateBegin=${oldDateBegin}" 
     445  DateBegin=${oldDateBegin} 
     446   
    437447  IGCM_debug_PopStack "IGCM_ensemble_CastPeriodicStarts" 
    438448} 
Note: See TracChangeset for help on using the changeset viewer.