- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Presumablyyou mean from within Visual Studio
Click on Tools -> Options -> Intel Visual Fortran -> Compilersand this will show which compiler is currently selected.
Les
Click on Tools -> Options -> Intel Visual Fortran -> Compilersand this will show which compiler is currently selected.
Les
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
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.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page