Change the default compilation flags for the Intel Fortran compiler.
authorlangou <langou@users.noreply.github.com>
Mon, 25 Jan 2016 16:00:32 +0000 (16:00 +0000)
committerlangou <langou@users.noreply.github.com>
Mon, 25 Jan 2016 16:00:32 +0000 (16:00 +0000)
The LAPACK TESTING should run error free with these settings.

Previously were:
OPTS     = -O3
NOOPT    = -O3 -fltconsistency -fp_port
Now are:
OPTS     = -O3 -fp-model strict
NOOPT    = -O0 -fp-model strict

Thanks to Viswanathan Elumalai the University of Pittsburgh for reporting the
problem, Jason Riedy for suggesting to use the flags "fp-model strict" and Osni
Marques for playing with a lots of flag combinations!

INSTALL/make.inc.ifort

index 5fca5c47e5edb2e8a470affe532b7ab562d03330..9598e1a37b3de49de3a7ad098a33faedbd4d4e8c 100644 (file)
@@ -13,9 +13,9 @@ SHELL = /bin/sh
 #  and desired load options for your machine.
 #
 FORTRAN  = ifort
-OPTS     = -O3 
+OPTS     = -O3 -fp-model strict
 DRVOPTS  = $(OPTS)
-NOOPT    = -O3 -fltconsistency -fp_port 
+NOOPT    = -O0 -fp-model strict
 LOADER   = ifort
 LOADOPTS = 
 #