compiler_version
returns a string with the name and the version of the compiler.
Inquiry function of the module iso_fortran_env
str = compiler_version()
None.
The return value is a default-kind string with system-dependent length. It contains the name of the compiler and its version number.
use iso_fortran_env
print '(4a)', 'This file was compiled by ', &
compiler_version(), ' using the options ', &
compiler_options()
end
compiler_options, iso_fortran_env