- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Installed the new release of oneAPI. Attempt to run any executable (compiled with either Ifort or ifx) generate an error:
Code uses OpenMP throughout. Running Win 10, VS 17.8.2
No changes to any VS or compiler settings were made.
I am assuming that the OpenMP dll's aren't be found. Are new ones required for the new oneAPI? Where should they be?
Any suggestions?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Did you recompile with the latest release or are these older executables? Shouldn't matter one way or the other. Just need more info.
There is a directory layout change implemented in 2024.0. Maybe that's having an impact. For detailed information about the Unified layout, including how to initialize the environment and advantages with the Unified layout, refer to Use the setvars and oneapi-vars Scripts with Linux and Use the setvars and oneapi-vars Scripts with Windows.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I recompiled with Ifort and with Ifx. Both produce an executable that generates the error when they are executed.
I will look into the matter of the new Unified Layout.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Are there new OpenMP dll's that should be used with / supplied for the code generated by oneAPI 2024?
In the past, we have had to distribute these along with our executables to our users:
libiomp5md.dll
libiompstubs5md.dll
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Following your suggestion, I looked into the Unified Layout and have tracked down what I think is likely the problem. ALL the entries in the folder C:\Program Files (x86)\Intel\oneAPI\2024.0\bin have zero length. Should that be the case?
Zero length includes the two dll's
libiomp5md.dll
libiompstubs5md.dll
However, in this folder C:\Program Files (x86)\Intel\oneAPI\compiler\2024.0\bin
they are NOTzero length.
More Data:
I re-established the .sln file for this project and recompiled with the Ifx. No problem. Ask VS to execute it. No problem.
1) But if VTune attempts to run it, the error is generated. I assume this means that the exe has a dependency that is satisfied with it runs within VS, but NOT when it is executed by VTune.
2) If I move the exe outside of VS and (importantly) put the two dll's in the folder where it resides, it executes.
If I look in the Unified Layout under C:\Program Files (x86)\Intel\oneAPI\vtune\2024.0, the dll's are NOT there or in any of the subfolders. Should they be? Is VTune looking for an dll's here?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Those files in C:\Program Files (x86)\Intel\oneAPI\2024.0\bin with zero length are symbolic links (symlnk) to the latest version. I see that on my laptop, too.
Good that you can create and run your app.
VTune? Let me ask someone who can help; I have limited experience.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Just to check your installation of Vtune: Vtune will have to be the 2024.0 version to understand the new directory layout. If it's an older Vtune it'll be looking in the old directories.
Vtune is in the Base Toolkit OR you can download just Vtune by itself here: https://www.intel.com/content/www/us/en/developer/articles/tool/oneapi-standalone-components.html
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page