:78 Function create_function() is deprecated [8192]

Add debug symbols to the optimized version too.

Bruno Mundim [2017-01-23 17:03:12]
Add debug symbols to the optimized version too.
Filename
lib/Makefile
lib/Makefile.xlf_O3
src/makefiles/Makefile.xlf2003_serial_O3
diff --git a/lib/Makefile b/lib/Makefile
index 3e0ba0c..e95d160 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -1,6 +1,6 @@
 FC      = xlf_r -c
 #FC      = ifort -c
-FCFLAGS = -O3 -q64 -qarch=pwr7 -qtune=pwr7
+FCFLAGS = -O3 -g -q64 -qarch=pwr7 -qtune=pwr7

 SHRLD    = xlf_r
 SHRFLAGS = -qpic
diff --git a/lib/Makefile.xlf_O3 b/lib/Makefile.xlf_O3
index 3e0ba0c..e95d160 100644
--- a/lib/Makefile.xlf_O3
+++ b/lib/Makefile.xlf_O3
@@ -1,6 +1,6 @@
 FC      = xlf_r -c
 #FC      = ifort -c
-FCFLAGS = -O3 -q64 -qarch=pwr7 -qtune=pwr7
+FCFLAGS = -O3 -g -q64 -qarch=pwr7 -qtune=pwr7

 SHRLD    = xlf_r
 SHRFLAGS = -qpic
diff --git a/src/makefiles/Makefile.xlf2003_serial_O3 b/src/makefiles/Makefile.xlf2003_serial_O3
index c37ea04..9290f55 100644
--- a/src/makefiles/Makefile.xlf2003_serial_O3
+++ b/src/makefiles/Makefile.xlf2003_serial_O3
@@ -27,7 +27,7 @@ SUFFIX   = xlf2003_serial_optimized
 FC       = xlf2003_r -c
 LD       = xlf2003_r
 DEBUG    = # -g -warn all -check bounds
-FCFLAGS  = -O3 -q64 -qarch=pwr7 -qtune=pwr7 $(DEBUG)
+FCFLAGS  = -O3 -g -q64 -qarch=pwr7 -qtune=pwr7 $(DEBUG)
 LDFLAGS  = $(DEBUG)
 NUMLIB   = -L$(SCINET_LAPACK_LIB) -q64 -lessl -llapack -lrefblas
ViewGit