DAMASK_EICMD/code/compilation_info.f90

14 lines
541 B
Fortran
Raw Normal View History

2013-03-22 23:05:05 +05:30
!##############################################################
!$Id$
#ifdef __GFORTRAN__
2015-04-13 15:32:52 +05:30
write(6,*) 'Compiled with ', compiler_version() !not supported by and ifort <= 15 (and old gfortran)
write(6,*) 'With options ', compiler_options()
#endif
#ifdef __INTEL_COMPILER
write(6,'(a,i4.4,a,i8.8)') ' Compiled with Intel fortran version ', __INTEL_COMPILER,&
2015-04-13 15:32:52 +05:30
', build date ', __INTEL_COMPILER_BUILD_DATE
#endif
write(6,*) 'Compiled on ', __DATE__,' at ',__TIME__
write(6,*)
flush(6)