24小时热门版块排行榜    

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

wuli8

荣誉版主 (知名作家)

…………

优秀版主优秀版主

[交流] 在线答疑:Wien2k的问题

希望能在这里跟大家一起交流探讨涉及Wien2k的问题。
希望做Wien2k的朋友有什么建议、资料或信息能在 这里提供出来,以便交流!
以下内容随时补充~~~~


群名:小木虫wien2k群
群号码:51109254

群名:小木虫 Wien2k(二)
群号码:75403996



欢迎提问,提问有奖。
更欢迎高手们前来解答问题,合理的答案有重奖!
谢谢!


[ Last edited by wuli8 on 2009-11-10 at 16:41 ]
回复此楼

» 猜你喜欢

…………
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

wuli8

荣誉版主 (知名作家)

…………

优秀版主优秀版主

★ ★ ★ ★ ★
zxzj05(金币+5,VIP+0):感谢讨论,期待更多好资源 2-13 11:25
引用回帖:
Originally posted by shiy at 2009-2-12 15:58:
请问哪位大侠在fedora下编译wien2k_08.1成功过,希望给出编译环境,比如ifort和mkl版本和参数选择?

这是主要的安装步骤:


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/9.0/lib
   /opt/intel/mkl/8.0.1/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/9.0/lib -i-static -lguide_stats -lsvml -lpthread
   R (R_LIBS)   -L/opt/intel/mkl/8.0.1/lib/em64t -lmkl_lapack -lmkl_em64t -lguide -lpthread  

   on a 32-bit Pentium 4 system I just modify:
   -FR -w -mp1 -prec_div -pad -ip -DINTEL_VML -O3 -xW
   -L/opt/intel/fc/9.0/lib -i-static -lguide_stats -lsvml -lpthread
   -L/opt/intel/mkl/8.0.1/lib/32 -lmkl_lapack -lmkl_ia32 -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


Questions about running WIEN2k
==============================
- first ask people in the group who are using it
  (Yoshioka-san, Kuwabara-san and me, as far as I know)
- refer to the WIEN2k manual, website (the F.A.Q. and mailinglist)


Supercell calculations
======================

One easy method for creating supercells:

(1) download appropriate experimental .cif file from the open database:
    http://sdpd.univ-lemans.fr/cod/index.html

(2) import the .cif file in the 'MS modeling' program for 'Windows'
    'File' ->'Import'
   
    a supercell is easily created by using:
    'Build' ->'Symmetry' ->'Supercell'

    to export back to another .cif file, just use
    'File' ->'Export'

(3) before uploading the .cif file into WIEN2k one need to
    undosify the file, use
    $ perl -pi -e 's/\r\n/\n/g' name_of_file

(4) copy the .cif file to the workdir and use 'StructGenTM'
    beware that when you load the .cif file into WIEN2k, the last digits
    will be set to zeros, e.g.
    '0.22222000' instead of '0.22222222'
    this should be fixed - by hand, or much more preferably by a script
    (I use a script called 'mksr' which search and replace patterns in files)

