Changeset 14d9618 in flex_extract.git
- Timestamp:
- Jul 1, 2020, 2:40:48 PM (4 years ago)
- Branches:
- master, ctbto, dev
- Children:
- e0005c9, 36dbabb
- Parents:
- d90a529
- Files:
-
- 3 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
Source/Fortran/makefile_fast
rd2d6cf9 r14d9618 19 19 LIB = $(ECCODES_LIB) $(EMOSLIB) 20 20 21 ECCODES_INCLUDE_DIR=/usr/local/include/ 22 #/usr/lib/x86_64-linux-gnu/fortran/gfortran-mod-15 21 ECCODES_INCLUDE_DIR=/usr/lib/x86_64-linux-gnu/fortran/gfortran-mod-15 22 #/usr/local/include/ #oldstable 23 23 24 INC = -I. -I$(ECCODES_INCLUDE_DIR) 24 25 25 26 FC = gfortran 26 OPT = -O3 -march=native27 OPT = -O3 # -O3 -march=native 27 28 FFLAGS = $(OPT) $(LIB) $(INC) -fdefault-real-8 -fopenmp -fconvert=big-endian 28 29 LDFLAGS = $(OPT) $(LIB) -fopenmp -
Testing/Regression/FortranEtadot/run_ref.sh
rd2d6cf9 r14d9618 14 14 exefast=calc_etadot_fast.out 15 15 hash=$(git log --abbrev-commit --pretty=oneline -n 1 --pretty=format:'%h') 16 csvfile='runtimes_'${HOST}'.csv' 16 17 exitonfail=true 17 18 rm -f log.run_ref failed … … 52 53 if [ "${exitonfail}" = true ]; then exit; fi 53 54 fi 54 for outfile in 'fort.15' 'VERTICAL.EC'; do55 for outfile in 'fort.15' ; do 55 56 if [ -e $outfile ]; then 56 57 mv ${outfile} ../${outdir} … … 69 70 # compare debug and fast 70 71 # omega case also produces fort.25 - need to add this 71 for outfile in 'fort.15' 'VERTICAL.EC'; do72 for outfile in 'fort.15' ; do 72 73 outdebug='Outputs/Output_ref_'${ref}'_debug/'$outfile 73 74 outfast='Outputs/Output_ref_'${ref}'_fast/'$outfile 74 test=$( cmp $outdebug $outfast)75 if $test; then75 test=$() 76 if cmp -s $outdebug $outfast >/dev/null; then 76 77 echo $outfile ' equal for debug and fast' >> log.run_ref 77 78 else … … 89 90 user=$(echo $times | grep user | awk '{print $4}') 90 91 sys=$( echo $times | grep sys | awk '{print $6}') 91 echo $hash, "'"reference"'", "'"${ref}'_'${exe}"'", ${real}, ${user}, ${sys} >> runtimes.csv92 echo $hash, "'"reference"'", "'"${ref}'_'${exe}"'", ${real}, ${user}, ${sys} >> ${csvfile} 92 93 tail -1 runtimes.csv >> log.run_ref 93 94 done -
Testing/Regression/FortranEtadot/run_regrtest.sh
rd2d6cf9 r14d9618 17 17 exefast=calc_etadot_fast.out 18 18 hash=$(git log --abbrev-commit --pretty=oneline -n 1 --pretty=format:'%h') 19 csvfile='runtimes_'${HOST}'.csv' 19 20 exitonfail=true 20 21 numtest=0 … … 84 85 user=$(echo $times | grep user | awk '{print $4}') 85 86 sys=$( echo $times | grep sys | awk '{print $6}') 86 echo $hash, "'"reference"'", "'"${ref}'_'${exe}"'", ${real}, ${user}, ${sys} >> ../ runtimes.csv87 tail -1 ../ runtimes.csv>> log.run_regr87 echo $hash, "'"reference"'", "'"${ref}'_'${exe}"'", ${real}, ${user}, ${sys} >> ../${csvfile} 88 tail -1 ../${csvfile} >> log.run_regr 88 89 89 90 cd .. 90 rm Work/* # this is for being more safe91 rm -f Work/* # this is for being more safe 91 92 92 93 done # end of exe loop … … 99 100 | tee -a ../log.run_regr 100 101 echo ' More information may be found in log.run_regr' 101 echo ' Runtimes were added to runtimes.csvunder '$hash | tee -a ../log.run_regr102 echo ' Runtimes were added to '${csvfile}' under '$hash | tee -a ../log.run_regr 102 103 103 104 # the following code is executed only if exitonfail is not set to 'true'. -
Testing/Regression/FortranEtadot/runtimes_imp7.csv
r2d1c338 r14d9618 15 15 949379e, 'reference', 'latlonall_debug', 0m0.777s, 0m6.772s, 0m0.620s 16 16 949379e, 'reference', 'latlonall_fast', 0m0.687s, 0m7.064s, 0m0.196s 17 d90a529, 'reference', 'etadot_debug', 0m0.504s, 0m0.431s, 0m0.016s 18 d90a529, 'reference', 'etadot_fast', 0m0.442s, 0m0.529s, 0m0.017s 19 d90a529, 'reference', 'etadotall_debug', 0m0.576s, 0m0.603s, 0m0.048s 20 d90a529, 'reference', 'etadotall_fast', 0m0.604s, 0m0.673s, 0m0.028s 21 d90a529, 'reference', 'etadothigh_debug', 17m14.011s, 16m31.983s, 0m18.441s 22 d90a529, 'reference', 'etadothigh_fast', 17m23.426s, 16m31.624s, 0m21.645s 23 d90a529, 'reference', 'gauss_debug', 0m3.348s, 0m7.130s, 0m0.208s 24 d90a529, 'reference', 'gauss_fast', 0m2.403s, 0m5.028s, 0m0.156s 25 d90a529, 'reference', 'gaussall_debug', 0m12.126s, 0m28.251s, 0m0.648s 26 d90a529, 'reference', 'gaussall_fast', 0m9.868s, 0m23.323s, 0m0.880s 27 d90a529, 'reference', 'gausshigh_debug', 5m4.089s, 14m23.018s, 0m12.998s 28 d90a529, 'reference', 'gausshigh_fast', 4m48.049s, 13m11.227s, 0m16.318s 29 d90a529, 'reference', 'latlon_debug', 0m0.657s, 0m0.681s, 0m0.016s 30 d90a529, 'reference', 'latlon_fast', 0m0.485s, 0m0.563s, 0m0.004s 31 d90a529, 'reference', 'latlonall_debug', 0m0.544s, 0m0.613s, 0m0.012s 32 d90a529, 'reference', 'latlonall_fast', 0m0.534s, 0m0.620s, 0m0.020s
Note: See TracChangeset
for help on using the changeset viewer.