Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.
6587 Discussions

How can I charge mkl libraries joint my own libraries.

Peter_Down
Beginner
141 Views
Hi! I have several subroutines into a library (libmylibrary.a) and i call a mkl function in my main program. How can i call all with linux commands, for example, first i call my library and then the mkl library, its correct???

ifort mod.f90 main.f90 -L. -lmylibrary -L$MKLPATH -I$MKLINCLUDE -lmkl_intel-ilp64 -lmkl_intel_thread -lmkl_core -lpthtread

Thanks!
Pedro
0 Kudos
1 Reply
VipinKumar_E_Intel
141 Views
Could you give more details? Are you asking about the link order of the libraries?
Reply