Skip to content

Commit

Permalink
Merge pull request #305 from drroe/intel_math
Browse files Browse the repository at this point in the history
Flags to avoid some math issues from aggressive optimizaitons from Intel compilers
  • Loading branch information
drroe committed Apr 25, 2016
2 parents c94db0f + 48ecf71 commit ed500eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion configure
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ SetCompilerOptions() {
if [ -z "$CC" ]; then CC=icc; fi
if [ -z "$CXX" ]; then CXX=icpc; fi
if [ -z "$FC" ]; then FC=ifort; fi
OPTFLAGS="-O3 -Wall"
OPTFLAGS="-O3 -Wall -fp-model precise -fp-model source"
OMPFLAGS="-openmp"
FFLAGS="-FR"
FOPTFLAGS="-ip -O3"
Expand Down
2 changes: 1 addition & 1 deletion test/Test_CurveFit/RunTest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ runanalysis curvefit Data.dat nexp 2 name PKFitY form mexpk_penalty \
EOF
RunCpptraj "Curve fitting multi-exponential tests."
DoTest curve.dat.save curve1.dat
DoTest Kcurve.dat.save Kcurve.dat -r 0.0002
DoTest Kcurve.dat.save Kcurve.dat -r 0.0009
# Differences in windows seem like round-off
DoTest PKcurve.dat.save PKcurve.dat -r 0.0003
DoTest Results.dat.save Results.dat -r 0.006
Expand Down

0 comments on commit ed500eb

Please sign in to comment.