Changeset 1585 for branches/libIGCM_CESMEP/ins_job
- Timestamp:
- 04/25/23 14:26:44 (15 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/libIGCM_CESMEP/ins_job
r1567 r1585 116 116 # { print - "directory 'modipsl' unreachable"; exit 3; } 117 117 W_W=${d_n}'/../libIGCM' 118 #W_W=${d_n} # S.Senesi - not sure of the intent in line above, but that clashes with using a symbolic link for libIGCM in modipsl/, which is must useful for development 118 119 [[ ! -d ${W_W} ]] && { print - "${W_W} unreachable"; exit 3; } 119 120 libIGCM=$(cd ${W_W};/bin/pwd;) 120 121 F_JOB=${libIGCM}'/AA_job'; 121 122 [[ ! -f ${F_JOB} ]] && { print - "${F_JOB} unreachable"; exit 3; } 123 F_JOB_DEBUG=${libIGCM}'/AA_job_debug'; 124 [[ ! -f ${F_JOB_DEBUG} ]] && { print - "${F_JOB_DEBUG} unreachable"; exit 3; } 122 125 F_RCI=${libIGCM}'/run.card.init'; 123 126 [[ ! -f ${F_RCI} ]] && { print - "${F_RCI} unreachable"; exit 3; } … … 404 407 echo MPIEnvironment is ${MPIEnvironment} 405 408 406 elif [ X"${SYSTEM}" == "X lxiv8" ] || [ X"${SYSTEM}" == "Xifort_CICLAD" ] ; then409 elif [ X"${SYSTEM}" == "Xobelix" ] || [ X"${SYSTEM}" == "Xifort_CICLAD" ] ; then 407 410 # obelix, ciclad, climserv 408 411 echo "" … … 558 561 # openMPthreads : NUMBER OF OpenMP THREADS 559 562 563 # File name for Job_debug 564 n_f='Job_debug_'${JobName}; 565 [[ ${x_v} = 'verbose' ]] && print - "\nWorking with file ${F_CFG}\nin directory ${j}\nfor ${n_f}"; 566 sed -e "/^${W_W} */ s///" \ 567 -e "/^${W_P}/d" \ 568 -e "s%::modipsl::%${F_MOD}%" \ 569 -e "s/::Jobname::/${JobName}/" \ 570 -e "s/::default_project::/${ProjectID}/" \ 571 -e "s/::WallTime::/${WallTime}/" \ 572 ${F_JOB_DEBUG} > ${libIGCM}'/'${n_f} 573 chmod u+x ${libIGCM}'/'${n_f} 574 575 # update Headers so that ressources description are accurate (MPMD/SPMD/...) 576 IGCM_sys_updateHeaders ${libIGCM}'/'${n_f} 577 560 578 # File name for Job 561 579 n_f='Job_'${JobName}; … … 573 591 # update Headers so that ressources description are accurate (MPMD/SPMD/...) 574 592 IGCM_sys_updateHeaders ${j}'/'${n_f} 593 575 594 done 576 595 … … 583 602 i_f=${i##*/}; 584 603 [[ ${i_f} = 'AA_job' ]] && { continue; } 604 [[ ${i_f} = 'AA_job_debug' ]] && { continue; } 585 605 j=${i%/*}; n_f=${i_f#AA_}'.job'; 586 606 [[ ${x_f} = 'false' ]] && [[ -f ${j}'/'${n_f} ]] && { ins_job_Warning; continue; }
Note: See TracChangeset
for help on using the changeset viewer.