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/
精彩评论