zdoom-macos-deps/deps/cmake/share/cmake-3.25/Modules/FindMPI/libver_mpi.f90.in

8 lines
300 B
Fortran
Raw Normal View History

2021-07-25 09:55:31 +00:00
program mpi_ver
@MPI_Fortran_INCLUDE_LINE@
character(len=MPI_MAX_LIBRARY_VERSION_STRING) :: mpilibver_str
integer(kind=MPI_INTEGER_KIND) :: ierror, reslen
call MPI_GET_LIBRARY_VERSION(mpilibver_str, reslen, ierror)
print *, mpilibver_str
end program mpi_ver