mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2024-12-02 23:35:37 +08:00
11 lines
417 B
Fortran
11 lines
417 B
Fortran
program mpi_ver
|
|
@MPI_Fortran_INCLUDE_LINE@
|
|
integer(kind=kind(MPI_VERSION)), parameter :: zero = ichar('0')
|
|
character, dimension(17), parameter :: mpiver_str =&
|
|
(/ 'I', 'N', 'F', 'O', ':', 'M', 'P', 'I', '-', 'V', 'E', 'R', '[', &
|
|
char(zero + MPI_VERSION), &
|
|
'.', &
|
|
char(zero + MPI_SUBVERSION), ']' /)
|
|
print *, mpiver_str
|
|
end program mpi_ver
|