[cig-commits] r15885 - in seismo/3D/ADJOINT_TOMO/flexwin: . ttimes_mod
carltape at geodynamics.org
carltape at geodynamics.org
Tue Oct 27 13:34:32 PDT 2009
Author: carltape
Date: 2009-10-27 13:34:31 -0700 (Tue, 27 Oct 2009)
New Revision: 15885
Modified:
seismo/3D/ADJOINT_TOMO/flexwin/README
seismo/3D/ADJOINT_TOMO/flexwin/make_gfortran
seismo/3D/ADJOINT_TOMO/flexwin/ttimes_mod/make_gfortran
Log:
Removed -m32 flag from Makefile, since we no longer need to compile 32-bit libraries for SAC. Tested using SAC 101.3b (August 2009 version) and with gfortran 4.3.3. Using older versions of SAC, one will need to add the -m32, as indicated in the README.
Modified: seismo/3D/ADJOINT_TOMO/flexwin/README
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/README 2009-10-27 18:11:55 UTC (rev 15884)
+++ seismo/3D/ADJOINT_TOMO/flexwin/README 2009-10-27 20:34:31 UTC (rev 15885)
@@ -27,7 +27,7 @@
FLEXWIN requires the following libraries external to the package in order to
compile and run: libsacio.a and libsac.a. Both libraries
are distributed by IRIS as part of the SAC package (version 101.2 and above).
-The IRIS download site (as of 18-May-2009) is here:
+The IRIS download site (as of 27-Oct-2009) is here:
http://www.iris.edu/software/sac/sac.request.htm
(To check your version, type sac.)
@@ -35,17 +35,17 @@
make_gfortran makefiles with only minor modifications (notably you may need to
change the search path for the libsacio.a library). If you prefer another
compiler, you should modify the OPT and FC lines in the makefiles accordingly.
-We tested using gfortran version 4.1.2
+We tested using gfortran version 4.3.3
(To check your version, type "gfortran --version".)
The makefile requires GNU make.
-IMPORTANT NOTE: All the code is compiled with the -m32 option, which makes
-32bit binaries. This option is currently required to enable compatibility with
-SAC. Future versions of the SAC distribution may no longer require this
-compatibility flag.
+IMPORTANT NOTE: The default setting assume a 64-bit operating system,
+compatible with SAC 101.3b (August 2009) and higher.
+For older SAC versions, you must have the -m32 option, which makes
+32bit binaries. In particular
+ OPT=-m32 -Wall -- make_gfortran
+ OPT=-m32 -- ttimes_mod/make_gfortran
-21-MAY-2009: CHT successfully compiled and ran FLEXWIN WITHOUT the -m32 option using a beta version of 64-bit SAC (101.3) with gfortran 4.3.3 on Ubuntu Linux.
-
Steps to compile the flexwin package:
(1) Compile libtau.a and create iasp91.hed and iasp91.tbl. In the
Modified: seismo/3D/ADJOINT_TOMO/flexwin/make_gfortran
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/make_gfortran 2009-10-27 18:11:55 UTC (rev 15884)
+++ seismo/3D/ADJOINT_TOMO/flexwin/make_gfortran 2009-10-27 20:34:31 UTC (rev 15885)
@@ -1,4 +1,4 @@
-OPT= -m32 -Wall
+OPT= -Wall
FC = gfortran
CFLAGS= ${OPT}
Modified: seismo/3D/ADJOINT_TOMO/flexwin/ttimes_mod/make_gfortran
===================================================================
--- seismo/3D/ADJOINT_TOMO/flexwin/ttimes_mod/make_gfortran 2009-10-27 18:11:55 UTC (rev 15884)
+++ seismo/3D/ADJOINT_TOMO/flexwin/ttimes_mod/make_gfortran 2009-10-27 20:34:31 UTC (rev 15885)
@@ -1,4 +1,4 @@
-OPT=-m32
+OPT=
FC=gfortran
FFLAGS=$(OPT)
More information about the CIG-COMMITS
mailing list