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?
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.