1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-11-09 23:45:36 +00:00

Interactions with GPU compilation

This commit is contained in:
Peter Boyle 2019-07-11 03:16:17 +01:00
parent 44170cc15f
commit 966a203dcb

View File

@ -471,7 +471,9 @@ esac
case ${ac_COMMS} in
*-auto)
LX_FIND_MPI
## if test "x$have_CXX_mpi" = 'xno'; then AC_MSG_ERROR(["The configure could not find the MPI compilation flags. N.B. The -auto mode is not supported by Cray wrappers. Use the non -auto version in this case."]); fi
echo MPI_CXXFLAGS $MPI_CXXFLAGS
echo MPI_CXXLDFLAGS $MPI_CXXLDFLAGS
echo MPI_CFLAGS $MPI_CFLAGS
AM_CXXFLAGS="$MPI_CXXFLAGS $AM_CXXFLAGS"
AM_CFLAGS="$MPI_CFLAGS $AM_CFLAGS"
AM_LDFLAGS="`echo $MPI_CXXLDFLAGS | sed -E 's/-l@<:@^ @:>@+//g'` $AM_LDFLAGS"