Changeset 1574
- Timestamp:
- 02/06/23 10:10:12 (8 months ago)
- Location:
- trunk/libIGCM
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libIGCM/AA_job_debug
r1572 r1574 179 179 #-Q- mesoipsl . /etc/profile.d/modules.sh 180 180 181 . ::ENVFILE::181 . ./arch.env 182 182 183 183 module list 184 184 185 # Enable the copy of binary files from modipsl directory (default n) 186 # Could be useful in case of modifications (and so recompilation) in the sources 187 copy_executable=n 188 185 189 #D------------------------------------------------------ 186 190 #D- EXECUTION 187 #D- - Copy binary files from modipsl directory 191 #D- - Copy binary files from modipsl directory (only if copy_executable=y) 188 192 #D- - Remove of some out restart files 189 193 #D- - Execution … … 192 196 cd ${SUBMIT_DIR} 193 197 198 if [ X${copy_executable} = Xy ] ; then 194 199 while read EXEIN EXEOUT ;do 195 200 eval EXEIN=${EXEIN} 196 201 cp ${MODIPSL}/bin/${EXEIN} ${EXEOUT} 197 202 done < components_binary.txt 203 fi 198 204 199 205 if [ X${SRF_comp} = Xy ] ; then -
trunk/libIGCM/ins_job
r1569 r1574 560 560 # openMPthreads : NUMBER OF OpenMP THREADS 561 561 562 # File name for Job_debug 563 n_f='Job_debug_'${JobName}; 564 [[ ${x_v} = 'verbose' ]] && print - "\nWorking with file ${F_CFG}\nin directory ${j}\nfor ${n_f}"; 565 sed -e "/^${W_W} */ s///" \ 566 -e "/^${W_P}/d" \ 567 -e "s%::modipsl::%${F_MOD}%" \ 568 -e "s/::Jobname::/${JobName}/" \ 569 -e "s/::default_project::/${ProjectID}/" \ 570 -e "s/::WallTime::/${WallTime}/" \ 571 ${F_JOB_DEBUG} > ${libIGCM}'/'${n_f} 572 chmod u+x ${libIGCM}'/'${n_f} 573 574 # update Headers so that ressources description are accurate (MPMD/SPMD/...) 575 IGCM_sys_updateHeaders ${libIGCM}'/'${n_f} 576 562 577 # File name for Job 563 578 n_f='Job_'${JobName}; … … 575 590 # update Headers so that ressources description are accurate (MPMD/SPMD/...) 576 591 IGCM_sys_updateHeaders ${j}'/'${n_f} 577 578 n_f='Job_debug_'${JobName};579 [[ ${x_f} = 'false' ]] && [[ -f ${j}'/'${n_f} ]] && { ins_job_Warning; continue; }580 [[ ${x_v} = 'verbose' ]] && print - "\nWorking with file ${F_CFG}\nin directory ${j}\nfor ${n_f}";581 sed -e "/^${W_W} */ s///" \582 -e "/^${W_P}/d" \583 -e "s%::modipsl::%${F_MOD}%" \584 -e "s/::Jobname::/${JobName}/" \585 -e "s/::default_project::/${ProjectID}/" \586 -e "s/::WallTime::/${WallTime}/" \587 ${F_JOB_DEBUG} > ${libIGCM}'/'${n_f}588 chmod u+x ${libIGCM}'/'${n_f}589 590 # update Headers so that ressources description are accurate (MPMD/SPMD/...)591 IGCM_sys_updateHeaders ${libIGCM}'/'${n_f}592 592 593 593 done … … 601 601 i_f=${i##*/}; 602 602 [[ ${i_f} = 'AA_job' ]] && { continue; } 603 [[ ${i_f} = 'AA_job_debug' ]] && { continue; } 603 604 j=${i%/*}; n_f=${i_f#AA_}'.job'; 604 605 [[ ${x_f} = 'false' ]] && [[ -f ${j}'/'${n_f} ]] && { ins_job_Warning; continue; } -
trunk/libIGCM/libIGCM_sys/libIGCM_sys.ksh
r1569 r1574 1668 1668 done 1669 1669 SUBMIT_DIRECTORY=$(grep SUBMIT_DIR ${libIGCM}/libIGCM_sys/libIGCM_sys_${SYSTEM}.ksh | grep -m1 typeset | cut -dx -f2) 1670 sed -e "s%::ENVFILE::%${EnvFile}%" \ 1671 -e "s%::EXECUTION::%${EXECUTION}%" \ 1670 sed -e "s%::EXECUTION::%${EXECUTION}%" \ 1672 1671 -e "s%::EXECUTION_TYPE::%${executionType}%" \ 1673 1672 -e "s%::JOBNAME::%${config_UserChoices_JobName}%" \ … … 1678 1677 -e "s%::CHM_comp::%${CHM_comp}%" \ 1679 1678 ${libIGCM}/Job_debug_${config_UserChoices_JobName} > ${RUN_DIR}/Job_debug_${config_UserChoices_JobName} 1679 cp ${EnvFile} ${RUN_DIR}/. 1680 1680 echo 1681 1681 echo "############################################"
Note: See TracChangeset
for help on using the changeset viewer.