[cig-commits] r22964 - seismo/3D/SPECFEM3D/trunk

elliott.sales.de.andrade at geodynamics.org elliott.sales.de.andrade at geodynamics.org
Fri Oct 18 18:10:22 PDT 2013


Author: elliott.sales.de.andrade
Date: 2013-10-18 18:10:22 -0700 (Fri, 18 Oct 2013)
New Revision: 22964

Modified:
   seismo/3D/SPECFEM3D/trunk/configure
   seismo/3D/SPECFEM3D/trunk/configure.ac
Log:
build: Fix MPI header autodetection.

I changed CIT_MPI_INCDIR to take the compiler as a parameter, but forgot
to update SPECFEM3D (non-GLOBE) for the change.

Modified: seismo/3D/SPECFEM3D/trunk/configure
===================================================================
--- seismo/3D/SPECFEM3D/trunk/configure	2013-10-17 00:08:30 UTC (rev 22963)
+++ seismo/3D/SPECFEM3D/trunk/configure	2013-10-19 01:10:22 UTC (rev 22964)
@@ -7923,7 +7923,7 @@
   CPPFLAGS_save="$CPPFLAGS"
 
   if test "x$MPI_INC" = "x"; then
-    MPI_INC=` -showme:incdirs`
+    MPI_INC=`$MPIFC -showme:incdirs`
   fi
   if test "x$MPI_INC" != "x"; then
         for i in $MPI_INC

Modified: seismo/3D/SPECFEM3D/trunk/configure.ac
===================================================================
--- seismo/3D/SPECFEM3D/trunk/configure.ac	2013-10-17 00:08:30 UTC (rev 22963)
+++ seismo/3D/SPECFEM3D/trunk/configure.ac	2013-10-19 01:10:22 UTC (rev 22964)
@@ -451,7 +451,7 @@
 
 if test "$want_cuda" = yes; then
     CIT_CUDA_CONFIG
-    CIT_MPI_INCDIR
+    CIT_MPI_INCDIR([$MPIFC])
 fi
 
 if test "$want_openmp" = yes; then



More information about the CIG-COMMITS mailing list