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

Fortran Compiler does not integrate with vs2022 17.3.2

MintGreen99
Beginner
1,810 Views

I am unable to integrate Intel Fortran compiler with vs2022 17.3.2. I used this guide from the forum:

https://community.intel.com/t5/Intel-Fortran-Compiler/The-Easy-and-Fast-Way-to-Install-JUST-Fortran-with-Intel-oneAPI/m-p/1360571#M160118

 

I am using Windows 10 Laptop with i7 CPU.

 

I tried reinstalling vs2022 but it always produces same error when I try to install the compiler:

fortran installer error.png

 

The installation produces the same error with online and offline installers. I managed to install the compiler without vs2022 integration but I do not have vs2022 IDE extensions and project templates.

 

I attached the installation log. The same error occurs both with clean install and when I try repair option in the installer. I managed to successfully install the compiler without vs2022 integration.

 

 

0 Kudos
1 Solution
Ron_Green
Moderator
1,719 Views

here is the process from that other thread.  note there is some manual checking of the Registry and leftover dll

 

Please give this a shot and let me know if it resolves your issue.

 

  1. Close Intel installers if any.
  2. Uninstall all Microsoft Visual Studio instances and Visual Studio Installer.
  3. Important: check that C:\ProgramData\Microsoft\VisualStudio\Setup\x86\Microsoft.VisualStudio.Setup.Configuration.Native.dll does not exist anymore. If it was not removed with Microsoft Visual Studio for some reason, please unregister the DLL using
  4. REGSVR32 /U C:\ProgramData\Microsoft\VisualStudio\Setup\x86\Microsoft.VisualStudio.Setup.Configuration.Native.dll
  5. command in Command Prompt as Administrator, and then rename the file to Backup_Microsoft.VisualStudio.Setup.Configuration.Native.dll so the Intel® Installer can't load it.
  6. Uninstall older Intel® Parallel Studio XE and Intel® oneAPI products.
  7. Install required versions of Microsoft Visual Studio supported by the Intel® Parallel Studio XE/ONEAPI. See the full list here.

 

View solution in original post

0 Kudos
8 Replies
MintGreen99
Beginner
1,772 Views

I followed the instructions to the letter but I still get an error:

 

Installation of component has failed.

Component id: intel.oneapi.win.dpcpp_debugger.fee.vs2022, name: Intel® Distribution for GDB*, version: 2021.6.0-188.
Error: Sequence execution failed.

 

Screenshot 2022-08-28 194127.png

0 Kudos
JohnNichols
Valued Contributor III
1,746 Views

When you get to this level of hassle, the way I use is to reinstall windows, then VS and then oneapi.  

I did it seven times in the last week, it is quicker than playing around.  

 

 

0 Kudos
Ron_Green
Moderator
1,736 Views

send a screen capture of the VS2022 Hlep -> About Microsoft Visual Studio.

 

are you uninstalling all oneAPI apps using Settings between attempts?

0 Kudos
MintGreen99
Beginner
1,722 Views

vs2022 about:

 

vs2022 about.png

I tried tried always uninstalled the compiler with the oneAPI installer. I also removed residual files from oneAPI compiler and vs2022 manualy from user app data directory and program data folders on C drive.

 

I only tried installing the Fortran compiler from this guide. I did not install any other oneAPI components. I tried installing it on my old PC today and it worked without problems. I still can't get it to work on my laptop though.

https://community.intel.com/t5/Intel-Fortran-Compiler/The-Easy-and-Fast-Way-to-Install-JUST-Fortran-with-Intel-oneAPI/m-p/1360571#M160118

0 Kudos
Ron_Green
Moderator
1,720 Views

here is the process from that other thread.  note there is some manual checking of the Registry and leftover dll

 

Please give this a shot and let me know if it resolves your issue.

 

  1. Close Intel installers if any.
  2. Uninstall all Microsoft Visual Studio instances and Visual Studio Installer.
  3. Important: check that C:\ProgramData\Microsoft\VisualStudio\Setup\x86\Microsoft.VisualStudio.Setup.Configuration.Native.dll does not exist anymore. If it was not removed with Microsoft Visual Studio for some reason, please unregister the DLL using
  4. REGSVR32 /U C:\ProgramData\Microsoft\VisualStudio\Setup\x86\Microsoft.VisualStudio.Setup.Configuration.Native.dll
  5. command in Command Prompt as Administrator, and then rename the file to Backup_Microsoft.VisualStudio.Setup.Configuration.Native.dll so the Intel® Installer can't load it.
  6. Uninstall older Intel® Parallel Studio XE and Intel® oneAPI products.
  7. Install required versions of Microsoft Visual Studio supported by the Intel® Parallel Studio XE/ONEAPI. See the full list here.

 

0 Kudos
MintGreen99
Beginner
1,704 Views

I got it working with vs2019 temporarily until I have time to reinstall Windows.

0 Kudos
Reply