Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!
26758 Discussions

Combine Intel Fortran 2017 with Microsoft Visual Studio 11

Benedikt_R_
Beginner
153 Views

Dear list-members,

we use Intel Fortran 2017 on windows 10. The Fortran-code calls C-functions which were compiled with "Visual Studio 12".

We set the environment by calling "c:\Program Files (x86)\IntelSWTools\compilers_and_libraries_2017.4.210\windows\bin\ipsxe-comp-vars.bat"

After additionally installing "Visual Studio 14" on the machine, the batch "ipsxe-comp-vars.bat" sets the environment for "Visual Studio 14" automatically.

We'd like to be able to control the used "Visual Studio"-Version: "ipsxe-comp-vars.bat" shall set up for "Visual Studio 12"

We are using Batch- and Makefiles only - no IDE.

Any advice?

Benedikt

0 Kudos
1 Reply
Steve_Lionel
Black Belt Retired Employee
153 Views

The .bat file takes an optional argument of the name of the VS version you want to use, as long as it’s a supported version. For Parallel Studio 2017, you can use “VS2012” (no quotes) as that argument.

Reply