Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29002 Discussions

Multiple Intel Visual Fortran Compilers

ytahilia
Beginner
344 Views

Hello All,
I am naive at this. Hence don't be surprised if my question is too naive. I would like to know in case we have multiple fortran compilers on my system, is there a way to know which compilers are being used by the software.
- ytahilia

0 Kudos
2 Replies
Les_Neilson
Valued Contributor II
344 Views
Presumablyyou mean from within Visual Studio
Click on Tools -> Options -> Intel Visual Fortran -> Compilersand this will show which compiler is currently selected.

Les
0 Kudos
mecej4
Honored Contributor III
344 Views
The answer depends on what you mean by "the software". At compile time, you determine which compiler is used, whether you set up the environment and use a suitable command window, or whether you use the IDE.

Most compilers are happy to print out an identification string when asked, and there are macros that you can use in your source code to activate/deactivate code blocks on the basis of compiler version.

You can insert identification strings into .OBJ, .EXE and .DLL files, as can the compiler.
0 Kudos
Reply