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

Compiled file not working (Procedure entry point__kmpc_free could not be located in the dynamic link

GhaithKhresat
Beginner
408 Views

Hi,

 

Whenever I run the code using visual studio with OneAPI, the code runs. However, if I run the compiled exe without visual studio, I get the error shown in the Picture.

 

If I compile the code with Parallel studio, I do not encounter this problem. but Unfortunatly I cannot get a hold on the installation package for that.

 

Can someone help me in this issue

 

 

forum.png

0 Kudos
1 Reply
jimdempseyatthecove
Honored Contributor III
388 Views

This is indicative of the wrong dll being used.

 

Try this,

Launch the command window from 

Start | Intel oneAPI 2023 | Intel oneAPI command prompt for Intel 64

 

Then run the .exe from that command window.

 

If that works, try launching Windows CMD prompt

Run setvars.bat

run your application.

 

Jim Dempsey

0 Kudos
Reply