Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.
7944 Discussions

How to precompile binary file with intel c++ complier

yongbei_ma_
New Contributor I
340 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
Honored Contributor III
340 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.

0 Kudos
Reply