Fix XLF flags that were causing test zgg to hang
authorjulie <julielangou@users.noreply.github.com>
Fri, 20 Apr 2012 19:08:58 +0000 (19:08 +0000)
committerjulie <julielangou@users.noreply.github.com>
Fri, 20 Apr 2012 19:08:58 +0000 (19:08 +0000)
CMakeLists.txt
INSTALL/make.inc.XLF

index 3194c6ea018b39d4e9a4733ca6101c7ecf02efbf..f8489722ea300f016178e49ebe757368417550c6 100644 (file)
@@ -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
index 56b3ac9b39030594db19c34bb0cefa57431c05fd..903dc2fe217f830d9419d7998d4d9a754d85a5b4 100644 (file)
@@ -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