Hi Stefaan,<br><br>Thanks for your reply. I tried with the suggestions you gave. However, it was hard for me to follow. However, I tried with few but I could not make it work. I see errors in compilation. Could you suggest what options I should choose for these settings for my machine type:  
<br><br>Machine:&nbsp; <b>Dual Core AMD Opteron(tm) Processor 265, </b>It is x86_64.<br><br>Used settings:
<br>&nbsp;O&nbsp;&nbsp; Compiler options:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -FR -mp1 -w -prec_div -pc80 -pad -ip -DINTEL_VML<br>&nbsp;L&nbsp;&nbsp; Linker Flags:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $(FOPT) -L/opt/intel/mkl/9.0/lib/64 -lpthread<br>&nbsp;P&nbsp;&nbsp; Preprocessor flags&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &#39;-DParallel&#39;<br>
&nbsp;R&nbsp;&nbsp; R_LIB (LAPACK+BLAS):&nbsp;&nbsp;&nbsp;&nbsp; -L/opt/intel/mkl/9.1.023/lib/64 -lmkl_lapack -lmkl_64<br><br>Thanks in advance.<br><br>Zubaer<br><br><br><br><br><br><div class="gmail_quote">On Jan 7, 2008 1:43 AM, Stefaan Cottenier &lt;
<a href="mailto:Stefaan.Cottenier@fys.kuleuven.be" target="_blank">Stefaan.Cottenier@fys.kuleuven.be</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">


<br>1) General reply: check <a href="http://www.wien2k.at/reg_user/faq/" target="_blank">http://www.wien2k.at/reg_user/faq/</a>, in<br>particular <a href="http://www.ghfecher.de/html/bandstructure.html" target="_blank">http://www.ghfecher.de/html/bandstructure.html
</a><br><br>2) More specific: you are probably mixing 32 and 64 bit. You try to<br>link against a 64 bit library (mkl_lapack64). Make sure that either<br>you compile with 64 bit options, or link against the 32 bit lapack
<br>
(available in (....)/mkl/9.0/lib/32)<br><br>Stefaan<br><div><div></div><div><br>Quoting zubaer &lt;<a href="mailto:zubaexy@gmail.com" target="_blank">zubaexy@gmail.com</a>&gt;:<br><br>&gt; Hi,<br>&gt; I am a new and novice user of WIEN2k. While compilation I found the
<br>&gt; following errors. I checked the files inside the different directories<br>&gt; listed to contain errors and found a message:<br>&gt;<br>&gt; *ld: skipping incompatible /opt/intel/mkl/9.0/lib/em64t/libmkl_lapack64.so
<br>&gt; when searching for -lmkl_lapack64<br>&gt; ld: cannot find -lmkl_lapack64*<br>&gt;<br>&gt; Please note that I installed MKL9.0. How could I solve the problem. How<br>&gt; could I make *-lmkl_lapack64 *available? Seems like I am having a very silly
<br>&gt; error.<br>&gt;<br>&gt; Could anyone help me out.<br>&gt;<br>&gt; Thanks,<br>&gt; Zubaer<br>&gt; UIUC, USA<br>&gt;<br>&gt;<br>&gt; *Errors:*<br>&gt; SRC_aim/compile.msg:make[1]: *** [aim] Error 1<br>&gt; SRC_aim/compile.msg:make: *** [real] Error 2
<br>&gt; SRC_aim/compile.msg:make[1]: *** [aimc] Error 1<br>&gt; SRC_aim/compile.msg:make: *** [complex] Error 2<br>&gt; SRC_filtvec/compile.msg:make[1]: *** [filtvec] Error 1<br>&gt; SRC_filtvec/compile.msg:make: *** [real] Error 2
<br>&gt; SRC_filtvec/compile.msg:make[1]: *** [filtvecc] Error 1<br>&gt; SRC_filtvec/compile.msg:make: *** [complex] Error 2<br>&gt; SRC_lapw1/compile.msg:make[1]: *** [lapw1] Error 1<br>&gt; SRC_lapw1/compile.msg:make: *** [real] Error 2
<br>&gt; SRC_lapw1/compile.msg:make[1]: *** [lapw1c] Error 1<br>&gt; SRC_lapw1/compile.msg:make: *** [complex] Error 2<br>&gt; SRC_lapw2/compile.msg:make[1]: *** [lapw2] Error 1<br>&gt; SRC_lapw2/compile.msg:make: *** [real] Error 2
<br>&gt; SRC_lapw2/compile.msg:make[1]: *** [lapw2c] Error 1<br>&gt; SRC_lapw2/compile.msg:make: *** [complex] Error 2<br>&gt; SRC_lapw7/compile.msg:make[1]: *** [lapw7] Error 1<br>&gt; SRC_lapw7/compile.msg:make: *** [real] Error 2
<br>&gt; SRC_lapw7/compile.msg:make[1]: *** [lapw7c] Error 1<br>&gt; SRC_lapw7/compile.msg:make: *** [complex] Error 2<br>&gt; SRC_lapwdm/compile.msg:make[1]: *** [lapwdm] Error 1<br>&gt; SRC_lapwdm/compile.msg:make: *** [real] Error 2
<br>&gt; SRC_lapwdm/compile.msg:make[1]: *** [lapwdmc] Error 1<br>&gt; SRC_lapwdm/compile.msg:make: *** [complex] Error 2<br>&gt; SRC_lapwso/compile.msg:make: *** [lapwso] Error 1<br>&gt; SRC_mini/compile.msg:make: *** [mini] Error 1
<br>&gt; SRC_mixer/compile.msg:make: *** [mixer] Error 1<br>&gt; SRC_pairhess/compile.msg:make: *** [pairhess] Error 1<br>&gt; SRC_qtl/compile.msg:make: *** [qtl] Error 1<br>&gt; SRC_structeditor/SRC_ncmsymmetry/compile.msg:make: *** [ncmsymmetry] Error 1
<br>&gt;<br><br><br><br></div></div>--<br>Stefaan Cottenier<br>Computational Materials Engineering (CME) &amp;<br>Center for Computational Engineering Science (CCES)<br>RWTH Aachen University<br>Mauerstrasse 5<br>DE-52064 Aachen
<br>Germany<br><br>e-mail: <a href="mailto:stefaan.cottenier@fys.kuleuven.be" target="_blank">stefaan.cottenier@fys.kuleuven.be</a> (preferred)<br> &nbsp; &nbsp; &nbsp; &nbsp; <a href="mailto:cottenier@ghi.rwth-aachen.de" target="_blank">cottenier@ghi.rwth-aachen.de
</a> (avoid)
<br><br><br>Disclaimer: <a href="http://www.kuleuven.be/cwis/email_disclaimer.htm" target="_blank">http://www.kuleuven.be/cwis/email_disclaimer.htm</a><br><br>_______________________________________________<br>Wien mailing list
<br><a href="mailto:Wien@zeus.theochem.tuwien.ac.at" target="_blank">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></blockquote></div><br>