- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for the response.
Same issue. See attached.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try to reinstall the HPC Toolkit in admin mode.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you build a C++ "Hello World" sample application?
Jim Dempsey
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, the C++ application compiles and runs successfully.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
>>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
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Just did that. See attached.
Any other suggestions?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page