24小时热门版块排行榜    

查看: 631  |  回复: 0

A宝禄计算

银虫 (初入文坛)

[交流] Installing VASP.5.X.X.

Build system
The build system of VASP (as of versions >= 5.4.1) has the following structure:
              vasp.X.X.X (root directory)
                            |
         ---------------------------------------
        |              |          |             |
       arch           bin       build          src
                                                |
                                         ---------------
                                        |       |       |
                                       lib    parser   CUDA
root/
Holds the high-level makefile, and several subdirectories.
root/src
Holds the source files of VASP, and a low-level makefile.
root/src/lib
Holds the source of the VASP library (used to be vasp.X.lib), and a low-level makefile.
root/src/parser
Holds the source of the LOCPROJ parser (as of versions >= 5.4.4), and a low-level makefile.
root/src/CUDA
Holds the source of the cuda-code that will be executed on the GPU by the CUDA-C GPU port of VASP.
root/arch
Holds a collection of makefile.include.arch files.
root/build
The different versions of VASP, i.e., the standard, gamma-only, non-collinear version will be build in separate subdirectories of this directory.
root/bin
Here make will store the binaries.
How to make VASP
Copy one of the makefile.include.arch files in root/arch to root/makefile.include. Take one that most closely reflects your system (hopefully). For instance, on a linux box with the Intel Composer suite:
cp arch/makefile.include.linux_intel  ./makefile.include
In many cases these makefile.include files will have to be adapted to the particulars of your system (see below).
When you've finished setting up makefile.include, build VASP:
make all
This will build the standard, gamma-only, and non-collinear version of VASP one after the other. Alternatively on may build these versions individually:
make std
make gam
make ncl
To compile the CUDA-C GPU port of VASP:
cp arch/makefile.include.linux_intel_cuda ./makefile.include
and adapt it to the particulars of your system (see below), followed by:
make gpu
make gpu_ncl
to built the GPU ports of the standard and non-collinear versions, respectively.
回复此楼
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 A宝禄计算 的主题更新
普通表情 龙 兔 虎 猫 高级回复 (可上传附件)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 售SCI文章,我:8O.5.5.1O.54,科目全,可十急 +3 I5Uih4YWUbaa 2026-11-27 3/150 2026-11-27 20:03 by FlRlcTrDsDoO
[论文投稿] 售SCI一区文章,我:8.O.551.O.5.4,科目全,可伽急 +3 p1TifTPkqG3A 2026-11-27 3/150 2026-11-27 19:44 by FlRlcTrDsDoO
[论文投稿] 售一区SCI文章T0P,我:8O.551.O54,科目全,可十急 +3 kTIKZRt5HnP0 2026-11-27 3/150 2026-11-27 18:58 by XTPLXDTeEwbs
[博后之家] 售SCI一区文章,我:8.O.551.O.5.4,科目全,可伽急 +3 J9NGDvAaPB9L 2026-11-27 3/150 2026-11-27 18:53 by XTPLXDTeEwbs
[考博] 售SCI一区文章,我:8.O.55.1.O.54,科目齐全,可伽急 +3 J9NGDvAaPB9L 2026-11-27 3/150 2026-11-27 18:46 by XTPLXDTeEwbs
[考研] 售SCI文章,我:8O5.5.1.O.54,科目齐全,可+急 +3 J9NGDvAaPB9L 2026-11-26 3/150 2026-11-27 18:20 by XTPLXDTeEwbs
[考博] 售SCI一区文章,我:8O5.5.1.O5.4,科目全,可伽急 +4 mzU8LdVQMwOf 2026-11-26 4/200 2026-11-27 17:43 by HaAiYedD27eq
[硕博家园] 售SCI一区文章,我:8O5.5.1.O5.4,科目全,可伽急 +4 Gp6vMAD5C53H 2026-11-26 5/250 2026-11-27 17:40 by HaAiYedD27eq
[博后之家] 售SCI文章,我:8O.5.5.1O.54,科目全,可十急 +6 mzU8LdVQMwOf 2026-11-26 8/400 2026-11-27 17:36 by HaAiYedD27eq
[考研] 售SCI-T0P文章,我:8O.5.5.1.O.54,科目齐全,可+急 +7 mzU8LdVQMwOf 2026-11-26 7/350 2026-11-27 17:29 by HaAiYedD27eq
[找工作] 售SCI-T0P文章,我:8O.5.5.1.O.54,科目齐全,可+急 +6 1VHV9UkX7sid 2026-11-26 8/400 2026-11-27 17:18 by HaAiYedD27eq
[教师之家] 售SCI一区T0P文章,我:8.O.55.1.O.5.4,科目全,可+急 +6 1VHV9UkX7sid 2026-11-26 7/350 2026-11-27 17:15 by HaAiYedD27eq
[公派出国] 售SCI一区文章,我:8.O.551.O.5.4,科目全,可伽急 +5 1VHV9UkX7sid 2026-11-26 6/300 2026-11-27 17:10 by HaAiYedD27eq
[教师之家] 售SCI文章,我:8O.5.5.1O.54,科目全,可十急 +3 N80hyqiqCeT2 2026-11-26 3/150 2026-11-27 13:50 by aTZfRIGzowsS
[找工作] 售SCI一区文章,我:8.O.551.O.5.4,科目全,可伽急 +4 mzU8LdVQMwOf 2026-11-26 4/200 2026-11-27 13:26 by aTZfRIGzowsS
[考研] 售SCI一区T0P文章,我:8.O.55.1.O.5.4,科目全,可+急 +4 Gp6vMAD5C53H 2026-11-26 5/250 2026-11-27 13:19 by aTZfRIGzowsS
[文学芳草园] 做梦 +3 myrtle 2026-11-25 3/150 2026-11-27 09:14 by asi19
[考研] 售SCI一区T0P文章,我:8O.55.1.O.5.4,科目齐全,可+急 +3 mzU8LdVQMwOf 2026-11-26 3/150 2026-11-27 05:50 by p1TifTPkqG3A
[考博] 申博求助 10+3 charles.ww 2026-11-24 6/300 2026-11-26 21:27 by 13961805515
[考博] ⚽求2027博士自荐 求材料/催化/绿色化学/环境 方向博导 +3 Hutao6 2026-11-23 5/250 2026-11-26 20:29 by greychen00
信息提示
请填处理意见