[cig-commits] [commit] devel: commented out the "compile a trivial MPI program" test, which is not needed and which makes "configure" crash on several machines (007beb3)

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Mon Apr 21 18:09:47 PDT 2014


Repository : ssh://geoshell/specfem3d

On branch  : devel
Link       : https://github.com/geodynamics/specfem3d/compare/0a40b72d8474d662c3fda4f473c1feec4f65bdad...6405469307ca0a824c4e85db0233642c7e4f9037

>---------------------------------------------------------------

commit 007beb39dd216e408c02f12d4d550ed2b3e81d5f
Author: Dimitri Komatitsch <komatitsch at lma.cnrs-mrs.fr>
Date:   Tue Apr 22 03:08:46 2014 +0200

    commented out the "compile a trivial MPI program" test, which is not needed and which makes "configure" crash on several machines


>---------------------------------------------------------------

007beb39dd216e408c02f12d4d550ed2b3e81d5f
 configure    | 8 ++++----
 configure.ac | 6 +++---
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/configure b/configure
index 6a03675..4ffdb17 100755
--- a/configure
+++ b/configure
@@ -7314,10 +7314,10 @@ else
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 $as_echo "no" >&6; }
 
-        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error $? "cannot compile a trivial MPI program using $MPIFC
-See \`config.log' for more details" "$LINENO" 5; }
+#         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+# $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+# as_fn_error $? "cannot compile a trivial MPI program using $MPIFC
+# See \`config.log' for more details" "$LINENO" 5; }
 
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
diff --git a/configure.ac b/configure.ac
index dacb331..9adcad4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -351,9 +351,9 @@ AC_SUBST([FC_MODDIR])
 
 if test "$want_mpi" = yes; then
     AS_BOX([MPI])
-    CIT_FC_MPI_MODULE([mpif.h], [$MPIFC], [$FLAGS_CHECK], [:], [
-        AC_MSG_FAILURE([cannot compile a trivial MPI program using $MPIFC])
-    ])
+#     CIT_FC_MPI_MODULE([mpif.h], [$MPIFC], [$FLAGS_CHECK], [:], [
+#         AC_MSG_FAILURE([cannot compile a trivial MPI program using $MPIFC])
+#     ])
     CIT_MPI_INCDIR([$MPIFC])
 fi
 



More information about the CIG-COMMITS mailing list