<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;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/mkl_vml.fi<br>-r--r--r--. 1 root root 26666 11月 17 2005 /opt/intel/mkl/8.0.1/include/mkl_vml.fi<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 mkl_blas.fi<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 mkl.fi<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 mkl_lapack.fi<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 mkl_rci.fi<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 mkl_spblas.fi<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 mkl_vml.fi<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 mkl_vsl.fi<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 mkl_vsl_subroutine.fi<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 face="Arial" size="2"> <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> 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 'mkl_vml.fi')<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/mkl_vml.fi<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 ymailto="mailto:kingslaywhx@yahoo.com" href="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 target="_blank" href="http://mkl_vml.fi">mkl_vml.fi</a><br>&gt; then<br>&gt; /opt/intel/mkl/8.0.1/include/mkl_vml.fi<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 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: Thursday, December 8, 2011 10:55 PM<br>&gt; Subject: Re: [Wien] WIEN2k_11 compilation problem(Cannot open include file<br>&gt; 'mkl_vml.fi')<br>&gt;<br>&gt; Please try<br>&gt;<br>&gt; find /opt/intel -name mkl_vml.fi<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/mkl_vml.fi<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 ymailto="mailto:kingslaywhx@yahoo.com" href="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; 'mkl_vml.fi'<br>&gt;&gt;&nbsp; &nbsp; &nbsp; &nbsp; include 'mkl_vml.fi'<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 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;&gt; http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien<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 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<br>&gt; nobody else has thought"<br>&gt; Albert Szent-Gyorgi<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; <a href="http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien" 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 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; <a href="http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien" 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>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>