Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Peter_Down
Beginner
65 Views

How can I charge mkl libraries joint my own libraries.

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
65 Views

Could you give more details? Are you asking about the link order of the libraries?
Reply