Community
cancel
Showing results for 
Search instead for 
Did you mean: 
678 Views

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

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
678 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.

Reply