From f5ad5058f76df5d4cfcb67cb76a3902770b71a32 Mon Sep 17 00:00:00 2001 From: julie Date: Fri, 20 Apr 2012 19:08:58 +0000 Subject: Fix XLF flags that were causing test zgg to hang --- CMakeLists.txt | 2 +- INSTALL/make.inc.XLF | 3 ++- 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 -- cgit v1.2.3