<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>Dear Laurence,</span></div><div><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Thank you very much. It woks using -i-static.</span></div><div><span><br></span></div><div><span>All the best</span></div><div><span>Hazem</span></div><div><br></div>  <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "> <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "> <div dir="ltr"> <font size="2" face="Arial"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Laurence Marks &lt;L-marks@northwestern.edu&gt;<br> <b><span style="font-weight: bold;">To:</span></b> A Mailing list for WIEN2k users &lt;wien@zeus.theochem.tuwien.ac.at&gt; <br> <b><span style="font-weight: bold;">Sent:</span></b> Tuesday, August 7, 2012
 10:59 AM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [Wien] lapw1c error<br> </font> </div> <br>
ssh running_node&nbsp; ldd $WIENROOT/lapw1c<br>http://linux.about.com/library/cmd/blcmdl1_ldd.htm<br>http://www.cyberciti.biz/tips/linux-shared-library-management.html<br>http://www.wien2k.at/reg_user/faq/ifort.html<br>The sections on shared libraries in<br>http://www.ghfecher.de/Fecher_CompileIntel.pdf<br><br>On Tue, Aug 7, 2012 at 9:35 AM, hazem salem &lt;<a ymailto="mailto:salemhadihazem@yahoo.com" href="mailto:salemhadihazem@yahoo.com">salemhadihazem@yahoo.com</a>&gt; wrote:<br>&gt; thank you, but i checked on the running nodes and libmkl_intel_lp64.so<br>&gt; exists in the right path.<br>&gt;<br>&gt;<br>&gt;<br>&gt; ________________________________<br>&gt; From: Laurence Marks &lt;<a ymailto="mailto:L-marks@northwestern.edu" href="mailto:L-marks@northwestern.edu">L-marks@northwestern.edu</a>&gt;<br>&gt; To: A Mailing list for WIEN2k users &lt;<a ymailto="mailto:wien@zeus.theochem.tuwien.ac.at"
 href="mailto:wien@zeus.theochem.tuwien.ac.at">wien@zeus.theochem.tuwien.ac.at</a>&gt;<br>&gt; Sent: Tuesday, August 7, 2012 8:04 AM<br>&gt; Subject: Re: [Wien] lapw1c error<br>&gt;<br>&gt; This has been covered numerous times on the list. You have some combination<br>&gt; of an incorrect LD_LIBRARY_PATH, incorrect ldd on the nodes running the<br>&gt; parallel tasks, incorrect .bashrc. The simplest solution is to use static<br>&gt; compilation, for instance -i-static and/or look at the Intel linker advisor<br>&gt; page (google it).<br>&gt; ---------------------------<br>&gt; Professor Laurence Marks<br>&gt; Department of Materials Science and Engineering<br>&gt; Northwestern University<br>&gt; <a target="_blank" href="http://www.numis.northwestern.edu/">www.numis.northwestern.edu</a> 1-847-491-3996<br>&gt; "Research is to see what everybody else has seen, and to think what nobody<br>&gt; else has thought"<br>&gt; Albert Szent-Gyorgi<br>&gt; On Aug 7,
 2012 6:24 AM, "hazem salem" &lt;<a ymailto="mailto:salemhadihazem@yahoo.com" href="mailto:salemhadihazem@yahoo.com">salemhadihazem@yahoo.com</a>&gt; wrote:<br>&gt;<br>&gt; Dear Wien users,<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; I compiled&nbsp; WIEN2k_12 using the following<br>&gt; settings:<br>&gt;<br>&gt; Current settings:<br>&gt;&nbsp; O&nbsp;  Compiler options:&nbsp; &nbsp; &nbsp; &nbsp; -FR -mp1 -w -prec_div -pc80 -pad -ip<br>&gt; -DINTEL_VML -traceback<br>&gt;&nbsp; L&nbsp;  Linker Flags:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $(FOPT)<br>&gt; -L/opt/composer_xe_2011_sp1.8.273/mkl/lib/intel64/ -lpthread<br>&gt;&nbsp; P&nbsp;  Preprocessor flags&nbsp; &nbsp; &nbsp;  '-DParallel'<br>&gt;&nbsp; R&nbsp;  R_LIB (LAPACK+BLAS):&nbsp; &nbsp;  -lmkl_lapack95_lp64 -lmkl_intel_lp64<br>&gt; -lmkl_intel_thread -lmkl_core -openmp -lpthread<br>&gt;<br>&gt; RP&nbsp; RP_LIB(SCALAPACK+PBLAS):
 -L<br>&gt; /opt/composer_xe_2011_sp1.8.273/mkl/lib/intel64/ -lmkl_scalapack_lp64<br>&gt; -lmkl_solver_lp64 -lmkl_blacs_lp64 -L/opt/fftw/lib/ -lfftw3_mpi -lfftw3<br>&gt; $(R_LIBS)<br>&gt;&nbsp; &nbsp; &nbsp; FP&nbsp; FPOPT(par.comp.options): -FR -mp1 -w -prec_div -pc80 -pad -ip<br>&gt; -DINTEL_VML -DFFTW3 -traceback<br>&gt;&nbsp; &nbsp; &nbsp; MP&nbsp; MPIRUN commando&nbsp; &nbsp; &nbsp; &nbsp; : mpirun -np _NP_ -machinefile _HOSTS_<br>&gt; _EXEC_<br>&gt;<br>&gt;<br>&gt;<br>&gt; The sequential version works well.&nbsp; BUT the parallel does not. I have the<br>&gt; following message:<br>&gt;<br>&gt; lapw1c: error while loading shared libraries: libmkl_intel_lp64.so: cannot<br>&gt; open shared object file: No such file or directory<br>&gt;<br>&gt;<br>&gt;<br>&gt; So what is the problem? do I miss something?<br>&gt;<br>&gt; Thanks<br>&gt; Hazem<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt; _______________________________________________<br>&gt; Wien mailing
 list<br>&gt; <a ymailto="mailto:Wien@zeus.theochem.tuwien.ac.at" href="mailto:Wien@zeus.theochem.tuwien.ac.at">Wien@zeus.theochem.tuwien.ac.at</a><br>&gt; http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien<br>&gt;<br>&gt;<br><br><br><br>-- <br>Professor Laurence Marks<br>Department of Materials Science and Engineering<br>Northwestern University<br>www.numis.northwestern.edu 1-847-491-3996<br>"Research is to see what everybody else has seen, and to think what<br>nobody else has thought"<br>Albert Szent-Gyorgi<br>_______________________________________________<br>Wien mailing list<br><a ymailto="mailto:Wien@zeus.theochem.tuwien.ac.at" href="mailto:Wien@zeus.theochem.tuwien.ac.at">Wien@zeus.theochem.tuwien.ac.at</a><br><a href="http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien" target="_blank">http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien</a><br><br><br> </div> </div>  </div></body></html>