Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.
6981 Discussions

Lining against correct version of libmkl_blacs_*.so

Sebastian_K_
Beginner
288 Views

Dear folks,

I am about to build an MPI executable with ifort/mpif90, linking it to the MKL and the OpenMPI libs. I came to the point where a serious problem wrt. to linking with the correct version of the mkl_blacs library occurs. I. e., I try to link with the library libmkl_blacs_ilp64.so (one of the MKL libraries), but the ifort/mpif90 inserts an incorrect library symbol into the ELF object file of the executable:

    libmkl_blacs_ilp64.so => not found


How should I tell the ifort/mpif90 compiler to link with libmkl_blacs_openmpi_ilp64.so and not wirh libmkl_blacs_ilp64.so?

 

Thanks for your help

Sebastian

0 Kudos
1 Reply
Jing_Xu
Employee
288 Views

Have you tried to use https://software.intel.com/en-us/articles/intel-mkl-link-line-advisor to help you link your program?

0 Kudos
Reply