Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.
6980 Discussions

ifort: error #10236: File not found: '/libmkl_intel_thread.a'

Dix_Carneiro__Rafael
2,048 Views

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

 

 

 

0 Kudos
1 Reply
Dix_Carneiro__Rafael
2,048 Views

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.

0 Kudos
Reply