Intel® oneAPI Base Toolkit
Support for the core tools and libraries within the base toolkit that are used to build and deploy high-performance data-centric applications.

Missing libraries in the MKL

rayschireman
Beginner
894 Views

Hi all,

 

I have some legacy code that has the following lines in the makefile:

MPPLIB=-L$(MKL) $(MKL)/libmkl_scalapack_lp64.a \
$(MKL)/libmkl_solver_lp64_sequential.a -Wl,--start-group \
$(MKL)/libmkl_intel_lp64.a $(MKL)/libmkl_sequential.a \
$(MKL)/libmkl_core.a $(MKL)/libmkl_blacs_openmpi_lp64.a -Wl, -lpthread

I have $MKL set to the MKL root directory on my system.  I'm getting an error that ~/intel/oneapi/mkl/2021.1.1/lib/intel64/libmkl_solver_lp64_sequential.a doesn't exist. Has this library just been simply renamed?

 

Thanks for your time,

Ray

0 Kudos
6 Replies
ShanmukhS_Intel
Moderator
875 Views

Hi,


Thank you for posting on Intel communities.


We would like to request you to check proper linking of the libraries using the link line advisor under below link or if such files were being used in your cmake file. You could specify the required parameters under the drop down options provided under below link. In addition, could you please share us the cmake file being used.


https://www.intel.com/content/www/us/en/developer/tools/oneapi/onemkl-link-line-advisor.html#gs.39jqxm


Best Regards,

Shanmukh.SS


0 Kudos
ShanmukhS_Intel
Moderator
858 Views

Hi,


A gentle reminder:

Has the information provided helped? Could you please get back to us with the CMake file so that we can look into your issue further?


Best Regards,

Shanmukh.SS


0 Kudos
rayschireman
Beginner
848 Views

Hi all,

 

Sorry for the delay. Here's the contents of my architecture file (pasted in). The makefile is attached separately. 

 

 For Linux on clutwin intel64, using Intel Fortran Compiler

MPIBIN  = /gpfs1/home/r/s/rschirem/ompi-3.1.4-build-intel-2021/bin
F90     = $(MPIBIN)/mpif90 
LD      = $(F90)
PLD     = $(MPIBIN)/mpif90

F90FLAGS = -O3 -align -static-intel -cxxlib  
F90FIXED = -FI
F90FREE  = -FR
SAVEMOD = -module $(MODDIR)
INCMOD  = -I$(MODDIR)
LDFLAGS = $(F90FLAGS)
LDLIBS  = $(LIBXCFUN) -lm
#LDLIBS  =

MXMB    = $(OBJDIR)/libmxm.o

MACHINE_C=mach_linux

CC = icc
CFLAGS = -O2 -qopt-report -qopt-report-phase=vec -Wall -diag-disable 177,279,383,869,981,1418,1419,1572 -DNDEBUG
CXX = icpc
CXXFLAGS = $(CFLAGS) -fno-rtti -fno-exceptions

# MPI harness
HARNESS = $(MPI)

MKL=/gpfs1/home/r/s/rschirem/intel/oneapi/mkl/2021.1.1/lib/intel64
MPPLIB=-L$(MKL) $(MKL)/libmkl_scalapack_lp64.a \
$(MKL)/libmkl_solver_lp64_sequential.a -Wl,--start-group \
$(MKL)/libmkl_intel_lp64.a $(MKL)/libmkl_sequential.a \
$(MKL)/libmkl_core.a $(MKL)/libmkl_blacs_openmpi_lp64.a -Wl, -lpthread

 

0 Kudos
ShanmukhS_Intel
Moderator
822 Views

Hi,


Thank you for sharing the required details.


Could you please let us know what MKL version has been used by you earlier? It seems it should be an old MKL version, as libmkl_solver_lp64_sequential.a is not available in any of the latest versions.


We would you to use link line advisor based on your use case. It requests information about your system and how you intend to use Intel® oneAPI Math Kernel Library (link dynamically or statically, use threaded or sequential mode, and so on). The tool automatically generates the appropriate link line for your application. Sharing the link below. Kindly get back to us if you face any issues using it.


https://www.intel.com/content/www/us/en/developer/tools/oneapi/onemkl-link-line-advisor.html


Best Regards,

Shanmukh.SS


0 Kudos
ShanmukhS_Intel
Moderator
800 Views

Hi,


A gentle reminder:

Has the information helped? Could you please let us know if we could close this thread at our end?


Best Regards,

Shanmukh.SS


0 Kudos
ShanmukhS_Intel
Moderator
782 Views

Hi,


We assume that your issue is resolved. If you need any additional information, please post a new question as this thread will no longer be monitored by Intel. 


Best Regards,

Shanmukh.SS


0 Kudos
Reply