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

SetEnv?

rrobinson2
Beginner
962 Views
I have Windows 7(64)and .Net frameowrk 4, VF 11.1.051

I know that VF 11 doesn't support Visual Stusio 10 but I should be able to use
a command-line-interface?

During custom installation I specify the MicroSoft Windows SDK, and 32/64 versions.

When I open a Fortran command-line-interface I get a message saying that
"SetEnv" is not recognized, and subsequent compiles then fail (same for 32 or 64).

What am I missing?

0 Kudos
2 Replies
mecej4
Honored Contributor III
962 Views
Assuming that one should be able to use a CLI to VF11, the following suggestions won't need much effort to try.

Can you open a Windows SDK command window through Start->Programs->... ? The "missing" file SetEnv.Cmd is in the Bin subdirectory of the SDK installation, e.g., C:\Program Files\Microsoft SDKs\Windows\v7.0\Bin\SetEnv.Cmd.

This file is CALLed from the Visual Fortran startup batch file, ifortvars_.bat. Check if the correct path to the SDK is used in this batch file and correct if not so.

Likewise, see if the correct path to Link.exe is entered in the file ifort.cfg in the bin/ subdirectory of the VF11 installation.
0 Kudos
Steven_L_Intel1
Employee
962 Views
You will need to manually edit ifortvars.bat to establish the VS environment. No promises that it will work.
0 Kudos
Reply