- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all,
I am trying to compile codes that were successfully compiled in another Linux system, but I am getting the following messages in the new system:
ifort: error #10236: File not found: '/libmkl_intel_thread.a'
ifort: error #10236: File not found: '/libmkl_core.a'
Here is the command I am using:
ifort FortranCodes.f90 -o execfile -L$MKLPATH -I$MKLINCLUDE -Wl,--start-group $MKLPATH/libmkl_intel_lp64.a $MKLPATH/libmkl_intel_thread.a $MKLPATH/libmkl_core.a -Wl,--end-group -liomp5 -lpthread -lm -qopenmp -heap-arrays
I have loaded the following modules in my system:
module load Langs/Intel/2015_update2
module load Libs/MKL/14.0.2
variables MKLPATH and MKLINCLUDE have the right contents (that is, folders that contain '/libmkl_intel_thread.a' and '/libmkl_core.a').
Please could you help me figure out what am I missing?
Many thanks,
Rafael
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorry everyone, I made a basic mistake.
I had defined MKLPATH doing
MKLPATH = 'myvalue'
in .bashrc
If I do
export MKLPATH = 'myvalue'
things work fine.

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