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!
26736 Discussions

IFORT.EXE not found when using USEENV flag

Erik_H_
Beginner
257 Views

I am attempting to compile a .VFPROJ file inside of Visual Studio Ultimate 2013 Update 4. When I run VS2013 by typing DEVENV and then build the project, it builds without issue. However, when I run VS2013 by typing DEVENV /USEENV and then build the project, it errors out and says, "The Fortran compiler (ifort.exe) cannot be found." That doesn't make much sense. USEENV brings in the PATH, LIB, and INCLUDE environment variables to use in that session of VS2013. In Solution Explorer, I can click on the Property Manager tab, double-click "Release | x64" (which is the configuration I want), and then click VC++ Environment Variables to see those environment variables I pulled in using USEENV. They all show up as expected. And the second directory listed in my PATH (C:\Program Files (x86)\IntelSWTools\compilers_and_libraries_2017.2.187\windows\bin\intel64) is the exact directory that holds the version of IFORT.EXE that I want. Nonetheless, the build fails every time and IFORT.EXE cannot be located. Because of the software that our vendor provides, we have to build using DEVENV /USEENV. Any help would be appreciated!

0 Kudos
11 Replies
Devorah_H_Intel
Moderator
257 Views
Erik_H_
Beginner
257 Views

Unfortunately, none of those suggestions worked.

Steve_Lionel
Black Belt Retired Employee
257 Views

I can reproduce this in VS2017 and the beta 18 compiler. I know it used to work.

Erik_H_
Beginner
257 Views

We downgraded from IFORT_COMPILER17 to IFORT_COMPILER15. That solved the problem. Apparently, IFORT_COMPILER17 doesn't play well with Visual Studio 2013 when the /USEENV flag is passed. Save yourself the frustration and go with IFORT_COMPILER15 when working with VS2013.

Steve_Lionel
Black Belt Retired Employee
257 Views

This is clearly a bug - please report it through the Intel Service Portal. It is very easy to reproduce.

Erik_H_
Beginner
257 Views

Where is that located?

Steve_Lionel
Black Belt Retired Employee
257 Views

http://www.intel.com/supporttickets

Or at the top of this forum, click Tech Support and then Individual Support.

Erik_H_
Beginner
257 Views

Won't let me do it.

When I click that link (even when I'm logged in), it takes me to a page where it wants me to enter my personal info (last name, first name, email, user name, etc.). Most of those fields are disabled and I can't hit Next (it's grayed out) unless they're filled out.

If I try to get around that by clicking My Intel -> Edit Personal Information, it allows me to enter fields......but after about 5-10 seconds, the screen goes to a charcoal background color and a spinning icon spins endlessly......so I can't go back and enter the fields.

Steve_Lionel
Black Belt Retired Employee
257 Views

Ok - I submitted it for you as #02957458.

Erik_H_
Beginner
257 Views

Thanks!

Devorah_H_Intel
Moderator
257 Views

Steve, thank you very much for submitting this ticket!

Erik, I will contact you in PM regarding your account for Online Service Center.

Reply