Changeset 815 for branches/dev_001_SBC/VALID/2INSTALL/JOBS
- Timestamp:
- 2008-02-08T16:33:44+01:00 (16 years ago)
- Location:
- branches/dev_001_SBC/VALID/2INSTALL/JOBS
- Files:
-
- 6 edited
- 4 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/dev_001_SBC/VALID/2INSTALL/JOBS/assessment.ksh
r695 r815 435 435 436 436 mak_diff_file -x ${xfilemon} -a ${filemon} -b ${filexxx} -r ${runt} -s LONG -k repro 437 438 if [ ${CONF} = 'GYRE_LOBSTER' ] ; then 439 echo " " >> endjob.txt 440 echo " ---> BIO Reproductibility mon .vs. ${runt} ? : " >> endjob.txt 441 echo " ----------------------------------------- " >> endjob.txt 442 443 # check that ocean.output files exist 444 filemon="mon/LONG/ocean.output" ; filexxx="${runt}/LONG/ocean.output" 445 xfilemon=0 446 447 checkfile ${filemon} 'endjob.txt' NORM yes ; xfilemon=$? 448 checkfile ${filexxx} 'endjob.txt' NORM ; xfilemon=$? 449 450 # check that tracer.stat files have been built based on ocean.output ones 451 filemon="mon/LONG/tracer.stat" ; filexxx="${runt}/LONG/tracer.stat" 452 xfilemon=0 453 454 ./BIO_${TARGET}.ksh -a ${filemon} -b ${filexxx} -c ocean.output 455 456 checkfile ${filemon} 'endjob.txt' NORM yes ; xfilemon=$? 457 checkfile ${filexxx} 'endjob.txt' NORM ; xfilemon=$? 458 459 mak_diff_file -x ${xfilemon} -a ${filemon} -b ${filexxx} -r ${runt} -s LONG -k repro 460 fi 437 461 fi 438 462 done … … 466 490 467 491 #------- 492 493 if [ ${CONF} = 'GYRE_LOBSTER' ] ; then 494 echo " " >> endjob.txt 495 echo " ---> ${runt} BIO restartability ? : " >> endjob.txt 496 echo " ------------------------------ " >> endjob.txt 497 498 # check that ocean.output files exist 499 file1="${runt}/2_SHORT/ocean.output" ; file2="${runt}/LONG/ocean.output" 500 xfile1=0 501 502 checkfile ${file1} 'endjob.txt' NORM yes ; xfile1=$? 503 checkfile ${file2} 'endjob.txt' NORM ; xfile1=$? 504 505 # check that tracer.stat files have been built based on ocean.output ones 506 file1="${runt}/2_SHORT/tracer.stat" ; file2="${runt}/LONG/tracer.stat" 507 xfile1=0 508 509 ./BIO_${TARGET}.ksh -a ${file1} -b ${file2} -c ocean.output 510 511 checkfile ${file1} 'endjob.txt' NORM yes ; xfile1=$? 512 checkfile ${file2} 'endjob.txt' NORM ; xfile1=$? 513 # 514 mak_diff_file -x ${xfile1} -a ${file2} -b ${file1} -r ${runt} -k resta 515 516 fi 517 468 518 done 469 519 -
branches/dev_001_SBC/VALID/2INSTALL/JOBS/cron_jobs.ksh
r695 r815 20 20 if [ ${CONF} == 'ORCA2_LIM' ] ; then 21 21 CONFS=ORCA2 22 elif [ ${CONF} == 'GYRE_LOBSTER' ] ; then 23 CONFS=GYRE_ 22 24 elif [ ${CONF} == 'ZAGRIF' ] ; then 23 25 CONFS=ZAGRI -
branches/dev_001_SBC/VALID/2INSTALL/JOBS/job_GYRE.ksh
r695 r815 234 234 if [ $type = '1_short' ] ; then 235 235 cd ${WORK}/NEMO_VALID/W${CONF}/${RUN}/2_SHORT 236 ${LAUNCH} 236 ${LAUNCH}job_${RUN}_2_short.ksh 237 237 fi -
branches/dev_001_SBC/VALID/2INSTALL/JOBS/job_ORCA2_LIM.ksh
r695 r815 251 251 if [ $type = '1_short' ] ; then 252 252 cd ${WORK}/NEMO_VALID/W${CONF}/${RUN}/2_SHORT 253 ${LAUNCH} 253 ${LAUNCH}job_${RUN}_2_short.ksh 254 254 fi -
branches/dev_001_SBC/VALID/2INSTALL/JOBS/job_ZAGRIF.ksh
r695 r815 280 280 if [ $type = '1_short' ] ; then 281 281 cd ${WORK}/NEMO_VALID/W${CONF}/${RUN}/2_SHORT 282 ${LAUNCH} 282 ${LAUNCH}job_${RUN}_2_short.ksh 283 283 fi -
branches/dev_001_SBC/VALID/2INSTALL/JOBS/lance_batch.ksh
r695 r815 4 4 # Contact : opatlod@locean-ipsl.upmc.fr 5 5 # 6 # INPUT ARGS: 2+ 1 optional6 # INPUT ARGS: 3 + 1 optional 7 7 # - CONF : configuration name (ORCA2_LIM, GYRE ..) 8 8 # - MTIME : timing/no timing (timing or notiming) 9 # - REFTAG (optional): reference tag name to which current 10 # version will be compare to 9 # - JOBTOL: jobs to launch: all, long, 1_short or gtime 10 # - REFTAG: (optional): reference tag name to which current 11 # version will be compare to 11 12 # 12 13 # WORK: This script aims to (for each standard configuration) : … … 65 66 CONF=$1 66 67 MTIME=$2 67 REFTAG=$3 68 JOBTOL=$3 69 REFTAG=$4 68 70 RUN=$(basename `pwd`) 69 71 … … 77 79 if [ ${TARGET} = 'sx8brodie' ]; then 78 80 W_XX='#-T- sx8brodie' 79 LAUN= qsub81 LAUN='qsub ' 80 82 LLJOBS=qstat 81 83 LSUB="mpirun -np ${PRC}" … … 87 89 elif [ ${TARGET} = 'aix' ]; then 88 90 W_XX='#-T- aix' 89 LAUN= llsubmit91 LAUN='llsubmit ' 90 92 LLJOBS=Qstat 91 93 LSUB= … … 97 99 elif [ ${TARGET} = 'ax_mono' ]; then 98 100 W_XX='#-T- ax_mono' 99 LAUN= llsubmit101 LAUN='llsubmit ' 100 102 LLJOBS=Qstat 101 103 LSUB= … … 107 109 elif [ ${TARGET} = 'osxxlf' ]; then 108 110 W_XX='#-T- osxxlf' 109 LAUN= 111 LAUN='./' 110 112 LLJOBS= 111 113 LSUB="mpirun -np ${PRC}" … … 178 180 dirjob[0]=LONG ; dirjob[1]=1_SHORT ; dirjob[2]=2_SHORT ; dirjob[3]=GTIME 179 181 180 iloop=3 181 if [ ${MTIME} = 'timing' ] ; then iloop=4 ; fi 182 183 ind=0 182 case ${JOBTOL} in 183 'all' ) 184 if [ ${MTIME} = 'timing' ] ; then 185 ind=0 ; iloop=4 ; 186 else 187 ind=0 ; iloop=3 ; 188 fi ;; 189 'long' ) 190 ind=0 ; iloop=1 ;; 191 'short' ) 192 ind=1 ; iloop=3 ;; 193 'gtime' ) 194 ind=3 ; iloop=4 ;; 195 esac 196 184 197 while [ $ind -lt ${iloop} ] 185 198 do … … 210 223 -e "s/$CAR_RUN/RUN=$RUN/" \ 211 224 -e "s/$CAR_MPP/NB_PROCS=$PRC/" \ 212 -e "s /$CAR_SUB/LAUNCH=$LAUN/" \225 -e "s@$CAR_SUB@LAUNCH='$LAUN'@" \ 213 226 -e "s/$CAR_EXE/LEXE='$LSUB'/" \ 214 227 -e "s/$CAR_PER/CPERF='$LPERF'/" \ … … 238 251 239 252 chmod 750 job_${RUN}_${jobnam[$ind]}.ksh 253 mv job_${RUN}_${jobnam[$ind]}.ksh ${dirjob[$ind]}/. 240 254 241 255 if [ ${jobnam[$ind]} != '2_short' ] ; then 242 mv job_${RUN}_${jobnam[$ind]}.ksh ${dirjob[$ind]}/.243 256 cd ${dirjob[$ind]} 244 ${LAUN} 257 ${LAUN}job_${RUN}_${jobnam[$ind]}.ksh & 245 258 cd ../ 246 else247 mv job_${RUN}_${jobnam[$ind]}.ksh ${dirjob[$ind]}/.248 259 fi 249 260
Note: See TracChangeset
for help on using the changeset viewer.