Changeset 1301 for trunk/NVTK/INSTALL/JOBS/assessment.ksh
- Timestamp:
- 2009-02-09T18:15:38+01:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NVTK/INSTALL/JOBS/assessment.ksh
r1297 r1301 2 2 # $Id$ 3 3 ###################################################### 4 # Original : C. Talandier for ESOPA5 # Contact : opatlod@locean-ipsl.upmc.fr4 # Original : C. Talandier for NEMO team 5 # Contact : nemo_st@locean-ipsl.upmc.fr 6 6 # 7 7 # It is automatically launched (by the cron_jobs.ksh … … 64 64 CONF=$1 65 65 TODO=$2 66 TARGET= osxxlf67 VERSION=$( ( awk '/test=/ { print $2 }' specifs.txt ) )66 TARGET=sx8brodie 67 EXPER=$( ( awk '/test=/ { print $2 }' specifs.txt ) ) 68 68 LRTYPE="$( ( awk '/runs=/ { printf "%s %s %s", $2 , $3 , $4}' specifs.txt ) )" 69 69 VTIME=$( ( awk '/time=/ { print $2 }' specifs.txt ) ) 70 70 REF_TAG=$( (awk '/tagname=/ {print $2}' specifs.txt) ) 71 TITLE="NEMO VALIDATION ${VERSION} : $CONF on $TARGET" 71 URL_USE=$( (awk '/URL:/ {print $0}' specifs.txt) ) 72 REV_USE=$( (awk '/Revision:/ {print $2}' specifs.txt) ) 73 TITLE="NEMO VALIDATION ${EXPER} : $CONF on $TARGET" 72 74 EMAIL='ctlod@locean-ipsl.upmc.fr' 73 75 … … 117 119 fmes2=" `ls -o ${zf2check}` " 118 120 fmes3=" - file ${zf2check} is empty " 119 fmes4=" Num. time steps: done / expected "121 fmes4=" Num. time steps: done / expected " 120 122 if [ ${zreprint} = 'yes' ] ; then 121 123 if [ ${zrepiter} == 0 ] ; then … … 321 323 322 324 # List of files to treat 323 zcatfe[0]="mon/LONG/ mon${zconf}_err"324 zcatfe[1]="mon/GTIME/ mon${zconf}_err"325 zcatfe[2]="mpi/GTIME/ mpi${zconf}_err"325 zcatfe[0]="mon/LONG/${EXPER}/mon${zconf}_err" 326 zcatfe[1]="mon/GTIME/${EXPER}/mon${zconf}_err" 327 zcatfe[2]="mpi/GTIME/${EXPER}/mpi${zconf}_err" 326 328 327 329 ind=0 … … 335 337 cat ${kf} >> ${zname} 336 338 done 337 cd ../.. 339 cd ../../.. 338 340 let ind=${ind}+1 339 341 done … … 346 348 347 349 # ############################### 348 # 0. CURRENT VERSIONNAME350 # 0. EXPERIENCE NAME 349 351 # ############################### 350 352 echo " ############################ " > endjob.txt 351 echo " CURRENT VERSION: $VERSION" >> endjob.txt353 echo " EXPERIENCE NAME: $EXPER " >> endjob.txt 352 354 echo " ############################ " >> endjob.txt 353 355 echo " " >> endjob.txt 354 356 echo " " >> endjob.txt 357 358 # ############################### 359 # 0.I LIST OF FILES TESTED, i.e. stored under NVTK/2TEST directory 360 # ############################### 361 nbfiles=$( (cat f2test.txt | wc -l) ) 362 echo " ################################################# " >> endjob.txt 363 echo " FILES STORED UNDER NVTK/2TEST DIRECTORY & TESTED " >> endjob.txt 364 echo " ################################################# " >> endjob.txt 365 echo " " >> endjob.txt 366 echo " Number of files : ${nbfiles} " >> endjob.txt 367 echo " " >> endjob.txt 368 cat f2test.txt >> endjob.txt 369 echo " " >> endjob.txt 370 371 # ############################### 372 # 0.II NEMO SOURCE FILES INFORMATION, i.e. revision & URL downloaded 373 # ############################### 374 echo " ############################# " >> endjob.txt 375 echo " NEMO SOURCE FILES INFORMATION " >> endjob.txt 376 echo " ############################# " >> endjob.txt 377 echo " " >> endjob.txt 378 echo " NEMO downloaded from server: ${URL_USE} " >> endjob.txt 379 echo " NEMO revision : ${REV_USE} " >> endjob.txt 380 echo " " >> endjob.txt 381 echo " " >> endjob.txt 382 355 383 356 384 test -n "${TODO}" … … 363 391 # I. CHECK EXECUTABLE MEMORY SIZE 364 392 # ############################### 365 filecs= 'mon/LONG/memory_size.txt'; filers='mon/LONG/REF/memory_size.txt'366 filecm="mon/LONG/ mon${CONF}_err" ; filerm="mon/LONG/REF/mon${CONF}_err"393 filecs="mon/LONG/${EXPER}/memory_size.txt" ; filers='mon/LONG/REF/memory_size.txt' 394 filecm="mon/LONG/${EXPER}/mon${CONF}_err" ; filerm="mon/LONG/REF/mon${CONF}_err" 367 395 xfilecs=0 ; xfilecm=0 ; xfilers=0 ; xfilerm=0 368 396 echo " ############################ " >> endjob.txt … … 380 408 381 409 if [ ${REF_TAG} ] ; then 382 ./MEM_size_${TARGET}.ksh -a ${xfilecm} -b ${xfilers} -d ${xfilerm} - c ${CONF} -o endjob.txt -t ${REF_TAG}410 ./MEM_size_${TARGET}.ksh -a ${xfilecm} -b ${xfilers} -d ${xfilerm} -e ${EXPER} -c ${CONF} -o endjob.txt -t ${REF_TAG} 383 411 else 384 ./MEM_size_${TARGET}.ksh -a ${xfilecm} -b ${xfilers} -d ${xfilerm} - c ${CONF} -o endjob.txt412 ./MEM_size_${TARGET}.ksh -a ${xfilecm} -b ${xfilers} -d ${xfilerm} -e ${EXPER} -c ${CONF} -o endjob.txt 385 413 fi 386 414 … … 415 443 416 444 # Check that timing file for the ${runt} current version exist 417 filecv="${runt}/GTIME/${ runt}${CONF}_err"445 filecv="${runt}/GTIME/${EXPER}/${runt}${CONF}_err" 418 446 checkfile ${filecv} 'endjob.txt' NORM yes ; xfilecv=$? 419 447 … … 453 481 echo " ------------------------------------- " >> endjob.txt 454 482 455 filemon="mon/LONG/ solver.stat" ; filexxx="${runt}/LONG/solver.stat"483 filemon="mon/LONG/${EXPER}/solver.stat" ; filexxx="${runt}/LONG/${EXPER}/solver.stat" 456 484 xfilemon=0 457 485 … … 467 495 468 496 # check that ocean.output files exist 469 filemon="mon/LONG/ ocean.output" ; filexxx="${runt}/LONG/ocean.output"497 filemon="mon/LONG/${EXPER}/ocean.output" ; filexxx="${runt}/LONG/${EXPER}/ocean.output" 470 498 xfilemon=0 471 499 … … 474 502 475 503 # check that tracer.stat files have been built based on ocean.output ones 476 filemon="mon/LONG/ tracer.stat" ; filexxx="${runt}/LONG/tracer.stat"504 filemon="mon/LONG/${EXPER}/tracer.stat" ; filexxx="${runt}/LONG/${EXPER}/tracer.stat" 477 505 xfilemon=0 478 506 … … 504 532 echo " -------------------------- " >> endjob.txt 505 533 506 file1="${runt}/1_SHORT/ solver.stat" ; file2="${runt}/2_SHORT/solver.stat" ; file3="${runt}/LONG/solver.stat"534 file1="${runt}/1_SHORT/${EXPER}/solver.stat" ; file2="${runt}/2_SHORT/${EXPER}/solver.stat" ; file3="${runt}/LONG/${EXPER}/solver.stat" 507 535 xfile1=0 508 536 #------- … … 522 550 523 551 # check that ocean.output files exist 524 file1="${runt}/2_SHORT/ ocean.output" ; file2="${runt}/LONG/ocean.output"552 file1="${runt}/2_SHORT/${EXPER}/ocean.output" ; file2="${runt}/LONG/${EXPER}/ocean.output" 525 553 xfile1=0 526 554 … … 529 557 530 558 # check that tracer.stat files have been built based on ocean.output ones 531 file1="${runt}/2_SHORT/ tracer.stat" ; file2="${runt}/LONG/tracer.stat"559 file1="${runt}/2_SHORT/${EXPER}/tracer.stat" ; file2="${runt}/LONG/${EXPER}/tracer.stat" 532 560 xfile1=0 533 561 … … 565 593 echo ' ocean.output .vs. ocean.output ' >> endjob.txt 566 594 567 file1="${runt}/1_SHORT/ solver.stat" ; file2="${runt}/2_SHORT/solver.stat"568 filev1="${runt}/1_SHORT/REF/solver.stat" ; filev2="${runt}/2_SHORT/REF/solver.stat"569 file_oc1="${runt}/1_SHORT/ ocean.output" ; file_oc2="${runt}/2_SHORT/ocean.output"570 file_roc1="${runt}/1_SHORT/REF/ocean.output" ; file_roc2="${runt}/2_SHORT/REF/ocean.output"595 file1="${runt}/1_SHORT/${EXPER}/solver.stat" ; file2="${runt}/2_SHORT/${EXPER}/solver.stat" 596 filev1="${runt}/1_SHORT/REF/solver.stat" ; filev2="${runt}/2_SHORT/REF/solver.stat" 597 file_oc1="${runt}/1_SHORT/${EXPER}/ocean.output" ; file_oc2="${runt}/2_SHORT/${EXPER}/ocean.output" 598 file_roc1="${runt}/1_SHORT/REF/ocean.output" ; file_roc2="${runt}/2_SHORT/REF/ocean.output" 571 599 xfilev1=0 ; xfilev2=0 ; xfile_oc1=0 ; xfile_oc2=0 572 600
Note: See TracChangeset
for help on using the changeset viewer.