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.

Everything is broken.

Nick3
New Contributor I
819 Views

I don't know, should I make one post per issue?  That feels like spamming.  So I will try to write my issues here.  I hope that somebody will pass these along to the right people and help.

 

(1) no support tickets.

I tried to log in to the support tickets.  Every time I try to get to the site, it says "System Unavailable".  Tried Chrome, Edge, restarting, etc.  The URL is https://supporttickets.intel.com/servicecenter?lang=en-US 

 

(2) no telling where bad code is.

I understood that oneAPI version 2022.2 (I'm using the Fortran only Offline installer) would fix issues with installation, VS2022, etc.  So I thought I'd install it.  I thought I'd tell my coworkers to install it.  I like VS2022 - nice git features. On my laptop, I previously had VS2019, ifort 2019 update 5, ifort 2020 update 4. I thought, if I install oneAPI 2022.2, I could use ifort in VS2022. So my saga begins.

I install it.  I wrote a simple program that had an error preventing compillation, Source1.f90.

program main
implicit none
real a, b
a = 1.0
b = 2.0
c = a / b
print *,c
end program

 

I try to compile a simple program with VS2019.   VS2019 says there's an error on such line. Great! I try VS2022.  VS2022 gives me a message "Console1 : error PRJ0019: A tool returned an error code" - and that's it.  No indication of what the error is, what line, nothing.  I try ifort 2022 reinstall - didn't fix the issue.  

 

(3) cannot install/uninstall versions 2020 / 2019 on Win 10.

I next tried to uninstall all the versions of ifort I had.  (the proper name is Intel Parallel Studio XE something something...I can't recall...I'm just calling it ifort)  Versions 2020 and 2019 wouldn't uninstall, because, as I launched the uninstaller from control panel ->ARP, it would simply crash.  So I found the installer and ran it in "Windows (8) compatibility mode" or something similar.  I uninstalled ifort 2019 successfully.

 

(4) advisor 2020 won't uninstall with parallel studio xe uninstaller applet

ifort 2020 uninstalled, partially, and then stopped uninstalling.  According to log files, the "Advisor" component would refuse to be uninstalled in version 2020.  I manually used Microsoft's utility "MicrosoftProgram_Install_and_Uninstall.meta.diagcab" to uninstall 3 "Advisor 2020" components.  Then I restarted the uninstallation from the installer.  This was successful.  At this point, control panel showed there were no more Intel ... anything pieces of software.

I uninstalled VS2019.  Uninstalled VS2022.  Restart.  Installed VS2019.  Restart.  Install VS2022. Restart.  Install ifort oneAPI 2022.

 

(5) unnecessary dialogs in oneAPI installer

Oddly, when you run the oneAPI installer, it starts with a dialog saying "installer will check your sytem requirements and launch automatically...".  Why???  I should not need to click on an "OK" button for the thing to start doing its preliminary steps.  I didn't even notice this dialog until a long time later, wasting my time.  I think we're way past the point of needing to tell the user they are about to launch an installer in the year 2022.

 

(6) issues with uninstalling previous integrations

Installer states "Intel Visual Fortran and C++ compiler 19.1 integrations in Microsoft Visaul Studio is already installed". How??? I uninstalled all of Intel Fortran stuff.

 

(7) VS doesn't recognize fortran projects after install

Anyway, install, reboot, try to open a test project with VS2019, VS2019 states "I don't know what a fortran project file is".

Great.

Uninstall openAPI, remove C:\ProgramData\Microsoft\VisualStudio\Setup\x86\Microsoft.VisualStudio.Setup.Configuration.Native.dll, replace it with a version I have from Visual Studio 2019 version 16.11.8. Run oneAPI installer again.

I open a test project with VS2019. Says "incompatible" again.  VS2022. Says "incompatible".  Now what...

I right-click both projects, and click "Reload project". Project loads. In both VS2019 and VS2022.

 

(8) still not actually integrated into visual studio

I try to compile. Both VS2019 and VS2022 say "error PRJ0019: A tool returned an error code".  It should say "error, undeclared variable on line (whatever)." instead.

I try to return the Microsoft.VisualStudio.Setup.Configuration.Native.dll file that was there originally.  Doesn't fix the problem.

 

(9) now I've spent a day on this and I still don't know what to do.

and I have no fully functioning Fortran compiler.

0 Kudos
4 Replies
Barbara_P_Intel
Employee
807 Views

I am working on the support ticket you submitted yesterday. I just sent you a reply.

Check out this Forum thread  for a link to the article with a workaround. I faced some of the same issues that you mention and the workaround worked for me.

And, lastly, I'm moving this thread to the Forum that works on installation issues.

 

 

 

0 Kudos
Nick3
New Contributor I
760 Views

Ok, now I followed your instructions, uninstalled VS2019 and VS2022 again, ran:

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

And

 

C:\Program Files (x86)\Microsoft Visual Studio\Installer>installcleanup.exe -f

 

Per:

 

https://learn.microsoft.com/en-us/visualstudio/install/uninstall-visual-studio?view=vs-2019

 

(multiple times),

 

Restarted, ran REGSVR32 command again (the x86 version was still there), deleted any folders called Visual Studio, or oneAPI

 

Then I installed VS2019 enterprise, then VS2022 enterprise

 

Then I tried to install   w_fortran-compiler_p_2022.2.0.9570_offline.exe   again (is there a different package I should be using?)

 

Now it claims I don't have Visual Studio installed (?)

Those files Microsoft.VisualStudio.Setup.Configuration.Native.dll still don't exist.

 

0 Kudos
Nick3
New Contributor I
760 Views

I tried to follow your instructions, and also instructions here:

https://learn.microsoft.com/en-us/visualstudio/install/uninstall-visual-studio?view=vs-2019

I uninstalled VS2019 and VS2022 (again).  I ran these:

 

C:\WINDOWS\system32>REGSVR32 /U C:\ProgramData\Microsoft\VisualStudio\Setup\x86\Microsoft.VisualStudio.Setup.Configuration.Native.dll

C:\WINDOWS\system32>REGSVR32 /U C:\ProgramData\Microsoft\VisualStudio\Setup\x64\Microsoft.VisualStudio.Setup.Configuration.Native.dll

C:\WINDOWS\system32>cd C:\Program Files (x86)\Microsoft Visual Studio\Installer

C:\Program Files (x86)\Microsoft Visual Studio\Installer>installcleanup.exe -f

 

several times.

 

Restarted.  Ran REGSVR32 again (x86 version was still there).  Deleted any folders that said Visual Studio or oneAPI.  Installed VS2019 Enterprise.  Installed VS2022 Enterprise.  Tried to install    w_fortran-compiler_p_2022.2.0.9570_offline.exe   from your web site (is this the right file?)

 

It says I don't have visual studio installed (please see the image) (?).

 

Note that the Native.dll file does not exist right now.

 

I'll try the support tickets site again in a bit.

0 Kudos
Nick3
New Contributor I
760 Views
Trying to post here again - text below is duplicate from what's in the support ticket.
 
 
(10)
 
I think I broke the forum and the support site now. I tried to post a reply twice to the forum, and also here, but my reply disappeared. Maybe the attachment is causing problems? I was trying to attach "Integration Installed Intel Warning 2.png". I will try without it now.

I tried to go from the forum to the support tickets with my link. The first time it errored out again. (Maybe it was trying to log in using my credentials from the forum, and that didn't work?) Then I tried a few more times to go to the support site, and then it finally worked now.

Anyway, I will type my response again, hopefully this time it works.

I followed your instructions here:
https://www.intel.com/content/www/us/en/developer/articles/technical/vs2022-and-oneapi-install-issue.html

and also Microsoft instructions here:
https://learn.microsoft.com/en-us/visualstudio/install/uninstall-visual-studio?view=vs-2019

After I uninstalled VS2019 and VS2022, then I ran the following commands several times:


C:\WINDOWS\system32>REGSVR32 /U C:\ProgramData\Microsoft\VisualStudio\Setup\x86\Microsoft.VisualStudio.Setup.Configuration.Native.dll

C:\WINDOWS\system32>REGSVR32 /U C:\ProgramData\Microsoft\VisualStudio\Setup\x64\Microsoft.VisualStudio.Setup.Configuration.Native.dll

C:\WINDOWS\system32>cd C:\Program Files (x86)\Microsoft Visual Studio\Installer

C:\Program Files (x86)\Microsoft Visual Studio\Installer>installcleanup.exe -f


I uninstalled ifort 2022.

Then I restarted. the x86 version of Native.dll was still there, so I ran the REGSVR32 command one more time to get rid of it. Then I deleted every folder that had Visual Studio or oneAPI in its name.

Then I installed VS2019 Enterprise, then VS2022 Enterprise.

 
(11)

Then I tried to install w_fortran-compiler_p_2022.2.0.9570_offline.exe that I downloaded from your website and that I have been using. It errored out on me, saying I don't have Visual Studio installed (exact message below).

I double-checked, the file Native.dll does not exist.

Am I installing the correct package for Intel Fortran?


Warnings:

Intel Fortran COmpiler & Intel Fortran Compiler Classic will not work because none of the supported software is found on your computer.

Intel Fortran COmpiler & Intel Fortran Compiler Classic requires that any of the following software has already been installed on your system:
*Microsoft Visual Studio* 2017, 2019 or 2022 (to build aplications in IDE or command-line tools)
*Microsoft Build Tools* 2017, 2010 or 2022 (to build applications in command-line tools only).

If you select 'Next', Intel Fortran COmpiler & Intel Fortran Compiler classic will be installed but will not work. Please refer to the release notes ....... for details.

Show less

0 Kudos
Reply