<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Modify wien2k.conf, so that you have:<br>
<br>
/opt/intel/composer_xe_2011_sp1.9.293/mkl/lib/intel64<br>
/opt/intel/composer_xe_2011_sp1.9.293/compiler/lib/intel64<br>
<br>
The 2nd line will set the path to "libiomp5.so".<br>
<br>
Alternatively, you can add -static to link options and recompile.<br>
<br>
L Linker Flags: $(FOPT) -L$(MKLROOT)/lib/$(MKL_TARGET_ARCH) -pthread
<font color="#000099">-static</font><br>
<br>
Note: You can try -static-intel or -i-static, but it might not
statically link the mkl libraries like -static.<br>
<br>
On 5/26/2012 2:40 PM, Laurence Marks wrote:
<blockquote
cite="mid:CANkSMZCKGSaifY_FesKaSaE=+3q_cUHvTaCqmbpmNgAZF=6yig@mail.gmail.com"
type="cite">
<p>Note, the not found occurs in both cases. Do a make clean in
the lapw1 directory then recompile that alone. Copy it to
$WIENROOT then do ldd again. It may also be that you have
incorrect library options.</p>
<p>To avoid this I normaly use -i-static</p>
<div class="gmail_quote">On May 26, 2012 2:32 PM, "Jameson Maibam"
<<a moz-do-not-send="true"
href="mailto:j.maibam_official@yahoo.com">j.maibam_official@yahoo.com</a>>
wrote:<br type="attribution">
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div>
<div>Dear sir</div>
<div> </div>
<div>As per your instruction I type in the terminal "<span
lang="">ldd $WIENROOT/lapw0" and I got</span></div>
<div><span lang=""></span> </div>
<div><span lang=""></span> </div>
<div><span lang=""></span> </div>
<span lang=""><span lang="">
<div>[root@localhost wien2k]# ldd $WIENROOT/lapw0</div>
</span><font face="Times New Roman"><span lang="EN"><span
lang=""></span></span></font></span></div>
<div>linux-vdso.so.1 => (0x00007fff9cfff000)</div>
<div>libmkl_intel_lp64.so => not found</div>
<div>libmkl_intel_thread.so => not foundlibmkl_core.so
=> not found</div>
<div>libpthread.so.0 => /lib64/libpthread.so.0
(0x00002b843f616000)</div>
<div>libm.so.6 => /lib64/libm.so.6 (0x00002b843f833000)</div>
<div>libiomp5.so => not found</div>
<div>libdl.so.2 => /lib64/libdl.so.2 (0x00002b843fab7000)</div>
<div>libc.so.6 => /lib64/libc.so.6 (0x00002b843fcbc000)</div>
<div>libgcc_s.so.1 => /lib64/libgcc_s.so.1
(0x00002b844005d000)</div>
<div>/lib64/ld-linux-x86-64.so.2 (0x00002b843f3f4000)</div>
<span lang=""><span lang=""><span lang="">
<div> </div>
<div>Then I create a <span lang="EN">wien2k.conf file
containing "<span lang="EN">/opt/intel/composer_xe_2011_sp1.9.293/mkl/lib/intel64"
at
<span lang="EN"></span></span></span></div>
<div>cd /etc/ld.so.conf.d and loaded.</div>
<div>Then I checked again. This time I got the
following:</div>
<div> </div>
<span lang=""><span lang="">
<div>[root@localhost wien2k]# ldd $WIENROOT/lapw0</div>
</span><font face="Times New Roman"><span lang="EN"></span></font><span
lang=""></span></span></span></span></span></div>
<div><font size="3">linux-vdso.so.1 => (0x00007fff091ff000)</font></div>
<div><font face="Times New Roman" size="3"><span lang="EN"></span></font><span
lang=""></span></div>
<div><font size="3">libmkl_intel_lp64.so =>
/opt/intel/composer_xe_2011_sp1.9.293/mkl/lib/intel64/libmkl_intel_lp64.so
(0x00002b2c156be000)</font></div>
<div><font face="Times New Roman" size="3"><span lang="EN"></span></font><span
lang=""></span></div>
<div><font size="3">libmkl_intel_thread.so =>
/opt/intel/composer_xe_2011_sp1.9.293/mkl/lib/intel64/libmkl_intel_thread.so
(0x00002b2c15e71000)</font></div>
<div><font face="Times New Roman" size="3"><span lang="EN"></span></font><span
lang=""></span></div>
<div><font size="3">libmkl_core.so =>
/opt/intel/composer_xe_2011_sp1.9.293/mkl/lib/intel64/libmkl_core.so
(0x00002b2c16ece000)</font></div>
<div><font face="Times New Roman" size="3"><span lang="EN"></span></font><span
lang=""></span></div>
<div><font size="3">libpthread.so.0 =>
/lib64/libpthread.so.0 (0x00002b2c17f09000)</font></div>
<div><font face="Times New Roman" size="3"><span lang="EN"></span></font><span
lang=""></span></div>
<div><font size="3">libm.so.6 => /lib64/libm.so.6
(0x00002b2c18126000)</font></div>
<div><font face="Times New Roman" size="3"><span lang="EN"></span></font><span
lang=""></span></div>
<div><font size="3">libiomp5.so => not found</font></div>
<div><font face="Times New Roman" size="3"><span lang="EN"></span></font><span
lang=""></span></div>
<div><font size="3">libdl.so.2 => /lib64/libdl.so.2
(0x00002b2c183aa000)</font></div>
<div><font face="Times New Roman" size="3"><span lang="EN"></span></font><span
lang=""></span></div>
<div><font size="3">libc.so.6 => /lib64/libc.so.6
(0x00002b2c185af000)</font></div>
<div><font face="Times New Roman" size="3"><span lang="EN"></span></font><span
lang=""></span></div>
<div><font size="3">libgcc_s.so.1 => /lib64/libgcc_s.so.1
(0x00002b2c18950000)</font></div>
<div><font face="Times New Roman" size="3"><span lang="EN"></span></font><span
lang=""></span></div>
<div><font size="3">/lib64/ld-linux-x86-64.so.2
(0x00002b2c1549c000)</font></div>
<div> </div>
<div> </div>
<div><font size="3">This results in the following error while
running scf:</font></div>
<div> </div>
<span lang="">
<div>/home/james/wien2k/lapw0: error while loading shared
libraries: libiomp5.so: cannot open shared object file: No
such file or directory > stop error</div>
</span>
<div> </div>
<div><font size="3">Please help me.</font></div>
<div> </div>
<div><font size="3">Jameson Maibam</font></div>
<div><font size="3">Assam university</font></div>
<span lang="">
<div> </div>
</span>
</blockquote>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Wien mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Wien@zeus.theochem.tuwien.ac.at">Wien@zeus.theochem.tuwien.ac.at</a>
<a class="moz-txt-link-freetext" href="http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien">http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien</a>
</pre>
</blockquote>
<br>
</body>
</html>