[Wien] Compilation problem due to not able to find path for mkl libraries

Gavin Abo gsabo at crimson.ua.edu
Thu Feb 13 00:19:09 CET 2014


If I search the net, I can find a linux library "-lpthread" and a mkl 
thread library "-lmkl_intel_thread".

However, I cannot find a mkl thread library called "lmkl_lpthread.so" or 
"-lmkl_lpthread".  These libraries might not exist.

On 2/12/2014 3:40 PM, Peter Blaha wrote:
> The message looks to me as if you have missed the "-" sign in front of 
> the
>  -lmkl_lpthread  statement in your linker or R_LIB line.
>
>>        We are trying to install wien2k version 13 in our system. During
>> compilation we are getting stuck due to an error message:
>>
>> *ld: can not able to find lmkl_lpthread.so*
>>
>> we have taken the following measure but get no success so far:
>> (1) checked the correctness of mkl library path in .bash_profile 
>> directory
>> (2) have done "ldconfig" once
>> (3) have converted "pthread" to "lpthread" in linker flag options
>>
>> I know that these are basically OS based questions rather than of
>> problems regarding wien2k itself, but if still there will be any
>> response that will be helpful for us.
>>
>> Thanks in advance.
>>
>> with regards,
>>
>> -- 
>> Shamik Chakrabarti
>> Senior Research Fellow
>> Dept. of Physics & Meteorology
>> Material Processing & Solid State Ionics Lab
>> IIT Kharagpur
>> Kharagpur 721302
>> INDIA



More information about the Wien mailing list