- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
ifort mod.f90 main.f90 -L. -lmylibrary -L$MKLPATH -I$MKLINCLUDE -lmkl_intel-ilp64 -lmkl_intel_thread -lmkl_core -lpthtread
Thanks!
Pedro
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Could you give more details? Are you asking about the link order of the libraries?

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page