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

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

Dix_Carneiro__Rafael
1,096 Views

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 Solution
Steve_Lionel
Honored Contributor III
612 Views

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.

View solution in original post

0 Kudos
12 Replies
jimdempseyatthecove
Honored Contributor III
1,075 Views

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

0 Kudos
Dix_Carneiro__Rafael
1,065 Views

Thank you for the response.

Same issue. See attached. 

0 Kudos
Dix_Carneiro__Rafael
1,033 Views

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".

0 Kudos
Devorah_H_Intel
Moderator
989 Views

  Try to reinstall the HPC Toolkit in admin mode.  

0 Kudos
Dix_Carneiro__Rafael
910 Views

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.

0 Kudos
jimdempseyatthecove
Honored Contributor III
828 Views

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

 

Jim Dempsey

0 Kudos
Dix_Carneiro__Rafael
815 Views

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

0 Kudos
jimdempseyatthecove
Honored Contributor III
786 Views

>>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

 

 

0 Kudos
Dix_Carneiro__Rafael
769 Views

Just did that. See attached.

Any other suggestions?

0 Kudos
jimdempseyatthecove
Honored Contributor III
755 Views

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

 

0 Kudos
Dix_Carneiro__Rafael
690 Views

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

 

0 Kudos
Steve_Lionel
Honored Contributor III
613 Views

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.

0 Kudos
Reply