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

does visual studio community 2015 support fortran?

yunde_s_
Beginner
3,267 Views

Hello,

I installed the visual studio community 2015 and the Intel parallel studio XE cluster edition (including c++ and fortran). However, when I tried to compile fortran code, I find the error "rc.exe couldn't be found" and I can't find this file under the Microsoft SDKs. Could you tell me how to fix this problem? does it mean that the visual studio community doesn't support fortran?

0 Kudos
1 Solution
Steven_L_Intel1
Employee
3,267 Views

VS2015 Community DOES support Intel Fortran, and indeed I tested this exact combination just the other day. You do need to select a Custom install of VS2015 and check the box for Programming Languages > C++. If you didn't do that before, rerun the VS install, change the setting, then rerun the Parallel Studio XE install (2015 Update 4 or later) to select VS2015 integration.

If this doesn't help, you may need to locate where the Windows SDK was installed as part of VS and add its binary path to the Executables list under Tools > Options > Intel Compilers and Libraries > Visual Fortran > Compilers. On my system this is C:\Program Files (x86)\Windows Kits\8.1\bin\x64\rc.exe (for 64-bit) and C:\Program Files (x86)\Windows Kits\8.1\bin\x86\rc.exe for 32-bit

View solution in original post

0 Kudos
6 Replies
Steven_L_Intel1
Employee
3,268 Views

VS2015 Community DOES support Intel Fortran, and indeed I tested this exact combination just the other day. You do need to select a Custom install of VS2015 and check the box for Programming Languages > C++. If you didn't do that before, rerun the VS install, change the setting, then rerun the Parallel Studio XE install (2015 Update 4 or later) to select VS2015 integration.

If this doesn't help, you may need to locate where the Windows SDK was installed as part of VS and add its binary path to the Executables list under Tools > Options > Intel Compilers and Libraries > Visual Fortran > Compilers. On my system this is C:\Program Files (x86)\Windows Kits\8.1\bin\x64\rc.exe (for 64-bit) and C:\Program Files (x86)\Windows Kits\8.1\bin\x86\rc.exe for 32-bit

0 Kudos
Mayada_M_
Beginner
3,267 Views

sorry i have the same problem

0 Kudos
Steven_L_Intel1
Employee
3,267 Views

Did you make sure that C++ support is included in VS2015?

0 Kudos
GWats1
New Contributor I
3,267 Views

I had the same problem and as Steve says, I had to reinstall the VS Community and add the C++, then reinstall the Fortran compiler and it worked.

HTH

0 Kudos
Chris_H_3
Beginner
3,267 Views

Dear Steve;

 

I have installed VS2015 in anticipation of getting the latest intel compiler (it is on order).  How can I tell in my installation if I checked the C++ option after the fact?  Please let me know.  Thank you.

 

Sincerely,

 

CHobbs

 

0 Kudos
Steven_L_Intel1
Employee
3,267 Views

Probably the simplest way is to see if C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin exists and is filled with files, including cl.exe. Or you can rerun the VS install and do a "modify" and look for the option.

0 Kudos
Reply