流程如下:
source /export/ams2024.102/amsbashrc.sh #此处输入主作业的名字和碎片作业的名字 jobname=2-h2o region1=2-h2o.Region_1 region2=2-h2o.Region_2 rm -rf /tmp/$username/${jobname} mkdir -p /tmp/$username/${jobname} export SCM_TMPDIR=/tmp/$username/${jobname} dos2unix ./*run chmod 700 ./*run #此处依次执行碎片作业、主作业 ./${region1}.run >${region1}.out mv ams.results ${region1}.results sleep 5 ./${region2}.run >${region2}.out mv ams.results ${region2}.results sleep 5 ./${jobname}.run > ${jobname}.out mv ams.results ${jobname}.results sleep 5 mv ${region1}.results ./${jobname}.results mv ${region2}.results ./${jobname}.results rm -Rf $SCM_TMPDIR