[Wien] Compilation problem due to not able to find path for mkl libraries
shamik chakrabarti
shamikphy at gmail.com
Thu Feb 13 08:50:48 CET 2014
Dear wien2k users,
Our problem is solved. There is an error of
"space" in R_LIBS option.
Thanks for your responses.
with regards,
On Thu, Feb 13, 2014 at 12:12 PM, shamik chakrabarti <shamikphy at gmail.com>wrote:
> Dear wien2k users,
>
> Thanks for your response. But still we have not able to solve the
> problem.We are using recent version of compiler consists of both fortran
> and mkl library: Composer_xe_2013_Sp1.1.106. We are using Red-Hat linux. We
> are installing wien2k 13 and have set the following options:
>
> FOPT:-FR -mp1 -w -prec_div -pc80 -pad -ip -traceback -assume buffered_io
> LDFLAGS:$(FOPT) -L$(MKLROOT)/lib/$(MKL_TARGET_ARCH) -lpthread
> DPARALLEL:'-DParallel'
> R_LIBS:-L/opt/intel/composer_xe_2013_sp1.1.106/mkl/lib/intel64-lmkl_intel_lp64
> -lmkl_intel_thread -lmkl_core -lpthread
>
> we have set the proper path of ifort and mkl in .bash_profile and in
> ld.so.conf. Compiler has been installed properly and we also have already
> done ldconfig.
>
> The error during compilation has came in this form:
> ld: can not find lmkl_intel_lp64.....
>
> Looking forward to your response.
>
> with regards,
>
>
>
>
> On Thu, Feb 13, 2014 at 4:49 AM, Gavin Abo <gsabo at crimson.ua.edu> wrote:
>
>> 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
>>>>
>>>
>> _______________________________________________
>> Wien mailing list
>> Wien at zeus.theochem.tuwien.ac.at
>> http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
>> SEARCH the MAILING-LIST at: http://www.mail-archive.com/
>> wien at zeus.theochem.tuwien.ac.at/index.html
>>
>
>
>
> --
> Shamik Chakrabarti
> Senior Research Fellow
> Dept. of Physics & Meteorology
> Material Processing & Solid State Ionics Lab
> IIT Kharagpur
> Kharagpur 721302
> INDIA
>
--
Shamik Chakrabarti
Senior Research Fellow
Dept. of Physics & Meteorology
Material Processing & Solid State Ionics Lab
IIT Kharagpur
Kharagpur 721302
INDIA
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://zeus.theochem.tuwien.ac.at/pipermail/wien/attachments/20140213/0a251d44/attachment.htm>
More information about the Wien
mailing list