Dear Wien2kers,<br>I am trying to compile newest version of Wien2k_10 on Ubuntu 10.04 system. I met the problem as "W2kinit_tmp_.F(28): error #5102: Cannot open include file '<a href="http://mkl_vml.fi">mkl_vml.fi</a>'" during compiling. It happened on lapw1/2/3 programs.<br>
Here is detail information:<br>1) OS, processor, and compiler:<br> Ubuntu 10.04 (AMD64)<br> AMD Phenom (tm) II X2 545<br> /opt/intel/Compiler/11.1/072/bin/intel64/ifort<br> gcc (Ubuntu 4.4.3-4ubuntu5) 4.4.3<br>
2) compile specification<br> system: I Linux (Intel ifort 11.1 compiler + mkl )<br> compiler: for f90<br> /opt/intel/Compiler/11.1/072/bin/intel64/ifort<br> for C<br> gcc<br>
3) compile options<br> O Compiler options: -FR -mp1 -w -prec_div -pc80 -pad -ip -DINTEL_VML -traceback<br> L Linker Flags: $(FOPT) -L/opt/intel/Compiler/11.1/072/mkl/lib/em64t -lguide -lpthread<br>
P Preprocessor flags '-DParallel'<br> R R_LIB (LAPACK+BLAS): -L/opt/intel/Compiler/11.1/072/mkl/lib/em64t -lmkl_lapack -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -openmp -lpthread -lguide<br>
Meanwhile, I added two lines as following in ~/.bashrc file:<br> source /opt/intel/Compiler/11.1/072/bin/ifortvars.sh intel64<br> source /opt/intel/Compiler/11.1/072/mkl/tools/environment/mklvarsem64t.sh<br>and added two lines as following in /etc/ld.so.conf file<br>
/usr/lib<br> /usr/lib32<br>and loadconfig<br><br>After compiled lapw2, I got following message:<br><br>SRC_lapw0/compile.msg:W2kinit.F(28): error #5102: Cannot open include file '<a href="http://mkl_vml.fi">mkl_vml.fi</a>'<br>
SRC_lapw0/compile.msg:make[1]: *** [W2kinit.o] Error 1<br>SRC_lapw0/compile.msg:make: *** [seq] Error 2<br>SRC_lapw1/compile.msg:W2kinit_tmp_.F(28): error #5102: Cannot open include file '<a href="http://mkl_vml.fi">mkl_vml.fi</a>'<br>
SRC_lapw1/compile.msg:make[1]: *** [W2kinit.o] Error 1<br>SRC_lapw1/compile.msg:make: *** [real] Error 2<br>SRC_lapw1/compile.msg:W2kinit_tmp_.F(28): error #5102: Cannot open include file '<a href="http://mkl_vml.fi">mkl_vml.fi</a>'<br>
SRC_lapw1/compile.msg:make[1]: *** [W2kinit.o] Error 1<br>SRC_lapw1/compile.msg:make: *** [complex] Error 2<br>SRC_lapw2/compile.msg:W2kinit_tmp_.F(28): error #5102: Cannot open include file '<a href="http://mkl_vml.fi">mkl_vml.fi</a>'<br>
SRC_lapw2/compile.msg:make[1]: *** [W2kinit.o] Error 1<br>SRC_lapw2/compile.msg:make: *** [real] Error 2<br>SRC_lapw2/compile.msg:W2kinit_tmp_.F(28): error #5102: Cannot open include file '<a href="http://mkl_vml.fi">mkl_vml.fi</a>'<br>
SRC_lapw2/compile.msg:make[1]: *** [W2kinit.o] Error 1<br>SRC_lapw2/compile.msg:make: *** [complex] Error 2<br><br>I looked into the compile.msg and found the problem should be <br>"W2kinit_tmp_.F(28): error #5102: Cannot open include file '<a href="http://mkl_vml.fi">mkl_vml.fi</a>'<br>
include '<a href="http://mkl_vml.fi">mkl_vml.fi</a>'<br>---------------^<br>compilation aborted for W2kinit_tmp_.F (code 1)<br>make[1]: *** [W2kinit.o] Error 1<br>make[1]: Leaving directory `/home/guo/wien2k/SRC_lapw2'<br>
make: *** [complex] Error 2"<br><br>I check the folder and the "<a href="http://mkl_vml.fi">mkl_vml.fi</a>" file is surely located in "/opt/intel/Compiler/11.1/072/mkl/include".<br><br>SO, what can I do to resolve this problem? Any suggestion is welcomed.<br>
<br>Thank you in advance.<br>regards,<br>Guo<br><br><br><br><br><br>