summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjulie <julielangou@users.noreply.github.com>2012-04-20 19:08:58 +0000
committerjulie <julielangou@users.noreply.github.com>2012-04-20 19:08:58 +0000
commitf5ad5058f76df5d4cfcb67cb76a3902770b71a32 (patch)
treec96766f26a550e74c260b1269e2701e273a8c8c4
parent73697fcf866e86cac63389661012920f5064a39b (diff)
downloadlapack-f5ad5058f76df5d4cfcb67cb76a3902770b71a32.tar.gz
lapack-f5ad5058f76df5d4cfcb67cb76a3902770b71a32.tar.bz2
lapack-f5ad5058f76df5d4cfcb67cb76a3902770b71a32.zip
Fix XLF flags that were causing test zgg to hang
-rw-r--r--CMakeLists.txt2
-rw-r--r--INSTALL/make.inc.XLF3
2 files changed, 3 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3194c6ea..f8489722 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -16,7 +16,7 @@ if (UNIX)
set( CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -fltconsistency -fp_port" )
endif ()
if ( "${CMAKE_Fortran_COMPILER}" MATCHES "xlf" )
- set( CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -qnosave" )
+ set( CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -qnosave -qstrict=none" )
endif ()
# Delete libmtsk in linking sequence for Sun/Oracle Fortran Compiler.
# This library is not present in the Sun package SolarisStudio12.3-linux-x86-bin
diff --git a/INSTALL/make.inc.XLF b/INSTALL/make.inc.XLF
index 56b3ac9b..903dc2fe 100644
--- a/INSTALL/make.inc.XLF
+++ b/INSTALL/make.inc.XLF
@@ -13,7 +13,8 @@ SHELL = /bin/sh
# desired load options for your machine.
#
FORTRAN = xlf
-OPTS = -O2 -qfixed -qnosave
+OPTS = -O3 -qfixed -qnosave
+# For -O2, add -qstrict=none
DRVOPTS = $(OPTS)
NOOPT = -O0 -qfixed -qnosave
LOADER = xlf