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

Installed oneAPI 2024. Now, can't find kmpc_free

David_DiLaura1
새로운 기여자 I
1,596 조회수

Installed the new release of oneAPI. Attempt to run any executable (compiled with either Ifort or ifx) generate an error:

David_DiLaura1_0-1701211917126.png

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?

 

 

0 포인트
6 응답
Barbara_P_Intel
1,563 조회수

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.

0 포인트
David_DiLaura1
새로운 기여자 I
1,559 조회수

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.

0 포인트
David_DiLaura1
새로운 기여자 I
1,540 조회수

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

 

 

 

0 포인트
David_DiLaura1
새로운 기여자 I
1,529 조회수

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?  

David_DiLaura1_0-1701316326234.png

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?

 

 

 

 

0 포인트
Barbara_P_Intel
1,496 조회수

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.

 

0 포인트
Ron_Green
중재자
1,470 조회수

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

 

0 포인트
응답