24小时热门版块排行榜    

Znn3bq.jpeg
查看: 475  |  回复: 3
当前主题已经存档。
当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖

Wanghui6383

银虫 (正式写手)

[交流] 【求助】wien2k编译

我的配置:Xeon5420 cpu两个,8GECC内存,华硕DBSV-DX
我的软件:
l_fc_p_10.1.021.tar.gz
l_mkl_p_10.0.2.018.tgz
WIEN2k_08.tar
编译过程按照版主wuli8的建议:

###############################################
###############################################
###############################################
Howto-WIEN2k v 0.12 May 8 2006
=============================

0. make sure you got some good compiler and libraries,
   e.g. ifort9 and mkl8 or later (free for academic use from intel)
   on your computer

   If you are the administrator of the computer update
   '/etc/ld.so.conf' with paths to the libraries you are using:
   /opt/intel/fc/10.1.021/lib
   /opt/intel/mkl/10.0.2.018/lib/32
   (just an example above) and run 'ldconfig'

   check that the compiler is in your path
   (if you enter 'ifort' is it found?)

   
1. copy a recent distribution of WIEN2k, for example
   'WIEN2k_06.2_060309.tar' located at '/HOME/ikeno' on "earth"
   or at '/home/weine' on "earth"


For the following steps also refer to the WIEN2k manual
=======================================================
also check http://www.wien2k.at/reg_user/index.html
for F.A.Q. and searching the WIEN2k mailing list


2. create a directory to install WIEN2k, for example 'WIEN2k/06.2'
   move your tar-file there, expand files etc:
   $ tar xvf WIEN2k_06.2_060309.tar
   $ gzip -d *.gz
   $ ./expand_lapw   

   clean up a bit by:
   $ mkdir tars
   $ mv *.tar tars


