<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div style="RIGHT: auto"><SPAN style="RIGHT: auto">No, last time&nbsp;i find W2kinit.F&nbsp;in system files&nbsp;and&nbsp;find it in /proc/3300/cwd. WIEN2K is put in /home/whx/wien2k<VAR id=yui-ie-cursor></VAR>&nbsp;<BR style="RIGHT: auto" class=yui-cursor></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"><FONT size=2 face=Arial>
<DIV style="BORDER-BOTTOM: #ccc 1px solid; BORDER-LEFT: #ccc 1px solid; PADDING-BOTTOM: 0px; LINE-HEIGHT: 0; MARGIN: 5px 0px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; HEIGHT: 0px; FONT-SIZE: 0px; BORDER-TOP: #ccc 1px solid; BORDER-RIGHT: #ccc 1px solid; PADDING-TOP: 0px" class=hr readonly="true" contenteditable="false"></DIV><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> Friday, December 9, 2011 5:20 PM<BR><B><SPAN style="FONT-WEIGHT: bold">Subject:</SPAN></B> Re: [Wien] WIEN2k_11 compilation problem(Cannot open include file 'mkl_vml.fi')<BR></FONT><BR>
<DIV style="RIGHT: auto" id=yiv1881290458>
<div>Did you put Wien2k in /proc?</div>
<div>---------------------------<BR>Professor Laurence Marks<BR>Department of Materials Science and Engineering<BR>Northwestern University<BR><A href="http://www.numis.northwestern.edu/" rel=nofollow target=_blank>www.numis.northwestern.edu</A> 1-847-491-3996<BR>"Research is to see what everybody else has seen, and to think what nobody else has thought"<BR>Albert Szent-Gyorgi<BR></div>
<DIV style="RIGHT: auto" class=yiv1881290458gmail_quote>On Dec 9, 2011 1:21 AM, "W Hx" &lt;<A href="mailto:kingslaywhx@yahoo.com" rel=nofollow target=_blank ymailto="mailto:kingslaywhx@yahoo.com">kingslaywhx@yahoo.com</A>&gt; wrote:<BR>
<BLOCKQUOTE style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex; RIGHT: auto" class=yiv1881290458gmail_quote>
<DIV style="RIGHT: auto">
<DIV style="BACKGROUND-COLOR: #fff; FONT-FAMILY: times new roman, new york, times, serif; COLOR: #000; FONT-SIZE: 12pt">
<DIV><SPAN>Dear Marks,</SPAN></DIV>
<DIV><SPAN>I have tried and the following is the result. The result seems reasonable.&nbsp;</SPAN></DIV>
<DIV><SPAN>P.S.: I tried to compile WIN2K_08 version on the same computer, all are normal and compiled successfully.<BR></SPAN></DIV>
<DIV><SPAN><BR></SPAN></DIV>[whx@localhost ~]$ source /opt/intel/mkl/8.0.1/tools/environment/mklvarsem64t.sh<BR>[whx@localhost ~]$ env | grep -e MKL -e INCLUDE<BR>INCLUDE=/opt/intel/mkl/8.0.1/include:/opt/intel/mkl/8.0.1/include:<BR>[whx@localhost ~]$ ls -l /opt/intel/mkl/8.0.1/include /opt/intel/mkl/8.0.1/include/<A href="http://mkl_vml.fi/" rel=nofollow target=_blank>mkl_vml.fi</A><BR>-r--r--r--. 1 root root 26666 11月 17 2005 /opt/intel/mkl/8.0.1/include/<A href="http://mkl_vml.fi/" rel=nofollow target=_blank>mkl_vml.fi</A><BR>/opt/intel/mkl/8.0.1/include:<BR>总用量 1668<BR>-r--r--r--. 1 root root&nbsp;&nbsp; 9750 11月 17 2005 fftw3.h<BR>-r--r--r--. 1 root root&nbsp; 63342 11月 17 2005 mkl_blas.f90<BR>-r--r--r--. 1 root root&nbsp;&nbsp; 7118 11月 17 2005 <A href="http://mkl_blas.fi/" rel=nofollow target=_blank>mkl_blas.fi</A><BR>-r--r--r--. 1 root root&nbsp; 36157 11月 17 2005 mkl_blas.h<BR>-r--r--r--. 1 root root&nbsp; 36348 11月 17 2005
 mkl_cblas.h<BR>-r--r--r--. 1 root root&nbsp; 25614 11月 17 2005 mkl_dfti.f90<BR>-r--r--r--. 1 root root&nbsp;&nbsp; 7527 11月 17 2005 mkl_dfti.h<BR>-r--r--r--. 1 root root&nbsp;&nbsp; 6651 11月 17 2005 mkl_dss.f77<BR>-r--r--r--. 1 root root&nbsp;&nbsp; 9650 11月 17 2005 mkl_dss.f90<BR>-r--r--r--. 1 root root&nbsp;&nbsp; 7577 11月 17 2005 mkl_dss.h<BR>-r--r--r--. 1 root root&nbsp;&nbsp; 3603 11月 17 2005 mkl_example.h<BR>-r--r--r--. 1 root root&nbsp;&nbsp; 4353 11月 17 2005 mkl_fft.h<BR>-r--r--r--. 1 root root&nbsp;&nbsp; 1622 11月 17 2005 <A href="http://mkl.fi/" rel=nofollow target=_blank>mkl.fi</A><BR>-r--r--r--. 1 root root&nbsp;&nbsp; 1741 11月 17 2005 mkl.h<BR>-r--r--r--. 1 root root&nbsp; 38504 11月 17 2005 mkl_interval.f90<BR>-r--r--r--. 1 root root 482222 11月 17 2005 mkl_lapack.f90<BR>-r--r--r--. 1 root root 254723 11月 17 2005 <A href="http://mkl_lapack.fi/" rel=nofollow target=_blank>mkl_lapack.fi</A><BR>-r--r--r--. 1 root root
 367954 11月 17 2005 mkl_lapack.h<BR>-r--r--r--. 1 root root&nbsp;&nbsp; 1570 11月 17 2005 mkl_pardiso.f77<BR>-r--r--r--. 1 root root&nbsp;&nbsp; 3110 11月 17 2005 mkl_pardiso.f90<BR>-r--r--r--. 1 root root&nbsp;&nbsp; 2176 11月 17 2005 mkl_pardiso.h<BR>-r--r--r--. 1 root root&nbsp;&nbsp; 1610 11月 17 2005 <A href="http://mkl_rci.fi/" rel=nofollow target=_blank>mkl_rci.fi</A><BR>-r--r--r--. 1 root root&nbsp;&nbsp; 2632 11月 17 2005 mkl_rci.h<BR>-r--r--r--. 1 root root&nbsp;&nbsp; 1639 11月 17 2005 mkl_solver.f77<BR>-r--r--r--. 1 root root&nbsp;&nbsp; 1645 11月 17 2005 mkl_solver.f90<BR>-r--r--r--. 1 root root&nbsp;&nbsp; 1681 11月 17 2005 mkl_solver.h<BR>-r--r--r--. 1 root root&nbsp; 12038 11月 17 2005 <A href="http://mkl_spblas.fi/" rel=nofollow target=_blank>mkl_spblas.fi</A><BR>-r--r--r--. 1 root root&nbsp; 10693 11月 17 2005 mkl_spblas.h<BR>-r--r--r--. 1 root root&nbsp;&nbsp; 2162 11月 17 2005 mkl_types.h<BR>-r--r--r--. 1 root
 root&nbsp;&nbsp; 6310 11月 17 2005 mkl_vml_defines.h<BR>-r--r--r--. 1 root root&nbsp; 26666 11月 17 2005 <A href="http://mkl_vml.fi/" rel=nofollow target=_blank>mkl_vml.fi</A><BR>-r--r--r--. 1 root root&nbsp; 18500 11月 17 2005 mkl_vml_functions.h<BR>-r--r--r--. 1 root root&nbsp;&nbsp; 1590 11月 17 2005 mkl_vml.h<BR>-r--r--r--. 1 root root&nbsp;&nbsp; 2561 11月 17 2005 mkl_vml_types.h<BR>-r--r--r--. 1 root root&nbsp; 17217 11月 17 2005 mkl_vsl_defines.h<BR>-r--r--r--. 1 root root&nbsp; 57582 11月 17 2005 <A href="http://mkl_vsl.fi/" rel=nofollow target=_blank>mkl_vsl.fi</A><BR>-r--r--r--. 1 root root&nbsp; 28701 11月 17 2005 mkl_vsl_functions.h<BR>-r--r--r--. 1 root root&nbsp;&nbsp; 1535 11月 17 2005 mkl_vsl.h<BR>-r--r--r--. 1 root root&nbsp; 34798 11月 17 2005 <A href="http://mkl_vsl_subroutine.fi/" rel=nofollow target=_blank>mkl_vsl_subroutine.fi</A><BR>-r--r--r--. 1 root root&nbsp;&nbsp; 4939 11月 17 2005 mkl_vsl_types.h<BR><BR>
