3 use iso_fortran_env,
only: compiler_options, compiler_version
24 character(len=LENBIGLINE),
intent(inout) :: txt
29 c_date = __date__//
' '//__time__
31 #ifdef __INTEL_COMPILER
33 c_date = __date__//
' '//__time__
37 c_date = __date__//
' '//__time__
44 c_date =
'??? ?? ???? ??:??:??'
48 write (txt,
'(a,3(1x,a))') &
49 'MODFLOW 6 compiled', trim(adjustl(
c_date)), &
50 'with', trim(adjustl(compiler_version()))
60 character(len=20),
intent(inout) :: txt
63 c_date = __date__//
' '//__time__
65 #ifdef __INTEL_COMPILER
66 c_date = __date__//
' '//__time__
69 c_date = __date__//
' '//__time__
73 write (txt,
'(a)') trim(adjustl(
c_date))
83 character(len=LENBIGLINE),
intent(inout) :: txt
88 'MODFLOW 6 compiler options:'//
' '//trim(adjustl(compiler_options()))
character(len=20) c_date
compilation date
character(len=10) c_compiler
compiler string
subroutine, public get_compiler(txt)
@ brief Get compiler information
integer(i4b) icompiler
compiler enum
subroutine, public get_compile_options(txt)
@ brief Get compilation options
character(len=10) c_version
compiler version string
subroutine, public get_compile_date(txt)
@ brief Get compilation date
This module contains simulation constants.
integer(i4b), parameter lenbigline
maximum length of a big line
@ cunknown
unknown compiler
@ cgfortran
gfortran compiler
@ ccrayftn
cray fortran compiler
@ cintel
intel ifort compiler
This module defines variable data types.