3. configure and compile WIEN2k by running
   $ ./siteconfig
   you can choose for example system 'J'
   modify the settings 'O', 'L' and 'R',
   I use the following compiler flags on a  64-bit Opteron system:
   O (FOPT)     -FR -w -mp1 -prec_div -pad -ip -DINTEL_VML -O3 -xW
   L (LDFLAGS)  -L/opt/intel/fce/10.1.021/lib -i-static -lguide_stats -lsvml -lpthread
   R (R_LIBS)   -L/opt/intel/mkl/10.0.2.018/lib/em64t -lmkl_lapack -lmkl_em64t -lguide -lpthread  

   you can also ask Ikeno-san for good compiler flags on your system
   you might also try the default flags for system 'J' and check if they work
   use the appropriate version of ifort, depending if you use 32-bit or 64-bit system
   for itanium systems the compiler and flags would be a bit different
   I found the flags I'm using by reading 'Fecher_CompileIntel.pdf'

   the parameters NMATMAX and NMATMUL should reflect the RAM available on your
   computer, e.g. on my 8 GB RAM opteron I used (though I'm no expert)
   NMATMAX = 80000
   NMATMUL = 8000
   this also depends on

4. configure the user environment
   $ ./userconfig
##############################################
##############################################
##############################################

我编译完成后,查看compile.msg,没有找到错误(error),但在link的时候,却有这样的提示:
ld: skipping incompatible /opt/intel/mkl/10.0.2.018/lib/em64t/libmkl_lapack.so when searching for -lmkl_lapack
ld: skipping incompatible /opt/intel/mkl/10.0.2.018/lib/em64t/libmkl_intel_lp64.a when searching for libmkl_intel_lp64.a
ld: skipping incompatible /opt/intel/mkl/10.0.2.018/lib/em64t/libmkl_intel_lp64.a when searching for libmkl_intel_lp64.a
ld: skipping incompatible /opt/intel/mkl/10.0.2.018/lib/em64t/libmkl_intel_lp64.a when searching for libmkl_intel_lp64.a
ld: skipping incompatible /opt/intel/mkl/10.0.2.018/lib/em64t/libmkl_intel_lp64.a when searching for libmkl_intel_lp64.a
ld: cannot find libmkl_intel_lp64.a
make[1]: *** [lapw0] Error 1
make[1]: Leaving directory `/home/wanghui/Wien2k/wien2k/SRC_lapw0'
make: *** [seq] Error 2
make: *** No rule to make target `complex'.  Stop.
:/incompatible         

好像在生成可执行程序时候出现错误了。所以在SRC_lapw0/下没找到可执行文件lapw0。
现在我的wien2k只是一个空壳子,里面的东西都不能用。
望各位虫友帮帮忙,帮我看看这个问题该怎么解决。
我都整了一星期了,急!!!!!!!!!!!
先谢谢各位了。

[ Last edited by wuli8 on 2009-9-12 at 16:13 ]
回复此楼

» 猜你喜欢

愿意结识从事第一原理研究的学者!
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

Wanghui6383

银虫 (正式写手)

谢谢各位,我的问题早已经解决。
真心感谢各位虫友的帮助。
愿意结识从事第一原理研究的学者!
4楼2009-04-22 15:03:04
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
查看全部 4 个回答

zxzj05

荣誉版主 (著名写手)

-lmkl_lapack路径链接设置有问题。
储氢家族欢迎储氢研究者!
3楼2009-04-21 19:30:17
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
普通表情 高级回复 (可上传附件)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 307中医考研调剂 +9 于以采蘩 2026-04-14 9/450 2026-04-19 08:41 by 烟雨流涯
[考研] 294求调剂 +15 淡然654321 2026-04-15 15/750 2026-04-19 08:20 by cuisz
[考研] 300求调剂 +12 橙a777 2026-04-15 12/600 2026-04-18 23:51 by 路病情
[考研] 291求调剂 +10 关忆北. 2026-04-14 10/500 2026-04-18 23:32 by 路病情
[考研] 生物学调剂 +10 纸扇zhishan 2026-04-13 10/500 2026-04-18 21:19 by zqndavala
[考研] 320求调剂 +5 深郊akm 2026-04-17 5/250 2026-04-18 19:52 by 王珺璞
[考研] 接受任何调剂 +6 也就是栗子 2026-04-17 7/350 2026-04-18 17:20 by 涵竹刘
[考研] 化学070300 求调剂 +29 哈哈哈^_^ 2026-04-12 29/1450 2026-04-18 15:56 by Equinoxhua
[考研] 急需调剂 +9 绝不放弃22 2026-04-15 10/500 2026-04-18 08:09 by chixmc
[考博] 求博导|生物质基多孔碳/超级电容方向,已有相关成果,寻能源材料/碳材料方向老师 +3 猪猪人Zzz 2026-04-12 3/150 2026-04-17 19:10 by 阳阳阳^_^
[基金申请] RY:中国产出的科学垃圾论文,绝对数量和比例都世界第一 +7 zju2000 2026-04-14 18/900 2026-04-16 11:36 by 欢乐颂叶蓁
[考研] 0854调剂 +13 长弓傲 2026-04-12 16/800 2026-04-15 13:45 by fenglj492
[考研] 297工科调剂? +14 河南农业大学-能 2026-04-13 15/750 2026-04-15 13:25 by 黑科技矿业
[教师之家] 转长聘了 +7 简单化xn 2026-04-13 7/350 2026-04-14 14:50 by xindong
[考研] 085408光电信息工程专硕355一志愿长春光机所调剂 +6 王ymaa 2026-04-13 13/650 2026-04-14 11:33 by 王ymaa
[考研] 085600材料与化工329分求调剂 +24 叶zilin 2026-04-13 25/1250 2026-04-14 09:20 by 试管破裂
[考研] 考研英一数一338分 +9 长江大学东校区 2026-04-13 10/500 2026-04-14 00:41 by 王珺璞
[考研] 2026硕士调剂_能动_河南农业大学 +4 河南农业大学-能 2026-04-12 4/200 2026-04-13 22:01 by bljnqdcc
[考研] 一志愿中南大学 0855 机械 286 求调剂 +11 不会吃肉 2026-04-12 11/550 2026-04-13 21:59 by bljnqdcc
[考研] B区0809 ,数一英一,290 求调剂 +3 泠潍1111 2026-04-12 4/200 2026-04-13 20:35 by 学员JpLReM
信息提示
请填处理意见