[CIG-SEISMO] XLF flags patch ...

Peter Danecek danecek at bo.ingv.it
Fri May 20 09:20:46 PDT 2011


Hi Daniel!
(CC Irene)

Here a small patch to flags.guess, for the new release V 5.1.1 of  
SPECFEM_GLOBE. With a XLF compiler the package will not compile out of  
the box. The removed flag requires a user supplied handler routine,  
which is not part of the package. By the way, the same issue applies  
to the SPECFEM3D_V2.0.0 as well.

tested on version:
IBM XL Fortran for AIX, V13.1 (5724-X15)
Version: 13.01.0000.0004

In case this is not the way to supply patches, just let me know!

Best regards,
~petr

---------------------------------------------------------
Peter Danecek, PhD -- Ricercatore
Istituto Nazionale di Geofisica e Vulcanologia (INGV)
Sezione di Bologna
via Donato Creti, 12, I-40128 Bologna

tel: (+39) 051 4151-458
fax: (+39) 051 4151-499
---------------------------------------------------------


--- snip ---

--- flags.guess.orig	2011-03-31 18:02:21.000000000 +0200
+++ flags.guess	2011-05-20 18:08:55.000000000 +0200
@@ -177,7 +177,11 @@
          #
          if test x"$FLAGS_NO_CHECK" = x; then
              #FLAGS_NO_CHECK="-O3 -qsave -qstrict -q64 -qtune=auto - 
qarch=auto -qcache=auto -qfree=f90 -qsuffix=f=f90 -qhalt=w - 
qlanglvl=2003pure -qxlf2003=nooldnaninf - 
qflttrap=overflow:zerodivide:invalid:enable -qsigtrap=xl__trcedump - 
qxflag=dvz -qfloat=nans -qinitauto=7FBFFFFF -Q -Q+rank,swap_all"
-            FLAGS_NO_CHECK="-O3 -qsave -qstrict -q64 -qtune=auto - 
qarch=auto -qcache=auto -qfree=f90 -qsuffix=f=f90 -qhalt=w - 
qlanglvl=95pure -qflttrap=overflow:zerodivide:invalid:enable - 
qsigtrap=xl__trcedump -qxflag=dvz -qfloat=nans -qinitauto=7FBFFFFF -Q - 
Q+rank,swap_all"
+	    #
+	    # 2011-05-17, petr
+	    # deleted -qxflag=dvz, requires handler function __xl_dzx,  
linking will fail
+	    #
+            FLAGS_NO_CHECK="-O3 -qsave -qstrict -q64 -qtune=auto - 
qarch=auto -qcache=auto -qfree=f90 -qsuffix=f=f90 -qhalt=w - 
qlanglvl=95pure -qflttrap=overflow:zerodivide:invalid:enable - 
qsigtrap=xl__trcedump -qfloat=nans -qinitauto=7FBFFFFF -Q -Q 
+rank,swap_all"
          #
          # to debug with IBM xlf, add this: -g -O0 -C -qddim -qfullpath
          #

--- snap ---





More information about the CIG-SEISMO mailing list