24小时热门版块排行榜    

Znn3bq.jpeg
汕头大学海洋科学接受调剂
查看: 705  |  回复: 3
当前主题已经存档。

cougarlz

银虫 (小有名气)

[交流] 谁有WIEN2K在Linux下的安装过程说明?

以前听人说有位高人在SUSE上安装成功后,写过一个安装过程说明,不知谁有这个文件,共享一下多谢!
email:  cougarlz@lut.cn

[ Last edited by wuli8 on 2008-11-25 at 16:02 ]
回复此楼

» 收录本帖的淘帖专辑推荐

第一性原理相关文档

» 猜你喜欢

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

bluce

木虫 (正式写手)

请到材料计算去看看。
天性驽钝,唯勤学以补之。出生寒门,校非名校,师非名门,一切靠自己打拼。
2楼2006-11-24 16:20:11
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

haiw201

木虫 (正式写手)

★ ★
wuli8(金币+2,VIP+0):3X!(*^__^*) ……
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.
3楼2007-04-05 18:51:00
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

riverbird


wuli8(金币+1,VIP+0):谢谢您提供的信息!(*^__^*) ……
user guide 上的说明不是很清楚了吗?
4楼2007-04-06 06:08:05
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 cougarlz 的主题更新
普通表情 高级回复 (可上传附件)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 085500求调剂材料 +11 易11122 2026-04-09 11/550 2026-04-14 17:59 by lhj2009
[考研] 材料299专硕求调剂 +16 +21 2026-04-09 16/800 2026-04-14 17:06 by jiangguiquan11
[考研] 297,工科调剂?河南农业大学本科 +9 河南农业大学-能 2026-04-14 9/450 2026-04-14 16:03 by Art1977
[考研] 288求调剂,一志愿华南理工大学071005 +25 ioodiiij 2026-04-08 25/1250 2026-04-14 15:59 by zs92450
[考研] 366求调剂 +11 不知名的小卅 2026-04-11 11/550 2026-04-14 15:50 by zs92450
[考研] 考研求调剂 +6 ban班小七 2026-04-11 6/300 2026-04-14 14:06 by 哆啦A梦只是个梦
[考研] 085600材料与化工329分求调剂 +24 叶zilin 2026-04-13 25/1250 2026-04-14 09:20 by 试管破裂
[考研] 085600材料与化工349分求调剂 +16 李木子啊哈哈 2026-04-12 17/850 2026-04-14 09:11 by fenglj492
[考研] 2026硕士调剂_能动_河南农业大学 +4 河南农业大学-能 2026-04-12 4/200 2026-04-13 22:01 by bljnqdcc
[考研] B区0809 ,数一英一,290 求调剂 +3 泠潍1111 2026-04-12 4/200 2026-04-13 20:35 by 学员JpLReM
[考研] +10 李多米lee. 2026-04-12 11/550 2026-04-12 22:58 by yuyin1233
[考研] 0831一轮调剂失败求助 +10 小熊睿睿_s 2026-04-11 10/500 2026-04-12 22:43 by 长弓傲
[考研] 344 材料专业 求调剂211 无地域要求 +8 hualkop 2026-04-11 8/400 2026-04-12 22:24 by fqwang
[考研] 0854调剂 +12 长弓傲 2026-04-09 13/650 2026-04-12 09:56 by 逆水乘风
[考研] 求调剂,一志愿材料科学与工程985,365分, +8 材化李可 2026-04-11 10/500 2026-04-12 08:42 by 852137818
[考研] 一志愿郑州大学 22408 305分求调剂 +5 安小满zzz 2026-04-08 5/250 2026-04-12 00:41 by 蓝云思雨
[考研] 352 求调剂 +6 yzion 2026-04-11 8/400 2026-04-11 16:24 by 明月此时有
[考研] 调剂 +5 文道星台 2026-04-11 5/250 2026-04-11 15:01 by 凯凯要变帅
[考研] 0854调剂 +4 长弓傲 2026-04-09 4/200 2026-04-11 09:18 by 猪会飞
[考研] 一志愿京区985,085401电子信息,本科电子信息 +3 阳光开朗的男孩 2026-04-10 3/150 2026-04-10 16:29 by sophia_93
信息提示
请填处理意见