Changeset 131
- Timestamp:
- 08/22/07 18:23:30 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
modipsl/trunk/util/ins_job
r108 r131 114 114 } 115 115 IGCM_card_DefineVariableFromOption ${j}'/'${F_CFG} UserChoices JobName 116 IGCM_card_DefineVariableFromOption ${j}'/'${F_CFG} UserChoices JobClass 117 IGCM_card_DefineVariableFromOption ${j}'/'${F_CFG} UserChoices JobNumProcTot 116 118 n_f='Job_'${config_UserChoices_JobName}; 117 119 [[ -f ${j}'/'${n_f} ]] && { ins_job_Warning; continue; } 118 120 print - "\nWorking with file ${F_CFG}\nin directory ${j}\nfor ${n_f}"; 121 set -xv 119 122 sed -e "/^${W_W} */ s///" \ 120 123 -e "/^${W_P}/d" \ 121 124 -e "s%::modipsl::%${F_MOD}%" \ 122 125 -e "s/::Jobname::/${config_UserChoices_JobName}/" \ 126 -e "s/::JobClass::/${config_UserChoices_JobClass}/" \ 127 -e "s/::JobNumProcTot::/${config_UserChoices_JobNumProcTot}/" \ 123 128 ${F_JOB} > ${j}'/'${n_f} 129 set - 124 130 done 125 131 #-
Note: See TracChangeset
for help on using the changeset viewer.