[cig-commits] r21402 - in seismo/3D/SPECFEM3D_GLOBE/trunk: . doc/USER_MANUAL
elliott.sales.de.andrade at geodynamics.org
elliott.sales.de.andrade at geodynamics.org
Mon Feb 25 23:38:03 PST 2013
Author: elliott.sales.de.andrade
Date: 2013-02-25 23:38:03 -0800 (Mon, 25 Feb 2013)
New Revision: 21402
Modified:
seismo/3D/SPECFEM3D_GLOBE/trunk/doc/USER_MANUAL/manual_SPECFEM3D_GLOBE.pdf
seismo/3D/SPECFEM3D_GLOBE/trunk/doc/USER_MANUAL/manual_SPECFEM3D_GLOBE.tex
seismo/3D/SPECFEM3D_GLOBE/trunk/flags.guess
Log:
Remove references to AR, ARFLAGS, and RANLIB.
These aren't used by the Makefiles with the non-recursive build and so
don't need to be modified.
Modified: seismo/3D/SPECFEM3D_GLOBE/trunk/doc/USER_MANUAL/manual_SPECFEM3D_GLOBE.pdf
===================================================================
(Binary files differ)
Modified: seismo/3D/SPECFEM3D_GLOBE/trunk/doc/USER_MANUAL/manual_SPECFEM3D_GLOBE.tex
===================================================================
--- seismo/3D/SPECFEM3D_GLOBE/trunk/doc/USER_MANUAL/manual_SPECFEM3D_GLOBE.tex 2013-02-26 07:37:53 UTC (rev 21401)
+++ seismo/3D/SPECFEM3D_GLOBE/trunk/doc/USER_MANUAL/manual_SPECFEM3D_GLOBE.tex 2013-02-26 07:38:03 UTC (rev 21402)
@@ -435,15 +435,12 @@
On the contrary, on some BlueGene systems that use the native AIX linker option "-Wl,-relax" can lead to problems and must be suppressed from \texttt{flags.guess}.
\noindent
-Also, \texttt{AR=ar, ARFLAGS=cru} and \texttt{RANLIB=ranlib} are hardwired in all \texttt{Makefile.in} files by default, but to cross-compile on BlueGene/P one needs to change
-these values to \texttt{AR=bgar, ARFLAGS=cru} and \texttt{RANLIB=bgranlib}. Thus the easiest thing to do is to modify
-all \texttt{Makefile.in} files and the \texttt{configure} script to set them automatically by \texttt{configure}.
One then just needs to pass the right commands to the \texttt{configure} script:
\noindent
\texttt{ ./configure --prefix=/path/to/SPECFEM3DG\_SP --host=Babel --build=BGP \\}
-\texttt{ FC=bgxlf90\_r MPIFC=mpixlf90\_r CC=bgxlc\_r AR=bgar ARFLAGS=cru \\}
-\texttt{ RANLIB=bgranlib LOCAL\_PATH\_IS\_ALSO\_GLOBAL=false}
+\texttt{ FC=bgxlf90\_r MPIFC=mpixlf90\_r CC=bgxlc\_r \\}
+\texttt{ LOCAL\_PATH\_IS\_ALSO\_GLOBAL=false}
\noindent
This trick can be useful for all hosts on which one needs to cross-compile.
Modified: seismo/3D/SPECFEM3D_GLOBE/trunk/flags.guess
===================================================================
--- seismo/3D/SPECFEM3D_GLOBE/trunk/flags.guess 2013-02-26 07:37:53 UTC (rev 21401)
+++ seismo/3D/SPECFEM3D_GLOBE/trunk/flags.guess 2013-02-26 07:38:03 UTC (rev 21402)
@@ -179,14 +179,4 @@
echo FLAGS_CHECK=\"$FLAGS_CHECK\" | sed 's/\$/\\\$/g'
echo FCENV=\"$FCENV\" | sed 's/\$/\\\$/g'
-# Added by IDRIS: set to default values if not passed as arguments
-if [ "X${AR}" == "X" ]; then AR="ar"; fi
-if [ "X${RANLIB}" == "X" ]; then RANLIB="ranlib"; fi
-if [ "X${ARFLAGS}" == "X" ]; then ARFLAGS="cru"; fi
-
-# Added by IDRIS to crosscompile on BlueGene/P
-echo AR=\"$AR\" | sed 's/\$/\\\$/g'
-echo ARFLAGS=\"$ARFLAGS\" | sed 's/\$/\\\$/g'
-echo RANLIB=\"$RANLIB\" | sed 's/\$/\\\$/g'
-
# end of file
More information about the CIG-COMMITS
mailing list