Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!
26729 Discussions

How to compile .exe (OpenMp used) to run in another computer independently

Jiayi_W_
Beginner
197 Views

Hi everyone, thank you for reading this question.

I've written a code and complied it to an .exe file. I hope to run this program in another faster computer which has no Fortran installed. My previous experience suggests it works if I include all the input files that this program will use together with this .exe file. However, presumably because I am doing the parallel computing by OpenMp now, when I do this again, it reports the file libiomp5md.dll is missing. 

Instead of convincing the owner of this faster computer to spend a few hours to install a Fortran, could you give me a hint about how to compile the program that can run independently e.g. a way to integrate libiomp5md.dll?  Thanks a lot!

 

 

0 Kudos
2 Replies
Steve_Lionel
Black Belt Retired Employee
197 Views

There is no way to do that in recent versions. The solution instead is to install the compiler redistributables on the target system. They do NOT have to install the compiler! If libiomp5md.dll is the only DLL you need, you could just copy that alongside your EXE.

Jiayi_W_
Beginner
197 Views

The answer is very clear. Thank you so much!

Reply