(5) for 'StructGenTM' to understand that you want to make a supercell calc
    you must break the symmetry somehow (if you're not doing impurity calc)


Running jobs directly (without the webinterface)
================================================

you may not always be able to run the webinterface for WIEN2k on the machine
you want to run your jobs on. Fortunately it is very easy to use anyway, e.g.:

(1) copy the .struct file to your workdir

(2) $ init_lapw
    follow the instructions, it might be useful to have
    'export EDITOR="vi"' in .bashrc

(3) $ run_lapw -ec 0.0001 -i 30
    start calcs, flags here just as example. A (better?) alternative might be
    to run the jobs from a script instead, e.g. in the file 'run':
    -------------------------------------
    # my WIEN2k script-file, 8 May 2006

    cd /home/path_to_my_workdir
    run_lapw -ec 0.0001 -i 30

    cd /home/path_to_my_workdir2
    run_lapw -ec 0.0001 -i 30
   
    exit
    -------------------------------------
    $ chmod 744 run
    $ nohup ./run &
    by using 'nohup' the script will continue to run even after you logout
    from the computer







In the program 'MS modeling' from Accelrys available on Windows systems
one can create supercells

Using the open database it is possible to download .cif files with
experimental information on structures

One can use MSm to import .cif files and with them as basis
create supercells, later one can export the supercell as a
.cif file, which can be read by WIEN2k

OBS: when using .cif as a template for creating a WIEN2k .struct,
the last three decimals in .struct will be zeros, you have to put
in the correct decimals by hand (or with some script)

The freely available program xcrysden can read WIEN2k .struct-files and
show the structure.
…………
158楼2009-02-13 10:24:40
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
查看全部 275 个回答

wuli8

荣誉版主 (知名作家)

…………

优秀版主优秀版主

编译时出现如下问题,请问如何解决?
谢谢!
Compile time errors (if any) were:
SRC_afminput/compile.msg:make: *** [afminput.o] Error 127
SRC_aim/compile.msg:make[1]: *** [moduls.o] Error 127
SRC_aim/compile.msg:make: *** [real] Error 2
SRC_aim/compile.msg:make[1]: *** [moduls.o] Error 127
SRC_aim/compile.msg:make: *** [complex] Error 2
SRC_balsac-utils/compile.msg:make: [clean] Error 1 (ignored)
SRC_balsac-utils/compile.msg:make: *** [outnn2plt.o] Error 127
SRC_broadening/compile.msg:make: *** [broadening.o] Error 127
SRC_cif2struct/compile.msg:make: *** [module.o] Error 127
SRC_clmcopy/compile.msg:make: *** [clmcopy.o] Error 127
SRC_dstart/compile.msg:make: *** [reallocate.o] Error 127
SRC_elast/compile.msg:make: [clean] Error 1 (ignored)
SRC_elast/compile.msg:make: *** [genetempl.o] Error 127
SRC_eosfit6/compile.msg:make: [clean] Error 1 (ignored)
SRC_eosfit6/compile.msg:make: *** [eosfit6.o] Error 127
SRC_eosfit/compile.msg:make: [clean] Error 1 (ignored)
SRC_eosfit/compile.msg:make: *** [eosfit.o] Error 127
SRC_filtvec/compile.msg:make[1]: *** [filtvec.o] Error 127
SRC_filtvec/compile.msg:make: *** [real] Error 2
SRC_filtvec/compile.msg:make[1]: *** [filtvec.o] Error 127
SRC_filtvec/compile.msg:make: *** [complex] Error 2
SRC_fsgen/compile.msg:make: [clean] Error 1 (ignored)
SRC_fsgen/compile.msg:make: *** [bcc_fs_mesh.o] Error 127
SRC_initelnes/compile.msg:make: *** [initelnes.o] Error 127
SRC_initxspec/compile.msg:make: *** [initxspec.o] Error 127
SRC_irrep/compile.msg:make: *** [felder.o] Error 127
SRC_joint/compile.msg:make: *** [felder.o] Error 127
SRC_kgen/compile.msg:make: *** [main.o] Error 127
SRC_kram/compile.msg:make: *** [drude.o] Error 127
SRC_lapw0/compile.msg:make[1]: *** [modules.o] Error 127
SRC_lapw0/compile.msg:make: *** [seq] Error 2
SRC_lapw1/compile.msg:make[1]: *** [modules.o] Error 127
SRC_lapw1/compile.msg:make: *** [real] Error 2
SRC_lapw1/compile.msg:make[1]: *** [modules.o] Error 127
SRC_lapw1/compile.msg:make: *** [complex] Error 2
SRC_lapw2/compile.msg:make[1]: *** [reallocate.o] Error 127
SRC_lapw2/compile.msg:make: *** [real] Error 2
SRC_lapw2/compile.msg:make[1]: *** [reallocate.o] Error 127
SRC_lapw2/compile.msg:make: *** [complex] Error 2
SRC_lapw3/compile.msg:make[1]: *** [atomgrid.o] Error 127
SRC_lapw3/compile.msg:make: *** [real] Error 2
SRC_lapw3/compile.msg:make[1]: *** [atomgrid.o] Error 127
SRC_lapw3/compile.msg:make: *** [complex] Error 2
SRC_lapw5/compile.msg:make[1]: *** [atomgrid.o] Error 127
SRC_lapw5/compile.msg:make: *** [real] Error 2
SRC_lapw5/compile.msg:make[1]: *** [atomgrid.o] Error 127
SRC_lapw5/compile.msg:make: *** [complex] Error 2
SRC_lapw7/compile.msg:make[1]: *** [moduls.o] Error 127
SRC_lapw7/compile.msg:make: *** [real] Error 2
SRC_lapw7/compile.msg:make[1]: *** [moduls.o] Error 127
SRC_lapw7/compile.msg:make: *** [complex] Error 2
SRC_lapwdm/compile.msg:make[1]: *** [reallocate.o] Error 127
SRC_lapwdm/compile.msg:make: *** [real] Error 2
SRC_lapwdm/compile.msg:make[1]: *** [reallocate.o] Error 127
SRC_lapwdm/compile.msg:make: *** [complex] Error 2
SRC_lapwso/compile.msg:make: *** [reallocate.o] Error 127
SRC_lcore/compile.msg:make: *** [cdsld.o] Error 127
SRC_lorentz/compile.msg:make: *** [lorentz.o] Error 127
SRC_lstart/compile.msg:make: *** [cdlsd.o] Error 127
SRC_mini/compile.msg:make: *** [mxpmgrid.o] Error 127
SRC_mixer/compile.msg:make: *** [charge.o] Error 127
SRC_nn/compile.msg:make: *** [struk.o] Error 127
SRC_optic/compile.msg:make[1]: *** [modules.o] Error 127
SRC_optic/compile.msg:make: *** [real] Error 2
SRC_optic/compile.msg:make[1]: *** [modules.o] Error 127
SRC_optic/compile.msg:make: *** [complex] Error 2
SRC_optimize/compile.msg:make: [clean] Error 1 (ignored)
SRC_optimize/compile.msg:make: *** [optimize.o] Error 127
SRC_orb/compile.msg:make: *** [modules.o] Error 127
SRC_pairhess/compile.msg:make: *** [energy.o] Error 127
SRC_phonon/compile.msg:make: [clean] Error 1 (ignored)
SRC_phonon/compile.msg:make: *** [phonon2wien2k_sym.o] Error 127
SRC_qtl/compile.msg:make: *** [reallocate.o] Error 127
SRC_spacegroup/compile.msg:make: *** [spacegroup.o] Error 127
SRC_spaghetti/compile.msg:make: *** [reallocate.o] Error 127
SRC_structeditor/compile.msg:make[1]: *** [module.o] Error 127
SRC_structeditor/compile.msg:make: *** [all] Error 2
SRC_sumpara/compile.msg:make: *** [errclr.o] Error 127
SRC_supercell/compile.msg:make: *** [supercell.o] Error 127
SRC_symmetry/compile.msg:make: *** [symmetry.o] Error 127
SRC_symmetso/compile.msg:make: *** [symmetso.o] Error 127
SRC_telnes2/compile.msg:make: *** [modules.o] Error 127
SRC_tetra/compile.msg:make: *** [reallocate.o] Error 127
SRC_trig/compile.msg:make: [clean] Error 1 (ignored)
SRC_trig/compile.msg:make: *** [rhomb_in5.o] Error 127
SRC_txspec/compile.msg:make: *** [reallocate.o] Error 127
…………
2楼2008-12-02 10:42:11
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

fansw1129

铁杆木虫 (著名写手)

★ ★
wuli8(金币+2,VIP+0):感谢您的交流!(*^__^*) ……能讲的更仔细些就好了。
估计是编译器没有装好
3楼2008-12-02 20:42:14
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

wuli8

荣誉版主 (知名作家)

…………

优秀版主优秀版主

引用回帖:
Originally posted by fansw1129 at 2008-12-2 20:42:
估计是编译器没有装好

能不能讲的具体些,谢谢
…………
4楼2008-12-02 22:31:06
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
普通表情 高级回复 (可上传附件)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[文学芳草园] 梦想 +5 myrtle 2026-08-26 5/250 2026-08-31 14:40 by hahaboy
[基金申请] 中青基了要发朋友圈吗? +7 349506619 2026-08-28 7/350 2026-08-31 13:39 by 冼亮淀粉酶
[基金申请] 基金不中,共勉 +12 eulota 2026-08-26 12/600 2026-08-31 08:42 by ZJTJZ
[基金申请] 面上意见出来了 +10 黄鸟于飞Chao 2026-08-29 19/950 2026-08-31 08:01 by blueearth171
[基金申请] 麻烦专家们看看评委们的意见(F口面上) +6 gdd2018 2026-08-28 11/550 2026-08-30 08:58 by 超级无敌华子
[基金申请] 我就是申请一个面上项目而已,这评审意见是按照杰青的条件评的吧? +6 gouxfjh 2026-08-28 11/550 2026-08-30 07:57 by gouxfjh
[基金申请] 国自然面上复盘~欢迎讨论 (金币+15) +15 晴天加油 2026-08-26 16/800 2026-08-29 18:28 by symmetry
[基金申请] 面上合作单位盖章 +5 ssyjh 2026-08-27 5/250 2026-08-27 20:50 by gdfollow
[基金申请] 基金未中,这种答复是模板吗? +5 zhaosm1982 2026-08-27 6/300 2026-08-27 16:00 by lfy8008
[基金申请] 为什么 国际(地区)合作与交流项目 没有放榜? 10+3 majunge000 2026-08-26 11/550 2026-08-27 08:42 by 北京莱茵编辑
[基金申请] 我不理解! +15 Edward_pc 2026-08-26 23/1150 2026-08-26 20:34 by zzuzxg
[基金申请] 2026年8月25日国自然放榜前突然收到列入评审专家邮件,有关系吗? +25 木水思豆 2026-08-25 28/1400 2026-08-26 14:53 by draco1987
[基金申请] 出来了 +9 trojank 2026-08-26 9/450 2026-08-26 14:25 by 宝贝虫子
[基金申请] 为什么国自然不能直接公布 +4 bjdxyxy 2026-08-26 4/200 2026-08-26 13:12 by qingmu1201
[基金申请] 国合里面能看到了 +7 一怀馨秋 2026-08-26 7/350 2026-08-26 11:23 by zhaosm1982
[基金申请] 国际合作可查了,中了面上 (EPI+1)(金币+50) +18 Ldrop2023 2026-08-26 18/900 2026-08-26 11:15 by cmrandy
[基金申请] 项目信息和经费信息在系统里都可以看到了 +6 wittyboy 2026-08-26 14/700 2026-08-26 10:55 by wittyboy
[基金申请] 国合可查了 +3 paperzjh 2026-08-26 3/150 2026-08-26 10:41 by LemmonTr
[基金申请] 今天务委会开完了,明天出结果吗 +19 angus9576 2026-08-25 23/1150 2026-08-26 10:03 by zp519
[基金申请] 在坚冰还盖着北海的时候,我看到了怒放的梅花。 (金币+10) +6 ziyangfang 2026-08-25 9/450 2026-08-25 20:26 by huagongfeihu
信息提示
请填处理意见