我可以: 邀请好友来看>>
ZOL星空(中国) > 技术星空(中国) > 服务器综合讨论星空(中国) > Installing VASP.5.X.X.
帖子很冷清,卤煮很失落!求安慰
返回列表
签到
手机签到经验翻倍!
快来扫一扫!

Installing VASP.5.X.X.

14浏览 / 0回复

宝禄,计算

宝禄,计算

0
精华
36
帖子

等  级:Lv.5
经  验:4837
  • Z金豆: 514

    千万礼品等你来兑哦~快点击这里兑换吧~

  • 城  市:北京
  • 注  册:2023-04-10
  • 登  录:2024-05-24
  • 一举成名
  • 初领任务
发表于 2023-06-27 14:39:19
电梯直达 确定
楼主

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 mak-e-file, and several subdirectories.

root/src

Holds the source files of VASP, and a low-level mak-e-file.

root/src/lib

Holds the source of the VASP library (used to be vasp.X.lib), and a low-level mak-e-file.

root/src/parser

Holds the source of the LOCPROJ parser (as of versions >= 5.4.4), and a low-level mak-e-file.

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 mak-e-file.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 mak-e-file.include.arch files in root/arch to root/mak-e-file.include. Take one that most closely reflects your system (hopefully). For instance, on a linux box with the Intel Composer suite:

cp arch/mak-e-file.include.linux_intel  ./mak-e-file.include

In many cases these mak-e-file.include files will have to be adapted to the particulars of your system (see below).

When you've finished setting up mak-e-file.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/mak-e-file.include.linux_intel_cuda ./mak-e-file.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.

 


高级模式
星空(中国)精选大家都在看24小时热帖7天热帖大家都在问最新回答

针对ZOL星空(中国)您有任何使用问题和建议 您可以 联系星空(中国)管理员查看帮助  或  给我提意见

快捷回复 APP下载 返回列表