New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 1591 for trunk/NVTK/INSTALL – NEMO

Changeset 1591 for trunk/NVTK/INSTALL


Ignore:
Timestamp:
2009-08-06T17:33:14+02:00 (15 years ago)
Author:
ctlod
Message:

NVTK: correct minor bugs in the assessment step, see ticket: #520

Location:
trunk/NVTK/INSTALL/JOBS
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/NVTK/INSTALL/JOBS/CPU_time_sx8brodie.ksh

    r1564 r1591  
    165165               awk '( /\[/ && /\]/ ) && /MFLOPS/                { printf( "%-7s %.29s  %10.2f \n", " ", $0 , $NF) }' ${zfile1} >> ${zout} 
    166166               awk '( /\[/ && /\]/ ) && /Average Vector Length/ { printf( "%-7s %.29s  %10.2f \n", " ", $0 , $NF) }' ${zfile1} >> ${zout} 
    167                awk '( /\[/ && /\]/ ) && /Memory size used/ && ! /Global/ { printf( "%-7s %.29s  %10.2f \n", " ", $0 , $NF) }' ${zfile2} >> ${zout} 
     167               awk '( /\[/ && /\]/ ) && /Memory size used/ && ! /Global/ { printf( "%-7s %.29s  %10.2f \n", " ", $0 , $NF) }' ${zfile1} >> ${zout} 
    168168               echo " " >> ${zout}  
    169169            
  • trunk/NVTK/INSTALL/JOBS/CPU_time_sx8mercure.ksh

    r1564 r1591  
    165165               awk '( /\[/ && /\]/ ) && /MFLOPS/                { printf( "%-7s %.29s  %10.2f \n", " ", $0 , $NF) }' ${zfile1} >> ${zout} 
    166166               awk '( /\[/ && /\]/ ) && /Average Vector Length/ { printf( "%-7s %.29s  %10.2f \n", " ", $0 , $NF) }' ${zfile1} >> ${zout} 
    167                awk '( /\[/ && /\]/ ) && /Memory size used/ && ! /Global/ { printf( "%-7s %.29s  %10.2f \n", " ", $0 , $NF) }' ${zfile2} >> ${zout} 
     167               awk '( /\[/ && /\]/ ) && /Memory size used/ && ! /Global/ { printf( "%-7s %.29s  %10.2f \n", " ", $0 , $NF) }' ${zfile1} >> ${zout} 
    168168               echo " " >> ${zout}  
    169169            
  • trunk/NVTK/INSTALL/JOBS/assessment.ksh

    r1589 r1591  
    99# configuration are finished  
    1010# 
    11 # INPUT ARGS: 1 optional 
    12 #     - TODO: (optional) Arg=yes or empty to build  
    13 #             output files including timing results.  
    14 #             Specific to Zahir 
     11# INPUT ARGS: 1  
     12#    - EXPER: name of the experience for which the  
     13#             assessment will be done 
    1514# 
    1615# WORK: It aims to (for each standard configuration) : 
     
    6362CONF=`basename $( pwd ) | cut -c2-` 
    6463EXPER=$1 
    65 TODO=$2 
    6664TARGET=sx8brodie 
    6765INFOF="./infos/specifs_${EXPER}.txt" 
     
    438436echo "                                                        " >> ${OUTPUTF} 
    439437 
    440 test -n "${TODO}" 
    441 id2do=$? 
    442 if [ ${id2do} == 0 -a ${TARGET} = 'aix6' ] ; then concat_perf ${CONFS} ; fi 
     438if [ ${TARGET} = 'aix6' -a ${VTIME} = 'timing' ] ; then concat_perf ${CONFS} ; fi 
    443439 
    444440#@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 
     
    447443# I. CHECK EXECUTABLE MEMORY SIZE 
    448444# ############################### 
    449 filecs="mon/LONG/${EXPER}/memory_size.txt" ;  filers="mon/LONG/${REF_TAG}/memory_size.txt" 
     445filecs="mon/LONG/${EXPER}/memory_size.txt"  ;  filers="mon/LONG/${REF_TAG}/memory_size.txt" 
    450446filecm="mon/LONG/${EXPER}/mon${CONFS}_err"  ;  filerm="mon/LONG/${REF_TAG}/mon${CONFS}_err" 
    451447xfilecs=0  ; xfilecm=0 ; xfilers=0 ; xfilerm=0 
     
    455451echo "                                                        " >> ${OUTPUTF} 
    456452#-------- 
    457 checkfile ${filecs} ${OUTPUTF} DIFF yes ; xfilecs=$? 
    458 checkfile ${filers} ${OUTPUTF} DIFF no  ; xfilers=$? 
    459 checkfile ${filecm} ${OUTPUTF} DIFF no  ; xfilecm=$? 
    460 checkfile ${filerm} ${OUTPUTF} DIFF no  ; xfilerm=$? 
     453                  checkfile ${filecs} ${OUTPUTF} DIFF yes ; xfilecs=$? 
     454[ ${REF_TAG} ] && checkfile ${filers} ${OUTPUTF} DIFF no  ; xfilers=$? 
     455                  checkfile ${filecm} ${OUTPUTF} DIFF no  ; xfilecm=$? 
     456[ ${REF_TAG} ] && checkfile ${filerm} ${OUTPUTF} DIFF no  ; xfilerm=$? 
    461457 
    462458# If current version files exist 
     
    503499 
    504500        # Check that timing file for the ${runt} reference version exist 
    505         filerv="${runt}/GTIME/${REF_TAG}/${runt}${CONFS}_err"  
    506         checkfile ${filerv} ${OUTPUTF} NORM no ; xfilerv=$? 
     501        if [ ${REF_TAG} ] ; then  
     502            filerv="${runt}/GTIME/${REF_TAG}/${runt}${CONFS}_err"  
     503            checkfile ${filerv} ${OUTPUTF} NORM no ; xfilerv=$? 
     504        else  
     505            filerv='NoFile' 
     506            xfilerv=1 
     507        fi 
    507508        echo "                                                             " >> ${OUTPUTF} 
    508509 
Note: See TracChangeset for help on using the changeset viewer.