Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.
Announcements
The Intel sign-in experience has changed to support enhanced security controls. If you sign in, click here for more information.
7779 Discussions

How to precompile binary file with intel c++ complier

yongbei_ma_
New Contributor I
244 Views

Friends,

I want to precompile a binary file on my local system with intel complier.

the complier is icpc or mpiicpc,the binary file will be linked with intel openmp,MKL library.

then running this binary file on another system which didi not install intel compiler.

is there way to precompile this?what complier FLAG I should use?

Thanks

Yongbei

0 Kudos
1 Reply
TimP
Black Belt
244 Views

You may choose to follow mkl link advisor recommendation for static link. If you link mkl thread library, you must provide for libiomp5.so to be on path for each node, as well as installing Intel mpi run time library.

Reply