Skip to content
Snippets Groups Projects
Commit ea5bb1f1 authored by Thomas Jahns's avatar Thomas Jahns :cartwheel:
Browse files

Add MPI flags and feature attribute to JSON description.

parent cc62a19b
No related branches found
No related tags found
No related merge requests found
......@@ -30,6 +30,12 @@
"lib" : "@THREADS_LIBS@",
"include" : "@THREADS_INCLUDE@"
},
"mpi" : {
"libs" : "@MPI_C_LIB@",
"cflags" : "@MPI_C_INCLUDE@",
"fclibs" : "@MPI_FC_LIB@",
"fcflags" : "@MPI_FC_INCLUDE@"
},
"zlib" : {
"lib" : "@ZLIB_LIBS@",
"include" : "@ZLIB_INCLUDE@"
......@@ -62,6 +68,8 @@
"service" : "@ENABLE_SERVICE@",
"extra" : "@ENABLE_EXTRA@",
"ieg" : "@ENABLE_IEG@",
"enable_mpi" : @ENABLE_MPI@,
"parallel_nc4" : @HAVE_PARALLEL_NC4@,
"enable_python" : @ENABLE_PYTHON@,
"enable_ruby" : @ENABLE_RUBY@
}
......
......@@ -650,6 +650,7 @@ FC_MOD_FLAG
ENABLE_F2003_ISOC
CREATE_ISOC_FALSE
CREATE_ISOC_TRUE
ENABLE_MPI
USE_MPI
USE_PPM_CORE_FALSE
USE_PPM_CORE_TRUE
......@@ -28218,6 +28219,8 @@ else
fi
 
 
ENABLE_MPI=`test x"$enable_mpi" = xyes && echo true || echo false`
# ----------------------------------------------------------------------
# Create the Fortran Interface via iso_c_binding module (Fortran 2003 Standard)
# Check whether --enable-iso-c-interface was given.
......
......@@ -236,6 +236,7 @@ AC_SUBST([HAVE_PARALLEL_NC4])
AM_CONDITIONAL([USE_MPI],[test x"$USE_MPI" = xyes])
AM_CONDITIONAL([USE_PPM_CORE],[test $enable_ppm = yes])
AC_SUBST([USE_MPI])
AC_SUBST([ENABLE_MPI],[`test x"$enable_mpi" = xyes && echo true || echo false`])
# ----------------------------------------------------------------------
# Create the Fortran Interface via iso_c_binding module (Fortran 2003 Standard)
AC_ARG_ENABLE([iso-c-interface],
......
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