Znn3bq.jpeg
²é¿´: 703  |  »Ø¸´: 3
µ±Ç°Ö÷ÌâÒѾ­´æµµ¡£
µ±Ç°Ö»ÏÔʾÂú×ãÖ¸¶¨Ìõ¼þµÄ»ØÌû£¬µã»÷ÕâÀï²é¿´±¾»°ÌâµÄËùÓлØÌû

cougarlz

Òø³æ (СÓÐÃûÆø)

[½»Á÷] Ë­ÓÐWIEN2KÔÚLinuxϵݲװ¹ý³Ì˵Ã÷£¿

ÒÔǰÌýÈË˵ÓÐλ¸ßÈËÔÚSUSEÉϰ²×°³É¹¦ºó£¬Ð´¹ýÒ»¸ö°²×°¹ý³Ì˵Ã÷£¬²»ÖªË­ÓÐÕâ¸öÎļþ£¬¹²Ïíһ϶àл£¡
email:  cougarlz@lut.cn

[ Last edited by wuli8 on 2008-11-25 at 16:02 ]
»Ø¸´´ËÂ¥

» ÊÕ¼±¾ÌûµÄÌÔÌûר¼­ÍƼö

µÚÒ»ÐÔÔ­ÀíÏà¹ØÎĵµ

» ²ÂÄãϲ»¶

ÒÑÔÄ   »Ø¸´´ËÂ¥   ¹Ø×¢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µÄ»ØÌû
²é¿´È«²¿ 4 ¸ö»Ø´ð

bluce

ľ³æ (ÕýʽдÊÖ)

Çëµ½²ÄÁϼÆËãÈ¥¿´¿´¡£
ÌìÐÔæå¶Û£¬Î¨ÇÚѧÒÔ²¹Ö®¡£³öÉúº®ÃÅ£¬Ð£·ÇÃûУ£¬Ê¦·ÇÃûÃÅ£¬Ò»Çп¿×Ô¼º´òÆ´¡£
2Â¥2006-11-24 16:20:11
ÒÑÔÄ   »Ø¸´´ËÂ¥   ¹Ø×¢TA ¸øTA·¢ÏûÏ¢ ËÍTAºì»¨ TAµÄ»ØÌû

riverbird

¡ï
wuli8(½ð±Ò+1,VIP+0):ллÄúÌṩµÄÐÅÏ¢£¡(*^__^*) ¡­¡­
user guide ÉϵÄ˵Ã÷²»ÊǺÜÇå³þÁËÂð£¿
4Â¥2007-04-06 06:08:05
ÒÑÔÄ   »Ø¸´´ËÂ¥   ¹Ø×¢TA ¸øTA·¢ÏûÏ¢ ËÍTAºì»¨ TAµÄ»ØÌû
×î¾ßÈËÆøÈÈÌûÍÆ¼ö [²é¿´È«²¿] ×÷Õß »Ø/¿´ ×îºó·¢±í
[¿¼ÑÐ] 298Çóµ÷¼Á +5 ²ÐºÉÐÂÁø 2026-04-07 5/250 2026-04-11 11:02 by ×ÏêØ×ÏÆå
[¿¼ÑÐ] 282£¬Çóµ÷¼Á +12 jggshjkkm 2026-04-09 14/700 2026-04-11 09:39 by Öí»á·É
[¿¼ÑÐ] ¸´ÊÔµ÷¼Á +9 »ý¼«ÏòÉÏ£» 2026-04-10 11/550 2026-04-11 09:25 by Öí»á·É
[¿¼ÑÐ] ²ÄÁÏÀà284µ÷¼Á +40 Ïë»»ÊÖ»ú²»Ïë½âÊ 2026-04-08 48/2400 2026-04-10 23:28 by 314126402
[¿¼ÑÐ] 284Çóµ÷¼Á +19 èó@@ 2026-04-06 21/1050 2026-04-10 21:12 by zhouxiaoyu
[¿¼ÑÐ] ÖпÆÔº×Ü·Ö315Çóµ÷¼Á +8 lallalh 2026-04-09 8/400 2026-04-10 19:30 by dick_runner
[¿¼ÑÐ] 287Çóµ÷¼Á +15 Fnhc 2026-04-07 21/1050 2026-04-10 19:09 by chemisry
[¿¼ÑÐ] ³õÊÔ261 +3 AshtÉÙ 2026-04-10 6/300 2026-04-10 16:38 by AshtÉÙ
[¿¼ÑÐ] »úеר368 ÓÐÈ¥´¦Âð +4 ÖÖ´óÊ÷ 2026-04-10 4/200 2026-04-10 15:31 by jiajinhpu
[¿¼ÑÐ] ²ÄÁϵ÷¼Á +10 18815505510 2026-04-09 11/550 2026-04-09 17:07 by 544594351
[¿¼ÑÐ] ÕÐÊÕÓлú»¯Ñ§¡¢»¯¹¤£¬Ò©Ñ§£¬Ê³Æ·µÆ×¨ÒµÑ§Éú +3 yrfhjgdj 2026-04-08 3/150 2026-04-09 10:15 by QYQX_123
[¿¼ÑÐ] Çóµ÷¼Á +7 chenxrlkx 2026-04-05 9/450 2026-04-09 09:04 by wj165256
[¿¼ÑÐ] 285Çóµ÷¼Á +12 AZMK 2026-04-05 18/900 2026-04-08 20:43 by ÄæË®³Ë·ç
[¿¼ÑÐ] »¯¹¤Ñ§Ë¶ 285Çóµ÷¼Á +26 Wisjxn 2026-04-07 26/1300 2026-04-08 14:42 by screening
[¿¼ÑÐ] »úе¹¤³Ì264ѧ˶Çóµ÷¼Á +3 qiushangxian 2026-04-06 3/150 2026-04-08 01:53 by Linzejun
[¿¼ÑÐ] Ò»Ö¾Ô¸ÄϿƴóÉúÎïѧ297·Ö£¬Çóµ÷¼ÁÍÆ¼ö +8 Y-yyusx 2026-04-06 9/450 2026-04-07 19:38 by biomichael
[¿¼ÑÐ] 312Çóµ÷¼Á +18 gtw1 2026-04-06 20/1000 2026-04-07 18:16 by À¶ÔÆË¼Óê
[¿¼ÑÐ] ²ÄÁϵ÷¼Á +14 Ò¼·¡·¡ÒÚ 2026-04-04 14/700 2026-04-05 23:31 by À´¿´Á÷ÐÇÓê10
[¿¼ÑÐ] 326Çóµ÷¼Á +3 ¹ËÈô¸¡Éú 2026-04-05 3/150 2026-04-05 18:32 by À¶ÔÆË¼Óê
[¿¼ÑÐ] 313Çóµ÷¼Á +3 º£ÈÕº£ÈÕ 2026-04-04 3/150 2026-04-05 07:48 by 544594351
ÐÅÏ¢Ìáʾ
ÇëÌî´¦ÀíÒâ¼û