开发者

MPICC and MKL compile

开发者 https://www.devze.com 2023-03-08 04:42 出处:网络
How can I compile my c file ,which I used MKL Blas functions in it, via mpicc ? Normally -without开发者_JS百科 MKL-, I compile like this \"mpicc -o out main.c\". However I can not link while compilin

How can I compile my c file ,which I used MKL Blas functions in it, via mpicc ? Normally -without开发者_JS百科 MKL-, I compile like this "mpicc -o out main.c". However I can not link while compiling, with MKL. Thanks in advance


Linking to MKL is needlessly tricky. Intel has an "MKL Link Line Advisor" which tries to give you the right linking invocation:

http://software.intel.com/en-us/articles/intel-mkl-link-line-advisor/

0

精彩评论

暂无评论...
验证码 换一张
取 消