diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2018-03-09 18:31:58 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2018-03-09 18:32:06 (GMT) |
commit | 24c62ba7fefcd48cafec79385011cbd89be5d182 (patch) | |
tree | 798f2c628b33555c6109d1683d7e6b4f58279e0f /config/cmake_ext_mod/FindMPI/libver_mpi.c | |
parent | 2a5d608f7bf5f99fb61898a331fde2ccc170117e (diff) | |
download | hdf5-24c62ba7fefcd48cafec79385011cbd89be5d182.zip hdf5-24c62ba7fefcd48cafec79385011cbd89be5d182.tar.gz hdf5-24c62ba7fefcd48cafec79385011cbd89be5d182.tar.bz2 |
Change CMake min to 3.10
Diffstat (limited to 'config/cmake_ext_mod/FindMPI/libver_mpi.c')
-rw-r--r-- | config/cmake_ext_mod/FindMPI/libver_mpi.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/config/cmake_ext_mod/FindMPI/libver_mpi.c b/config/cmake_ext_mod/FindMPI/libver_mpi.c deleted file mode 100644 index be9d19d..0000000 --- a/config/cmake_ext_mod/FindMPI/libver_mpi.c +++ /dev/null @@ -1,19 +0,0 @@ -#include <mpi.h> - -#ifdef __cplusplus -#include <cstdio> -#else -#include <stdio.h> -#endif - -int main(int argc, char* argv[]) -{ - char mpilibver_str[MPI_MAX_LIBRARY_VERSION_STRING]; - int mpilibver_len; - MPI_Get_library_version(mpilibver_str, &mpilibver_len); -#ifdef __cplusplus - std::puts(mpilibver_str); -#else - puts(mpilibver_str); -#endif -} |