Changeset 2271 for modipsl/trunk/util/ins_job
- Timestamp:
- 07/02/14 18:19:55 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
modipsl/trunk/util/ins_job
r2246 r2271 163 163 #- 164 164 F_CFG='config.card'; 165 F_CFG_ENS='ensemble.card'; 166 SUBMIT_DIR_ENS=$( pwd ) 165 167 for i in $(find ${d_n}/.. -name ${F_CFG} -print) 166 168 do … … 243 245 cp -r ${j}/GENERAL/* ${j}/${JobName}/. 244 246 cp -f ${j}/${F_CFG} ${j}/${JobName}/. 247 if [ -f ${F_CFG_ENS} ] ; then 248 cp -f ${j}/${F_CFG_ENS} ${j}/${JobName}/. 249 SUBMIT_DIR_ENS=${j}/${JobName} 250 fi 245 251 rm -f ${j}/${F_CFG} 252 rm -f ${j}/${F_CFG_ENS} 246 253 rm -f ${j}/${F_CFG}.bak 247 254 j=${j}/${JobName} … … 299 306 if [ ${x_e} = 'true' ] ; then 300 307 #.. Read input data from ensemble.card .. 301 # TO BE CHANGED 302 FileName="ensemble.card" 303 SUBMIT_DIR=$( pwd ) 308 SUBMIT_DIR=${SUBMIT_DIR_ENS} 304 309 RUN_DIR="${WORKDIR}/ENSEMBLE" 305 310 # 306 311 # Copy initial things around and define variables (hindcast/forecast case) 312 IGCM_sys_Cd ${SUBMIT_DIR} 307 313 IGCM_ensemble_Init 308 314 … … 312 318 313 319 if [[ ${ensemble_Ens_DATE_active} = 'y' ]] ; then 320 IGCM_sys_Cd ${SUBMIT_DIR} 314 321 IGCM_ensemble_DateInit 315 322 # As it says … … 324 331 325 332 if [[ ${ensemble_Ens_PERTURB_active} = 'y' ]] ; then 333 IGCM_sys_Cd ${SUBMIT_DIR} 326 334 IGCM_ensemble_CastInit 327 335 # As it says
Note: See TracChangeset
for help on using the changeset viewer.