| 1 | 1/1 | 返回列表 |
| 查看: 1158 | 回復(fù): 0 | |||
A寶祿計算銀蟲 (初入文壇)
|
[交流]
Installing VASP.6.X.X
|
|
Installing VASP.6.X.X Jump to navigationJump to search As a license holder, you can download the source code of VASP from the VASP Portal. If your system fulfills the requirements, you can install VASP.6.X.X by following the steps below. Contents 1Requirements 2Install VASP 2.1Step 1: Download 2.2Step 2: Prepare makefile.include 2.3Step 3: Make 2.4Step 4: Test 2.5Step 5: Install 3Subdirectories in vasp.6.x.x 4Related sections Requirements For the compilation of VASP one needs: Compilers for Fortran (at least F2008 compliant), C, and C++. For instance, one of the following compiler suites: - gcc - intel-oneapi-base-kit+intel-oneapi-hpc-kit - NVIDIA HPC-SDK - AOCC (for AMD CPUs) Mind: For the OpenACC GPU port of VASP (to run on GPUs) on must use the compilers from the NVIDIA HPC-SDK (>=21.2). Numerical libraries: FFTW, BLAS, LAPACK, and ScaLAPACK. For instance, one of the following: - intel-oneapi-mkl - FFTW + OpenBLAS + ScaLAPACK - NVIDIA HPC-SDK (comes with OpenBLAS and ScaLAPACK) + FFTW - AOCL (for AMD CPUs) An implementation of the Message Passing Interface (MPI). For instance, one of the following: - intel-oneapi-mpi - OpenMPI - NVIDIA HPC-SDK (comes with OpenMPI) To find a combination of compilers and libraries that works, have a look at our list of validated toolchains. On a personal computer, i.e., your desktop machine or laptop, you may use these validated instructions. Install VASP Step 1: Download Download the source code of VASP from the VASP Portal, copy it to the desired location on your machine, and unzip the file to obtain the folder /path/to/vasp.x.x.x and reveal its content. Step 2: Prepare makefile.include Create a makefile.include starting from a template in /path/to/vasp.x.x.x/arch that resembles your system: cp arch/makefile.include.your_choice ./makefile.include Adapt your makefile.include file to your system and select optional features. Step 3: Make Build VASP with make DEPS=1 -jN <target> where DEPS=1 -jN is optional and selects the parallel mode of make with N being the number of jobs you want to run, and <target> corresponds to std, gam, ncl or all. This builds the standard, gamma-only, non-collinear or all versions of VASP. The executables are vasp_std, vasp_gam, and vasp_ncl, respectively, which are located at /path/to/vasp.X.X.X/bin/. Step 4: Test Warning: VASP.6.1.0, VASP.6.1.1, and VASP.6.1.2 have a potentially serious issue related to the test suite. Please read about it here. Run the test suite with make test to confirm the build was successful. Tip: If there are issues, the VASP Forum [installation issues] is the appropriate place to seek support. Step 5: Install Copy the executables to the system $PATH or append /path/to/vasp.x.x.x/bin/ to the environment variable with export PATH=$PATH:/path/to/vasp.x.x.x/bin for instance in your ~/.bashrc. Subdirectories in vasp.6.x.x The build system of VASP (as of versions >= 5.4.1) comprises the following subdirectories: vasp.x.x.x (root directory) | ------------------------------------------------ | | | | | | arch bin build src testsuite tools | ------------- | | | lib parser fftlib /path/to/vasp.x.x.x/ Holds the high-level makefile and several subdirectories. /path/to/vasp.x.x.x/src Holds the source files of VASP and a low-level makefile. /path/to/vasp.x.x.x/src/lib Holds the source of the VASP library (used to be vasp.X.lib) and a low-level makefile. /path/to/vasp.x.x.x/src/parser Holds the source of the LOCPROJ parser (as of versions >= 5.4.4) and a low-level makefile. /path/to/vasp.x.x.x/src/fftlib Holds the source of the fftlib library that may be used to cache fftw plans. /path/to/vasp.x.x.x/arch Holds a collection of makefile.include.* files. /path/to/vasp.x.x.x/build The different versions of VASP, i.e., the standard, gamma-only, non-collinear versions will be built in separate subdirectories of this directory. /path/to/vasp.x.x.x/bin Here make will store the executables. /path/to/vasp.x.x.x/testsuite Holds a suite of correctness tests to check your build. /path/to/vasp.x.x.x/tools Holds several python scripts related to the use of HDF5 input/output files. |
| 1 | 1/1 | 返回列表 |
| 最具人氣熱帖推薦 [查看全部] | 作者 | 回/看 | 最后發(fā)表 | |
|---|---|---|---|---|
|
[考研] 0856化工原理 +5 | z2839474511 2026-03-10 | 5/250 |
|
|---|---|---|---|---|
|
[考研] 289求調(diào)劑 +4 | 步川酷紫123 2026-03-11 | 4/200 |
|
|
[考研] 材料與化工304求B區(qū)調(diào)劑 +3 | 邱gl 2026-03-11 | 4/200 |
|
|
[考研]
一志愿天津大學(xué)材料與化工275求調(diào)劑
10+5
|
穿只靴子 2026-03-07 | 20/1000 |
|
|
[考研] 0857 資源與環(huán)境 285分 +5 | 未名考生 2026-03-09 | 5/250 |
|
|
[考研] 298求調(diào)劑 +3 | Vv呀! 2026-03-10 | 3/150 |
|
|
[考研] 研究生招生 +3 | 徐海濤11 2026-03-10 | 6/300 |
|
|
[考研] 085701環(huán)境工程專碩求調(diào)劑 +5 | 幼稚園大班打手 2026-03-08 | 5/250 |
|
|
[考研] 0856材料與化工290求調(diào)劑 +7 | Nebulala 2026-03-08 | 8/400 |
|
|
[考博] 26申博自薦 +9 | 烷基八氮- 2026-03-06 | 11/550 |
|
|
[考研] 一志愿武理314求調(diào)劑 +4 | ( ̄~ ̄;) 2026-03-08 | 5/250 |
|
|
[考研] 269求調(diào)劑 +3 | 朔朔話 2026-03-08 | 4/200 |
|
|
[考研] 化學(xué)290求調(diào)劑 +3 | 兩顆 西柚 2026-03-07 | 4/200 |
|
|
[考研] 求調(diào)劑推薦 +4 | 微辣不吃 2026-03-06 | 4/200 |
|
|
[考研] 306求調(diào)劑 +7 | Bahati 2026-03-05 | 7/350 |
|
|
[考研] 材料與化工304求B區(qū)調(diào)劑 +4 | 邱gl 2026-03-06 | 4/200 |
|
|
[考研] 287求調(diào)劑 +3 | 看看我. 2026-03-05 | 6/300 |
|
|
[考研] 334求調(diào)劑 +6 | Trying] 2026-03-05 | 8/400 |
|
|
[考研] 考研282分求調(diào)劑,接受跨專業(yè) +4 | 劉淄博 2026-03-04 | 7/350 |
|
|
[考研] 復(fù)試調(diào)劑 +5 | 呼呼?~+123456 2026-03-05 | 5/250 |
|