<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"><FONT size=2 face=Arial>
<DIV style="BORDER-BOTTOM: #ccc 1px solid; BORDER-LEFT: #ccc 1px solid; PADDING-BOTTOM: 0px; LINE-HEIGHT: 0; MARGIN: 5px 0px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; HEIGHT: 0px; FONT-SIZE: 0px; BORDER-TOP: #ccc 1px solid; BORDER-RIGHT: #ccc 1px solid; PADDING-TOP: 0px" class=hr readonly="true" contenteditable="false"></DIV><B><SPAN style="FONT-WEIGHT: bold">From:</SPAN></B> Laurence Marks &lt;<A href="mailto:L-marks@northwestern.edu" rel=nofollow target=_blank ymailto="mailto:L-marks@northwestern.edu">L-marks@northwestern.edu</A>&gt;<BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> A Mailing list for WIEN2k users &lt;<A href="mailto:wien@zeus.theochem.tuwien.ac.at" rel=nofollow target=_blank ymailto="mailto:wien@zeus.theochem.tuwien.ac.at">wien@zeus.theochem.tuwien.ac.at</A>&gt; <BR><B><SPAN style="FONT-WEIGHT: bold">Sent:</SPAN></B> Thursday, December 8, 2011 11:48 PM<BR><B><SPAN style="FONT-WEIGHT: bold">Subject:</SPAN></B> Re: [Wien] WIEN2k_11
 compilation problem(Cannot open include file '<A href="http://mkl_vml.fi/" rel=nofollow target=_blank>mkl_vml.fi</A>')<BR></FONT><BR>Let's hold on the replacement for the moment as you seem to have the<BR>file so something else is going wrong.<BR><BR>Try<BR>source /opt/intel/mkl/8.0.1/tools/environment/mklvarsem64t.sh<BR>env | grep -e MKL -e INCLUDE<BR><BR>Then see if INCLUDE is properly set to /opt/intel/mkl/8.0.1/include<BR><BR>and<BR>ls -l /opt/intel/mkl/8.0.1/include /opt/intel/mkl/8.0.1/include/<A href="http://mkl_vml.fi/" rel=nofollow target=_blank>mkl_vml.fi</A><BR><BR>to check that you have the correct permissions.<BR><BR>N.B., did you install Wien2k in&nbsp; /proc/3300/cwd ? This is a strange<BR>place to put it, and perhaps very dangerous as well as /proc is a<BR>system directory -- this might explain some things. A reasonable place<BR>is in /opt or /usr/local (assuming that you have root access).<BR><BR>2011/12/8 W Hx &lt;<A
 href="mailto:kingslaywhx@yahoo.com" rel=nofollow target=_blank ymailto="mailto:kingslaywhx@yahoo.com">kingslaywhx@yahoo.com</A>&gt;:<BR>&gt; Dear Marks,<BR>&gt; Thank you very much for your quick answer.<BR>&gt; I run<BR>&gt; find /opt/intel -name <A href="http://mkl_vml.fi/" rel=nofollow target=_blank>mkl_vml.fi</A><BR>&gt; then<BR>&gt; /opt/intel/mkl/8.0.1/include/<A href="http://mkl_vml.fi/" rel=nofollow target=_blank>mkl_vml.fi</A><BR>&gt; I check it and the file is present.<BR>&gt;<BR>&gt; If you do not have the file it wants, copy W2kinit.F to W2kinit.F_old<BR>&gt; and replace it with the attached in SRC_lapw[0-2], SRC_mixer and<BR>&gt; SRC_vecpratt. I think this should be safe, but please confirm that<BR>&gt; everything runs.<BR>&gt;<BR>&gt; Do you mean replace the file W2kinit.F in /proc/3300/cwd with W2kinit.F in<BR>&gt; SRC_lapw[0-2], SRC_mixer and SRC_vecpratt?<BR>&gt;<BR>&gt; ________________________________<BR>&gt; From: Laurence Marks
 &lt;<A href="mailto:L-marks@northwestern.edu" rel=nofollow target=_blank ymailto="mailto:L-marks@northwestern.edu">L-marks@northwestern.edu</A>&gt;<BR>&gt; To: A Mailing list for WIEN2k users &lt;<A href="mailto:wien@zeus.theochem.tuwien.ac.at" rel=nofollow target=_blank ymailto="mailto:wien@zeus.theochem.tuwien.ac.at">wien@zeus.theochem.tuwien.ac.at</A>&gt;<BR>&gt; Sent: Thursday, December 8, 2011 10:55 PM<BR>&gt; Subject: Re: [Wien] WIEN2k_11 compilation problem(Cannot open include file<BR>&gt; '<A href="http://mkl_vml.fi/" rel=nofollow target=_blank>mkl_vml.fi</A>')<BR>&gt;<BR>&gt; Please try<BR>&gt;<BR>&gt; find /opt/intel -name <A href="http://mkl_vml.fi/" rel=nofollow target=_blank>mkl_vml.fi</A><BR>&gt;<BR>&gt; I think the file is not present on your system, and the call to<BR>&gt; vmlsetmode is not present in your older version of ifort. Checking one<BR>&gt; of my computers it looks like it is in cmkl for version 9.1, i.e. at<BR>&gt;<BR>&gt;
 /opt/intel/cmkl/9.1.023/include/<A href="http://mkl_vml.fi/" rel=nofollow target=_blank>mkl_vml.fi</A><BR>&gt;<BR>&gt; If you do not have the file it wants, copy W2kinit.F to W2kinit.F_old<BR>&gt; and replace it with the attached in SRC_lapw[0-2], SRC_mixer and<BR>&gt; SRC_vecpratt. I think this should be safe, but please confirm that<BR>&gt; everything runs.<BR>&gt;<BR>&gt; Or...update your compiler (but check the many recent emails about<BR>&gt; which release of 12 to use).<BR>&gt;<BR>&gt; 2011/12/8 W Hx &lt;<A href="mailto:kingslaywhx@yahoo.com" rel=nofollow target=_blank ymailto="mailto:kingslaywhx@yahoo.com">kingslaywhx@yahoo.com</A>&gt;:<BR>&gt;&gt; Dear users,<BR>&gt;&gt;<BR>&gt;&gt; I tried to compile WIEN2k_11 on my computer(Red Hat Enterprise 6.1), but<BR>&gt;&gt; the<BR>&gt;&gt; following error appears:<BR>&gt;&gt; W2kinit.F: COMPLEX version extracted<BR>&gt;&gt; ifort -FR -mp1 -w -prec_div -pc80 -pad -ip -DINTEL_VML -traceback -c<BR>&gt;&gt;
 W2kinit_tmp_.F<BR>&gt;&gt; fortcom: Error: W2kinit_tmp_.F, line 28: Cannot open include file<BR>&gt;&gt; '<A href="http://mkl_vml.fi/" rel=nofollow target=_blank>mkl_vml.fi</A>'<BR>&gt;&gt;&nbsp; &nbsp; &nbsp; &nbsp; include '<A href="http://mkl_vml.fi/" rel=nofollow target=_blank>mkl_vml.fi</A>'<BR>&gt;&gt; ---------------^<BR>&gt;&gt; compilation aborted for W2kinit_tmp_.F (code 1)<BR>&gt;&gt; make[1]: *** [W2kinit.o] error 1<BR>&gt;&gt; make[1]: Leaving directory `/home/whx/Wien2k/SRC_lapw1'<BR>&gt;&gt; make: *** [complex] error 2<BR>&gt;&gt;<BR>&gt;&gt; For that I<BR>&gt;&gt; source /opt/intel/mkl/8.0.1/tools/environment/mklvarsem64t.sh<BR>&gt;&gt; and recompile, but the same errors appeared. I searched the error in<BR>&gt;&gt; mailing-list, there are no other suggestions. I really appreciate any<BR>&gt;&gt; &nbsp;help and advice. If you need additional information on my<BR>&gt;&gt; compilation options, please let me know.<BR>&gt;&gt;<BR>&gt;&gt; In
 addition .bashrc file:<BR>&gt;&gt;<BR>&gt;&gt; PATH="/opt/intel/fce/9.0/bin:$PATH"<BR>&gt;&gt; PATH="/opt/intel/idbe/9.0/bin:$PATH"<BR>&gt;&gt; export<BR>&gt;&gt;&nbsp; PATH<BR>&gt;&gt; #<BR>&gt;&gt; LD_LIBRARY_PATH="/opt/intel/fce/9.0/lib:$LD_LIBRARY_PATH"<BR>&gt;&gt; LD_LIBRARY_PATH="/opt/intel/mkl/8.0.1/lib/em64t:$LD_LIBRARY_PATH"<BR>&gt;&gt; export<BR>&gt;&gt;&nbsp; LD_LIBRARY_PATH<BR>&gt;&gt; #<BR>&gt;&gt; MANPATH="/opt/intel/fce/9.0/man:${MANPATH}"<BR>&gt;&gt; MANPATH="/opt/intel/idbe/9.0/man:${MANPATH}"<BR>&gt;&gt; export MANPATH<BR>&gt;&gt; #<BR>&gt;&gt; INCLUDE="/opt/intel/mkl/8.0.1/include":$INCLUDE<BR>&gt;&gt; export INCLUDE<BR>&gt;&gt; #<BR>&gt;&gt; INTEL_LICENSE_FILE="/opt/intel/licenses"<BR>&gt;&gt; export INTEL_LICENSE_FILE<BR>&gt;&gt;<BR>&gt;&gt;<BR>&gt;&gt; _______________________________________________<BR>&gt;&gt; Wien mailing list<BR>&gt;&gt; <A href="mailto:Wien@zeus.theochem.tuwien.ac.at" rel=nofollow target=_blank
 ymailto="mailto:Wien@zeus.theochem.tuwien.ac.at">Wien@zeus.theochem.tuwien.ac.at</A><BR>&gt;&gt; <A href="http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien" rel=nofollow target=_blank>http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien</A><BR>&gt;&gt;<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt; --<BR>&gt; Professor Laurence Marks<BR>&gt; Department of Materials Science and Engineering<BR>&gt; Northwestern University<BR>&gt; <A href="http://www.numis.northwestern.edu/" rel=nofollow target=_blank>www.numis.northwestern.edu</A> 1-847-491-3996<BR>&gt; "Research is to see what everybody else has seen, and to think what<BR>&gt; nobody else has thought"<BR>&gt; Albert Szent-Gyorgi<BR>&gt;<BR>&gt; _______________________________________________<BR>&gt; Wien mailing list<BR>&gt; <A href="mailto:Wien@zeus.theochem.tuwien.ac.at" rel=nofollow target=_blank ymailto="mailto:Wien@zeus.theochem.tuwien.ac.at">Wien@zeus.theochem.tuwien.ac.at</A><BR>&gt; <A
 href="http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien" rel=nofollow target=_blank>http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien</A><BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt; _______________________________________________<BR>&gt; Wien mailing list<BR>&gt; <A href="mailto:Wien@zeus.theochem.tuwien.ac.at" rel=nofollow target=_blank ymailto="mailto:Wien@zeus.theochem.tuwien.ac.at">Wien@zeus.theochem.tuwien.ac.at</A><BR>&gt; <A href="http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien" rel=nofollow target=_blank>http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien</A><BR>&gt;<BR><BR><BR><BR>-- <BR>Professor Laurence Marks<BR>Department of Materials Science and Engineering<BR>Northwestern University<BR><A href="http://www.numis.northwestern.edu/" rel=nofollow target=_blank>www.numis.northwestern.edu</A> 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 href="mailto:Wien@zeus.theochem.tuwien.ac.at" rel=nofollow target=_blank ymailto="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" rel=nofollow target=_blank>http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien</A><BR><BR><BR></DIV></DIV></DIV></DIV><BR>_______________________________________________<BR>Wien mailing list<BR><A href="mailto:Wien@zeus.theochem.tuwien.ac.at" rel=nofollow target=_blank ymailto="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" rel=nofollow target=_blank>http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien</A><BR><BR></BLOCKQUOTE></DIV></DIV><BR>_______________________________________________<BR>Wien mailing list<BR><A
 href="mailto:Wien@zeus.theochem.tuwien.ac.at" ymailto="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>