[Wien] WIEN2k can not find the variable MKL_TARGET_ARCH
Gavin Abo
gsabo at crimson.ua.edu
Wed Jan 18 15:17:39 CET 2012
At the end of your .bashrc add line:
source /opt/intel/composer_xe_2011_sp1.8.273/bin/compilervars.sh ia32
or in a terminal:
export MKL_TARGET_ARCH=ia32
If your system is 64 bit, change "ia32" to "intel64".
Check if ia32 or intel64 with the "ls" command as Dr. Blaha mentioned.
Currently it should return nothing in a terminal with: echo
${MKL_TARGET_ARCH}
After the source or export above, the same command should return:
ia32
On 1/18/2012 5:52 AM, bruce.tian wrote:
> Dear all:
>
> I installed the the newest Fortran compiler composer_xe_2011_sp1.8.273
> correctly. Unfortunately when I install wien2k_11 which can not find
> the variable MKL_TARGET_ARCH. What is the reason and what shall I do?
> If one ignore the prompt at the end of the process ./siteconfig_lapw,
> some errors will be reported. I list the prompt, linker flag and
> reported errors at following:
>
> You seem to have installed the ifort compiler at
> /opt/intel/composer_xe_2011_sp1.8.273/bin/ia32/ifort
> Please remember VERSION and PATH for later reference
> Your MKLROOT variable is: /opt/intel/composer_xe_2011_sp1.8.273/mkl
> I do not find the MKL_TARGET_ARCH variable (needed only for ifort v12)
>
> Linker Flags: $(FOPT) -L$(MKLROOT)/lib/$(MKL_TARGET_ARCH)
> -pthread
>
>
> Compile time errors (if any) were:
> SRC_aim/compile.msg:make[1]: *** [aim] Error 1
> SRC_aim/compile.msg:make: *** [real] Error 2
> SRC_aim/compile.msg:make[1]: *** [aimc] Error 1
> SRC_aim/compile.msg:make: *** [complex] Error 2
> SRC_dipan/compile.msg:make: *** [dipan] Error 1
> SRC_filtvec/compile.msg:make[1]: *** [filtvec] Error 1
> SRC_filtvec/compile.msg:make: *** [real] Error 2
> SRC_filtvec/compile.msg:make[1]: *** [filtvecc] Error 1
> SRC_filtvec/compile.msg:make: *** [complex] Error 2
> SRC_lapw0/compile.msg:make[1]: *** [lapw0] Error 1
> SRC_lapw0/compile.msg:make: *** [seq] Error 2
> SRC_lapw1/compile.msg:make[1]: *** [lapw1] Error 1
> SRC_lapw1/compile.msg:make: *** [real] Error 2
> SRC_lapw1/compile.msg:make[1]: *** [lapw1c] Error 1
> SRC_lapw1/compile.msg:make: *** [complex] Error 2
> SRC_lapw2/compile.msg:make[1]: *** [lapw2] Error 1
> SRC_lapw2/compile.msg:make: *** [real] Error 2
> SRC_lapw2/compile.msg:make[1]: *** [lapw2c] Error 1
> SRC_lapw2/compile.msg:make: *** [complex] Error 2
> SRC_lapw7/compile.msg:make[1]: *** [lapw7] Error 1
> SRC_lapw7/compile.msg:make: *** [real] Error 2
> SRC_lapw7/compile.msg:make[1]: *** [lapw7c] Error 1
> SRC_lapw7/compile.msg:make: *** [complex] Error 2
> SRC_lapwdm/compile.msg:make[1]: *** [lapwdm] Error 1
> SRC_lapwdm/compile.msg:make: *** [real] Error 2
> SRC_lapwdm/compile.msg:make[1]: *** [lapwdmc] Error 1
> SRC_lapwdm/compile.msg:make: *** [complex] Error 2
> SRC_lapwso/compile.msg:make: *** [lapwso] Error 1
> SRC_mini/compile.msg:make: *** [mini] Error 1
> SRC_mixer/compile.msg:make: *** [mixer] Error 1
> SRC_pairhess/compile.msg:make: *** [pairhess] Error 1
> SRC_qtl/compile.msg:make: *** [qtl] Error 1
> SRC_structeditor/compile.msg:make[1]: *** [ncmsymmetry] Error 1
> SRC_structeditor/compile.msg:make: *** [all] Error 2
> SRC_vecpratt/compile.msg:make[1]: *** [vecpratt] Error 1
> SRC_vecpratt/compile.msg:make: *** [real] Error 2
> SRC_vecpratt/compile.msg:make[1]: *** [vecprattc] Error 1
> SRC_vecpratt/compile.msg:make: *** [complex] Error 2
> SRC_structeditor/SRC_ncmsymmetry/compile.msg:make: *** [ncmsymmetry]
> Error 1
>
>
> Thanks for your help!
>
>
>
> _______________________________________________
> Wien mailing list
> Wien at zeus.theochem.tuwien.ac.at
> http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://zeus.theochem.tuwien.ac.at/pipermail/wien/attachments/20120118/282799f4/attachment.htm>
More information about the Wien
mailing list