oneAPI Registration, Download, Licensing and Installation
Support for Getting Started questions related to download, Installation and licensing for Intel oneAPI Toolkits and software development tools.

oneAPI Installation problem on VS 2022

ZiwenZhang
Beginner
1,986 Views

I was installing oneAPI Base Toolkit v2022.2.0 onto VS 2022 v17.3.4. 

It works on one of my PC, but failed in this one, and the error log seems to contain nothing useful.

 

System: Win11

CPU: AMD R9 5950X

Error log is attached as below.

Labels (1)
0 Kudos
1 Solution
Soumya_M_Intel
Moderator
1,930 Views

Hi ZiwenZhang,


Thanks for getting back to us on the thread. We apologize for the misunderstanding caused. We will try to explain the situation better. When we express that a processor is: not compatible or unsupported, we are not trying to mean that it will not work, we are trying to say that our engineering team has not done any validation on it. It may work, it may not work, however, we don't have any tested or validated information on that. As much as we want to assist you, if you run into a bug on an incompatible system, we will not be able to address it (as per our process) unless it is replicated on a system with a supported processor.


Nevertheless, as an exception, we are providing a workaround that you may find helpful. Please know, it may or may not work as the below information and workaround would be based on a system with supported processor. We are sharing it as you have mentioned that the Visual Studio 2019 & the toolkit were working properly on the same system.


We have encountered similar issues before for certain users on supported systems. We have found that it is caused by incompatibility between our toolkit and recent changes in the Microsoft.VisualStudio.Setup.Configuration.Native.dll library provided by Microsoft as part of the new (i.e. version 2022) Visual Studio installation. Our internal team is currently working to find a resolution to it. Due to that, for now, the workaround to it are the steps (mentioned a bit below); to revert the dll library back to its prior version properly. 

 

Note: For the time being, we would recommend uninstalling and not using the Visual Studio 2022.

 

Therefore, kindly go through the below steps since even after uninstalling an incompatible new version (Visual Studio 2022), it can cause several conflicts in proper installation & integration of compiler. These steps will allow you to proceed further without any issues. However, please only proceed in the given order and feel free to let us know if you get stuck on a step.

 

  • Close any and all Intel® installers (even if open in the background).

 

  • Uninstall & make sure that all the Microsoft Visual Studio versions are uninstalled completely (for now), by using the InstallCleanup.exe mentioned in the below link.

 

Linkhttps://docs.microsoft.com/en-us/visualstudio/install/uninstall-visual-studio?view=vs-2022

 

  • Check & make sure 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 

 

'REGSVR32 /U C:\ProgramData\Microsoft\VisualStudio\Setup\x86\Microsoft.VisualStudio.Setup.Configuration.Native.dll'

 

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.

  • Install a compatible version of the Visual Studio 2019.
  • Install the Intel® oneAPI Base Toolkit v2022.2.0.

  

Kindly note, our engineering team has tested and documented the compatible Visual Studio versions and their build numbers for integration with the toolkit and its component versions. Therefore, we would recommend you check & choose from them via the below link for information about its integrability with Visual Studio 2019. The build 16.11.2 of version 2019 is a recommended, compatible version for it.

 

Intel® Compilers Compatibility with Microsoft Visual Studio* Linkhttps://www.intel.com/content/www/us/en/developer/articles/reference-implementation/intel-compilers-compatibility-with-microsoft-visual-studio-and-xcode.html

 

However, please give it a try on a supported system if the issue still persists. Kindly update us if the issue has been resolved. Looking forward to your response.


Regards,

Soumya


View solution in original post

0 Kudos
5 Replies
Soumya_M_Intel
Moderator
1,971 Views

Hi ZiwenZhang,


Thanks for posting your concern on the forum. However, please note that the AMD R9 5950X is not a compatible processor for the Intel® oneAPI Base Toolkit. Kindly know, our engineering team has tested and documented the compatible hardware and software requirements for the product toolkit. You may visit the below link to find them.


