Intel Visual Fortran command line development with Microsoft Visual C++ Express

The command line environment for Intel® Visual Fortran development uses the linker and some libraries from Microsoft Visual Studio*. When the environment setup batch file is run, the version of Visual Studio to use is specified, but the edition of Visual Studio cannot be specified.

If both Microsoft Visual C++ Express* and the Microsoft Visual Studio Shell and Libraries* for Fortran are installed, Visual C++ Express will be used by default. Visual C++ Express does not support 64bit command line development. For 64bit development, the PATH and LIB environmental variables must be changed to point to the Visual Studio Shell and Libraries after the environmental variable set up script is run. Depending on what version is being used, this can be done by running the set of commands below. For convenience, these commands can be placed in a batch file.

If Microsoft Visual Studio Shell and Libraries* was not installed in the default location, replace "C:\Program Files (x86)\Microsoft Visual Studio 10.0\Intel Fortran" with the correct location.

Every time the command line development environment is started up:

  1.  Run "ipsxe-comp-vars.bat intel64 vs20XX" where XX corresponds to the version of Visual Studio being used.
    The command line environment setup script, ipsxe-comp-vars.bat, is located within the install directory for the compiler. This is done automatically by the command prompt links for "Intel Parallel Studio XE" in the Start Menu.
  2. Run the appropriate version of the commands below:

Microsoft Visual Studio 2010 Shell and Libraries* commands:
set path=C:\Program Files (x86)\Microsoft Visual Studio 10.0\Intel Fortran\Microsoft Files\VC\Bin\amd64;%PATH%

set lib=C:\Program Files (x86)\Microsoft Visual Studio 10.0\\Intel Fortran\Microsoft Files\VC\lib\amd64;C:\Program Files (x86)\Microsoft Visual Studio 10.0\\Intel Fortran\Microsoft Files\VC\lib\x64;C:\Program Files (x86)\Microsoft Visual Studio 10.0\\Intel Fortran\Microsoft Files\VC\lib\x64\;C:\Program Files (x86)\Microsoft Visual Studio 10.0\\Intel Fortran\Microsoft Files\VC\PlatformSDK\lib\x64\;%LIB%

Microsoft Visual Studio 2008 Shell and Libraries* commands:
set path=C:\Program Files (x86)\Microsoft Visual Studio 9.0\Intel Fortran\Microsoft Files\VC\Bin\amd64;%PATH%
set lib=C:\Program Files (x86)\Microsoft Visual Studio 9.0\\Intel Fortran\Microsoft Files\VC\lib\amd64;C:\Program Files (x86)\Microsoft Visual Studio 9.0\\Intel Fortran\Microsoft Files\VC\lib\x64;C:\Program Files (x86)\Microsoft Visual Studio 9.0\\Intel Fortran\Microsoft Files\VC\lib\x64\;C:\Program Files (x86)\Microsoft Visual Studio 9.0\\Intel Fortran\Microsoft Files\VC\PlatformSDK\lib\x64\;%LIB%

Microsoft Visual Studio 2005 Shell and Libraries* commands:
set path=C:\Program Files (x86)\Microsoft Visual Studio 8.0\Intel Fortran\Microsoft Files\VC\Bin\amd64;%PATH%

set lib=C:\Program Files (x86)\Microsoft Visual Studio 8.0\\Intel Fortran\Microsoft Files\VC\lib\amd64;C:\Program Files (x86)\Microsoft Visual Studio 8.0\\Intel Fortran\Microsoft Files\VC\lib\x64;C:\Program Files (x86)\Microsoft Visual Studio 8.0\\Intel Fortran\Microsoft Files\VC\lib\x64\;C:\Program Files (x86)\Microsoft Visual Studio 8.0\\Intel Fortran\Microsoft Files\VC\PlatformSDK\lib\x64\;%LIB%

For more complete information about compiler optimizations, see our Optimization Notice.