[cig-commits] [commit] devel: updates m4/ and configuration script (fixes configuration with CUDA and intel ifort compilers) (9068773)

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Sat Oct 18 04:27:10 PDT 2014


Repository : https://github.com/geodynamics/specfem3d

On branch  : devel
Link       : https://github.com/geodynamics/specfem3d/compare/15e76931c9ff7422f3594346aecc63381ba69c42...fdc626e9da99e7f24f070e328aecaf9aad758f8d

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

commit 9068773e7fec45843feb619086b958952580f524
Author: daniel peter <peterda at ethz.ch>
Date:   Sat Oct 18 11:34:45 2014 +0200

    updates m4/ and configuration script (fixes configuration with CUDA and intel ifort compilers)


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

9068773e7fec45843feb619086b958952580f524
 configure | 5 +++--
 m4        | 2 +-
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/configure b/configure
index 3b53049..7587d6f 100755
--- a/configure
+++ b/configure
@@ -7436,9 +7436,10 @@ rm -f core conftest.err conftest.$ac_objext \
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking linking with cudaMalloc in -lcudart" >&5
 $as_echo_n "checking linking with cudaMalloc in -lcudart... " >&6; }
   # C compiler linking
-  #ac_link='$NVCC -c $CFLAGS conftest.$ac_ext >&5; $CC -o conftest$ac_exeext $LDFLAGS conftest.$ac_objext $LIBS >&5'
+  ac_link='$NVCC -c $CFLAGS conftest.$ac_ext >&5; $CC -o conftest$ac_exeext $LDFLAGS conftest.$ac_objext $LIBS >&5'
   # Fortran compiler linking
-  ac_link='$NVCC -c $CFLAGS conftest.$ac_ext >&5; $FC -o conftest$ac_exeext $LDFLAGS conftest.$ac_objext $LIBS >&5'
+  # note: fortran linking with ifort would need -nofor-main to succeed
+  #ac_link='$NVCC -c $CFLAGS conftest.$ac_ext >&5; $FC -o conftest$ac_exeext $LDFLAGS conftest.$ac_objext $LIBS >&5'
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
diff --git a/m4 b/m4
index ba14abf..2f5d95b 160000
--- a/m4
+++ b/m4
@@ -1 +1 @@
-Subproject commit ba14abf73197b78e13d1a155a8f84ceb1d7be3e4
+Subproject commit 2f5d95b32cea24be622a943d2b434501a9c683db



More information about the CIG-COMMITS mailing list