Link: https://www.intel.com/content/www/us/en/developer/articles/system-requirements/intel-oneapi-base-toolkit-system-requirements.html#inpage-nav-1-undefined


Hope you have a nice day ahead!


Regards,

Soumya


0 Kudos
ZiwenZhang
Beginner
1,961 Views

Thanks, but why it worked on this PC when I used Visual Studio 2019 + oneAPI 2022.2 ?

And why another machine of mine with AMD EYPC-7532 also works with Visual Studio 2022 + oneAPI 2022.2 ?

0 Kudos
Soumya_M_Intel
Moderator
1,931 Views

Hi ZiwenZhang,


Thanks for getting back to us on the thread. We apologize for the misunderstanding caused. We will try to explain the situation better. When we express that a processor is: not compatible or unsupported, we are not trying to mean that it will not work, we are trying to say that our engineering team has not done any validation on it. It may work, it may not work, however, we don't have any tested or validated information on that. As much as we want to assist you, if you run into a bug on an incompatible system, we will not be able to address it (as per our process) unless it is replicated on a system with a supported processor.


Nevertheless, as an exception, we are providing a workaround that you may find helpful. Please know, it may or may not work as the below information and workaround would be based on a system with supported processor. We are sharing it as you have mentioned that the Visual Studio 2019 & the toolkit were working properly on the same system.


We have encountered similar issues before for certain users on supported systems. We have found that it is caused by incompatibility between our toolkit and recent changes in the Microsoft.VisualStudio.Setup.Configuration.Native.dll library provided by Microsoft as part of the new (i.e. version 2022) Visual Studio installation. Our internal team is currently working to find a resolution to it. Due to that, for now, the workaround to it are the steps (mentioned a bit below); to revert the dll library back to its prior version properly. 

 

Note: For the time being, we would recommend uninstalling and not using the Visual Studio 2022.

 

Therefore, kindly go through the below steps since even after uninstalling an incompatible new version (Visual Studio 2022), it can cause several conflicts in proper installation & integration of compiler. These steps will allow you to proceed further without any issues. However, please only proceed in the given order and feel free to let us know if you get stuck on a step.

 

  • Close any and all Intel® installers (even if open in the background).

 

  • Uninstall & make sure that all the Microsoft Visual Studio versions are uninstalled completely (for now), by using the InstallCleanup.exe mentioned in the below link.

 

Linkhttps://docs.microsoft.com/en-us/visualstudio/install/uninstall-visual-studio?view=vs-2022

 

  • Check & make sure 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 

 

'REGSVR32 /U C:\ProgramData\Microsoft\VisualStudio\Setup\x86\Microsoft.VisualStudio.Setup.Configuration.Native.dll'

 

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.

  • Install a compatible version of the Visual Studio 2019.
  • Install the Intel® oneAPI Base Toolkit v2022.2.0.

  

Kindly note, our engineering team has tested and documented the compatible Visual Studio versions and their build numbers for integration with the toolkit and its component versions. Therefore, we would recommend you check & choose from them via the below link for information about its integrability with Visual Studio 2019. The build 16.11.2 of version 2019 is a recommended, compatible version for it.

 

Intel® Compilers Compatibility with Microsoft Visual Studio* Linkhttps://www.intel.com/content/www/us/en/developer/articles/reference-implementation/intel-compilers-compatibility-with-microsoft-visual-studio-and-xcode.html

 

However, please give it a try on a supported system if the issue still persists. Kindly update us if the issue has been resolved. Looking forward to your response.


Regards,

Soumya


0 Kudos
Soumya_M_Intel
Moderator
1,888 Views

Hi ZiwenZhang,


Please feel free to let us know if there are any further queries or concerns.


Regards,

Soumya


0 Kudos
Soumya_M_Intel
Moderator
1,865 Views

Hi ZiwenZhang,


We understand that you might be looking into the issue. However, this is to update you that we have not heard from you on our previous responses. Please reply within the next 24 business hours to keep this thread active.


Regards,

Soumya


0 Kudos
Reply