Skip to content
Snippets Groups Projects
Commit e1013823 authored by Giovanni La Mura's avatar Giovanni La Mura
Browse files

Add USE_MPI compilation flag when MPI is enabled

parent 7dd41ecf
No related branches found
No related tags found
No related merge requests found
......@@ -274,6 +274,7 @@ AC_ARG_ENABLE(
[
AC_MSG_NOTICE([Handling implicit option.])
AX_PROG_CXX_MPI()
AC_SUBST([MPIFLAGS], [-DUSE_MPI])
]
)
AS_IF(
......@@ -378,7 +379,7 @@ AC_ARG_WITH(
)
FFLAGS="-std=legacy -O3"
CXXFLAGS="-O3 -ggdb -Wno-format-contains-nul -I$HDF5_INCLUDE $OMPFLAGS $LAPACKFLAGS $MAGMAFLAGS"
CXXFLAGS="-O3 -ggdb -Wno-format-contains-nul -I$HDF5_INCLUDE $MPIFLAGS $OMPFLAGS $LAPACKFLAGS $MAGMAFLAGS"
SUBDIRS="cluster libnptm sphere testing trapping"
# Send output to Makefiles
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment