Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
31 Views

Combine Intel Fortran 2017 with Microsoft Visual Studio 11

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
Highlighted
Black Belt Retired Employee
31 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.

0 Kudos