OXIESEC PANEL
- Current Dir:
/
/
usr
/
share
/
cmake-3.10
/
Modules
/
FindMPI
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
10/28/2024 06:00:25 AM
rwxr-xr-x
📄
fortranparam_mpi.f90.in
192 bytes
01/18/2018 02:48:42 PM
rw-r--r--
📄
libver_mpi.c
341 bytes
01/18/2018 02:48:42 PM
rw-r--r--
📄
libver_mpi.f90.in
300 bytes
01/18/2018 02:48:42 PM
rw-r--r--
📄
mpiver.f90.in
407 bytes
01/18/2018 02:48:42 PM
rw-r--r--
📄
test_mpi.c
835 bytes
01/18/2018 02:48:42 PM
rw-r--r--
📄
test_mpi.f90.in
178 bytes
01/18/2018 02:48:42 PM
rw-r--r--
Editing: libver_mpi.c
Close
#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 }