Troubleshooting Fortran Integration Issues with Visual Studio

Submit New Article

August 12, 2009 9:00 PM PDT



This article describes diagnostic and repair steps to follow if Intel Visual Fortran integration into Microsoft Visual Studio is not working correctly.

The symptoms of errors with Fortran integration into Visual Studio include:

  • When opening a Fortran project, an error indicating that the .vfproj project file is not recognized
  • Missing Fortran-specific parts of the Visual Studio interface, such as project templates or project properties
  • Inability to build a Fortran project
This article applies to Intel Visual Fortran 10.0 through 12.1 with Microsoft Visual Studio 2003, 2005, 2008 or 2010.

Step 1 - are prerequisites met?

If you are using Intel Visual Fortran 10.0, Visual Studio versions 2003 and 2005 are supported.
If you are using Intel Visual Fortran 10.1 (10.1.019 or later), 11.0 or 11.1, Visual Studio versions  2003, 2005 and 2008 are supported.
If you are using Intel Visual Fortran Composer XE 2011 (version 12.0 or 12.1), Visual Studio versions 2005, 2008 and 2010 are supported.

Open Microsoft Visual Studio from the Start menu.  Select Help > About.  Look for the following items:

  • Make sure that it does not say "Express Edition".  Visual Studio Express Edition is not supported for use with Intel Visual Fortran from within the Visual Studio development environment
  • If you are using a Standard, Professional, Ultimate or Team System Edition of Visual Studio, under Installed Products look to see if "Microsoft Visual C++" is listed. If it is not, reinstall Visual Studio and make sure that the Visual C++ component is installed.  If you are using the Microsoft Visual Studio 2005 Premier Partner Edition (included with Intel Visual Fortran 10.0, 10.1 and 11.0 - no edition name will be displayed), or Microsoft Visual Studio 2008 Shell (as supplied by Intel Visual Fortran 11.1 and 12.0), Visual C++ is not required. Note that use of Visual Studio 2008 Shell from another source is not supported.
  • Look under Installed Products to see if "Intel Visual Fortran Compiler Integration" is listed and make a note of the version number or "Package ID" displayed, if any.
  • While still in Visual Studio, select Tools > Options > Intel(R) Visual Fortran > General.  (If this menu is not present, proceed to step 2.)  Look at the two "Source:" fields under "Fortran File Extensions". If they are blank, click the Reset button under each one. For Free Format, Source should show ".f90" and for Fixed Format, ".f,.for,.fpp".  If the fields were blank, and are now filled in, this may correct the problem.  Close Visual Studio and restart it to test.
Close Visual Studio

Step 2 - are the integration files present?

Check to see if the appropriate Intel folder is present.  The paths given here are defaults and may vary on your system:

VS2003: C:\Program Files\Microsoft Visual Studio .NET 2003\Intel Fortran\VFPackages
VS2005: C:\Program Files\Microsoft Visual Studio 8\Intel Fortran\VFPackages
VS2008: C:\Program Files\Microsoft Visual Studio 9.0\Intel Fortran\VFPackages
VS2010: C:\Program Files\Microsoft Visual Studio 10.0\Intel Fortran\VFPackages

Check to see if this folder contains six DLL files  Windows may hide the file type for DLL files - the file names are VFAVwin.dll, VFFortSvc.dll, VFHieEditor.dll, VFProj.dll, VFProjConvert.dll, VFToolOpt.dll.  If any of these files are not present, uninstall and reinstall Intel Visual Fortran.

NOTE: If you have Intel Visual Fortran Composer XE 2011 Update 6 or later, (compiler version 12.1), and are using VS2010, there will be only four DLLs: VFAVwin.dll, VFHieEditor.dll, VFProj.dll and VFProjConvert.dll.

Right click on VFProj.dll and select Properties, then click on the Version tab.  Look at the "File Version" displayed.  It will be in the form of 11.1.3464.2008.  The first two numbers (11.1 here) indicate the compiler version.  These must match that of the most recent version of the compiler installed.  The last number (2008 here) indicates the Visual Studio version this DLL is for.  If the compiler version does not match, uninstall Intel Visual Fortran, delete the entire "Intel Fortran" folder under the appropriate Microsoft Visual Studio folder, then reinstall Intel Fortran.

Step 3 - run the repair tool

If the above steps do not resolve the problem, download the appropriate ZIP file indicated below and run the executable file included within.  Note: If you are running Windows Vista, Windows 7 or Windows Server 2008, run the program by right clicking it and selecting "Run as Administrator". In many cases, this will resolve the problem. If it does not, or if an error during registration of a DLL is noted, contact Intel Support for further options.

VS2003 Repair Tool
VS2005 Repair Tool
VS2008 Repair Tool
VS2010 Repair Tool (Do not use for Composer XE 2011 Update 6 or later.)

[DISCLAIMER: The information on this web site is intended for hardware system manufacturers and software developers. Intel does not warrant the accuracy, completeness or utility of any information on this site. Intel may make changes to the information or the site at any time without notice. Intel makes no commitment to update the information at this site. ALL INFORMATION PROVIDED ON THIS WEBSITE IS PROVIDED "as is" without any express, implied, or statutory warranty of any kind including but not limited to warranties of merchantability, non-infringement of intellectual property, or fitness for any particular purpose. Independent companies manufacture the third-party products that are mentioned on this site. Intel is not responsible for the quality or performance of third-party products and makes no representation or warranty regarding such products. The third-party supplier remains solely responsible for the design, manufacture, sale and functionality of its products. Intel and the Intel logo are trademarks or registered trademarks of Intel Corporation or its subsidiaries in the United States and other countries. *Other names and brands may be claimed as the property of others.]


Do you need more help?


This article applies to: Intel® Visual Fortran Compiler for Windows* Knowledge Base