X-Git-Url: http://mmka.chem.univ.gda.pl/gitweb/?a=blobdiff_plain;f=ctest%2Fprota_unres_energy_check_mult.sh;h=565675a249a4c7ca32ad8b0eb9ff5c9346855894;hb=da1552041e34e20b5bebe76e13d9f8717fcc8914;hp=c7363d61b0e2bb6773dcbf8ed6b330bfeebe1133;hpb=ed4fb866872e888d13720659f0348931479ebd0a;p=unres.git diff --git a/ctest/prota_unres_energy_check_mult.sh b/ctest/prota_unres_energy_check_mult.sh index c7363d6..565675a 100755 --- a/ctest/prota_unres_energy_check_mult.sh +++ b/ctest/prota_unres_energy_check_mult.sh @@ -21,7 +21,7 @@ if [ "$1" == "prota_ENE_m" ]; then cutoffdiff="0.01" # energy cutoff variation - more then this rises warning elif [ "$1" == "prota_MIN_CART" ]; then extremediff="10.0" # extreme energy difference, comething went terribly wrong - expectenergy="158.3680" # - expected total energy + expectenergy="158.7321" # - expected total energy cutoffdiff="0.1" # energy cutoff variation - more then this rises warning sumsl_return=`grep SUMSL $file|awk '{print $4}'` @@ -150,7 +150,7 @@ elif [ "$1" == "1DKZcut-lang" ]; then elif [ "$1" == "1DKZcut-min" ]; then extremediff="10.0" # extreme energy difference, comething went terribly wrong - expectenergy="332.1213" # - expected total energy + expectenergy="323.6931" # - expected total energy cutoffdiff="3.0" # energy cutoff variation - more then this rises warning sumsl_return=`grep SUMSL $file|awk '{print $4}'` @@ -163,7 +163,7 @@ elif [ "$1" == "1DKZcut-min" ]; then elif [ "$1" == "1DKZcut-ene" ]; then extremediff="10000.0" # extreme energy difference, comething went terribly wrong - expectenergy="-452.4430" # - expected total energy + expectenergy="-443.2674" # - expected total energy cutoffdiff="0.01" # energy cutoff variation - more then this rises warning elif [ "$1" == "1DKZcut-micro" ]; then @@ -207,7 +207,7 @@ elif [ "$1" == "prota_CHECKGRAD" ] || [ "$1" == "1DKZcut-checkgrad" ] || [ "$1" diff=`gawk -f checkgrad.awk $file |grep 'Largest abs(1-numerical/analytical)='|awk '{printf "%15.10f",$3}'` gawk -f checkgrad.awk $file - if [ `echo "a=${diff};a>0.0003"|bc -l` != "0" ]; then + if [ `echo "a=${diff};a>0.0005"|bc -l` != "0" ]; then echo 'ERROR largest abs(1-numerical/analytical)' ${diff} echo ' greater than 0.0005' exit 1