[cig-commits] [commit] devel: Amend flags.guess for the xlf compiler. Some values are antiquated (-Q...) and some would possibly work on linux (or BG) but not on AIX. (a5d1c3e)
cig_noreply at geodynamics.org
cig_noreply at geodynamics.org
Thu Jan 15 03:11:44 PST 2015
Repository : https://github.com/geodynamics/specfem3d
On branch : devel
Link : https://github.com/geodynamics/specfem3d/compare/762b68989ea35516b8100bcbf48075487525dd17...a5d1c3e764d2ff278509c9003e6ef0234e2e7cfe
>---------------------------------------------------------------
commit a5d1c3e764d2ff278509c9003e6ef0234e2e7cfe
Author: François Bissey <francois.bissey at canterbury.ac.nz>
Date: Thu Jan 15 14:33:45 2015 +1300
Amend flags.guess for the xlf compiler. Some values are antiquated (-Q...) and some would possibly work on linux (or BG) but not on
AIX.
>---------------------------------------------------------------
a5d1c3e764d2ff278509c9003e6ef0234e2e7cfe
flags.guess | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/flags.guess b/flags.guess
index 81a434c..ace5e1f 100644
--- a/flags.guess
+++ b/flags.guess
@@ -179,6 +179,9 @@ case $my_FC in
# when encountering errors: ...relocation truncated to fit: R_PPC_LOCAL24PC...
# one should also use additional flags:
# CFLAGS = -Wl,-relax
+ # Note that the above message would only occur on a linux machine not on AIX.
+ # "relax" is not an option for the AIX linker and is interpreted in ways that will
+ # in binaries that are not executable.
#
# deleted -qxflag=dvz because it requires handler function __xl_dzx and thus linking will fail.
#
@@ -186,7 +189,7 @@ case $my_FC in
# other compilers. There is a small decrease in performance, but generally
# it is small or negligible compared to other issues like slow I/O.
DEF_FFLAGS="-qassert=contig -qhot -q64 -qtune=auto -qarch=auto -qcache=auto -qfree=f90 -qsuffix=f=f90 -qhalt=w -qlanglvl=2003std -g -qsuppress=1518-234 -qsuppress=1518-317 -qsuppress=1518-318 -qsuppress=1500-036"
- OPT_FFLAGS="-O4 -qstrict -Q -Q+rank,swap_all -Wl,-relax"
+ OPT_FFLAGS="-O4 -qstrict"
# Options -qreport -qsource -qlist create a *.lst file containing detailed information about vectorization.
DEBUG_FFLAGS="-g -O0 -C -qddim -qfullpath -qflttrap=overflow:zerodivide:invalid:enable -qfloat=nans -qinitauto=7FBFFFFF"
#
More information about the CIG-COMMITS
mailing list