Is there any way to detect and output the Intel compiler version in ifort code (similar to the way you can get the MKL version using mkl_get_version_string)?
Eventually we will support the Fortran 2008 COMPILER_VERSION module intrinsic function. For now there's the preprocessor variable __INTEL_COMPILER which will have a value of the form 1700 (for 17.0). You will need to enable the /fpp option to use these. See the documentation topic "Preprocessor symbols > predefined" for more info.