Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
libcdi
Commits
ea5bb1f1
Commit
ea5bb1f1
authored
Mar 25, 2015
by
Thomas Jahns
🤸
Browse files
Add MPI flags and feature attribute to JSON description.
parent
cc62a19b
Changes
3
Hide whitespace changes
Inline
Side-by-side
cdi.settings.in
View file @
ea5bb1f1
...
...
@@ -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@
}
...
...
configure
View file @
ea5bb1f1
...
...
@@ -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.
...
...
configure.ac
View file @
ea5bb1f1
...
...
@@ -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],
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment