Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29234 Discussões

Unable to start program. Operation not supported. Unknown error 0x80070057

Dix_Carneiro__Rafael
Principiante
5.737 Visualizações

Hi all,

I had to reinstall Intel Fortran and Microsoft Visual Studio on my computer.

I have a set of codes that compile successfully. However, when I attempt to launch the program through Visual Studio, or debug it, I receive an error message "Unable to start program. Operation not supported. Unknown error 0x80070057". 

I am using Microsoft Visual Studio 2019 with the Intel Fortran Compiler 2024.1. Please let me know if more details are needed.

Any help would be very much appreciated.

Many thanks,
Rafael

0 Kudos
1 Solução
Steve_Lionel
Colaborador honorário III
5.253 Visualizações

Your PATH environment variable has been corrupted with the contents of some HTML document. I suggest you edit this and remove all the text between <! and </html>. This was done by something outside an Intel product.

Ver solução na publicação original

12 Respostas
jimdempseyatthecove
Colaborador honorário III
5.716 Visualizações

Does the default New Project/Solution (console executable) aka "Hello World" produce a running program? (select x64)

(Place debug break on end program such that window does not close)

 

Jim Dempsey

Dix_Carneiro__Rafael
Principiante
5.706 Visualizações

Thank you for the response.

Same issue. See attached. 

Dix_Carneiro__Rafael
Principiante
5.674 Visualizações

Maybe this is helpful?

I tried to run the executable of the Hello World program directly. I am receiving the message in the attached screenshot: "libifcoremd.dll not found".

Devorah_H_Intel
Moderador
5.630 Visualizações

  Try to reinstall the HPC Toolkit in admin mode.  

Dix_Carneiro__Rafael
Principiante
5.551 Visualizações

I sequentially uninstalled Visual Studio, the fortran compiler and the MKL library. Then, I sequentially reinstalled them running as administrator. I still have the same issue. Please let me know if you need more information.

jimdempseyatthecove
Colaborador honorário III
5.469 Visualizações

Can you build a C++ "Hello World" sample application?

 

Jim Dempsey

Dix_Carneiro__Rafael
Principiante
5.456 Visualizações

Yes, the C++ application compiles and runs successfully.

jimdempseyatthecove
Colaborador honorário III
5.427 Visualizações

>>I tried to run the executable of the Hello World program directly. 

 

In order to run a Fortran program from command line or from clicking on File Explorer the Paths to the Intel environment must be set up. The environment is (should be) set up from within MS VS  IDE environment.

.OR.

by launching the appropriate Intel oneAPI command prompt (x64) in this case

jimdempseyatthecove_0-1716302066136.png

then running your app from the command prompt

.OR.

by modifying the system PATH (not advised) to include the Intel development environment or the Intel Fortran Runtime packages environment.

.OR.

by writing a Batch file that sets the PATH, then runs your program

 

Jim Dempseyh

 

 

Dix_Carneiro__Rafael
Principiante
5.410 Visualizações

Just did that. See attached.

Any other suggestions?

jimdempseyatthecove
Colaborador honorário III
5.396 Visualizações

Launch oneAPI command prompt x64

issue

 

dir \libifcoremd.dll /s/b

 

see if it is found, and where it is found

 

If not found, then I suspect an installation issue.

 

if found issue

 

cd \temp

set path>path.txt

notepad path.txt

 

Then look to see if the path to the dll is in path.

 

On my system, dir \libifcoremd.dll /s/b yields:

C:\Program Files (x86)\Intel\oneAPI\2024.0\bin\libifcoremd.dll
C:\Program Files (x86)\Intel\oneAPI\2024.0\bin32\libifcoremd.dll
C:\Program Files (x86)\Intel\oneAPI\compiler\2024.0\bin\libifcoremd.dll
C:\Program Files (x86)\Intel\oneAPI\compiler\2024.0\bin32\libifcoremd.dll
C:\Program Files (x86)\Intel\oneAPI\compiler\latest\bin\libifcoremd.dll
C:\Program Files (x86)\Intel\oneAPI\compiler\latest\bin32\libifcoremd.dll
C:\Program Files (x86)\Intel\oneAPI\toolkit_linking_tool\.envs\2024.0\basekit\compiler\bin\libifcoremd.dll
C:\Program Files (x86)\Intel\oneAPI\toolkit_linking_tool\.envs\2024.0\basekit\compiler\bin32\libifcoremd.dll
C:\Program Files (x86)\Intel\oneAPI\toolkit_linking_tool\.envs\2024.0\hpckit\compiler\bin\libifcoremd.dll
C:\Program Files (x86)\Intel\oneAPI\toolkit_linking_tool\.envs\2024.0\hpckit\compiler\bin32\libifcoremd.dll

 

And the path.txt file contains:

 

...;C:\Program Files (x86)\Intel\oneAPI\compiler\latest\bin;...

 

Jim Dempsey

 

 

 

In particular, see if

 

Dix_Carneiro__Rafael
Principiante
5.331 Visualizações

Thank you, Jim. I am afraid I will need a bit more guidance, if you don't mind.

 

dir \libifcoremd.dll /s/b indeed returns a list of file locations.

 

Then, sequentially I do:

cd \temp -- "The system cannot find the path specified."

set path>path.txt -- "Access is denied."

 

But if I just do "set path" I get the screenshot attached.

Am I looking at the right place? 

Many thanks,
Rafael

 

Steve_Lionel
Colaborador honorário III
5.254 Visualizações

Your PATH environment variable has been corrupted with the contents of some HTML document. I suggest you edit this and remove all the text between <! and </html>. This was done by something outside an Intel product.

Responder