Skip to content

VASP

VASP

VASP is a package for performing ab initio quantum-mechanical molecular dynamics (MD) using pseudopotentials and a plane wave basis set. The approach implemented in VASP is based on a finite-temperature local-density approximation (with the free energy as variational quantity) and an exact evaluation of the instantaneous electronic ground state at each MD step using efficient matrix diagonalization schemes.

Licensing

VASP is available only to users who already have an existing VASP license. If you need to use VASP, please, send your license information to support-hpc@dipc.org.

Once we confirm the validity of the license we grant you access to VASP binaries.

Usage

VASP Module

VASP has to be loaded using Lmod to running it.

$ module load VASP

Once the module has been loaded you will need to set some enviroment variables:

You can also list all available versions using Lmod's spider command:

$ module spider VASP

----------------------------------------------------------
VASP:
----------------------------------------------------------
Versions:
     VASP/5.4.1-05Feb16-OMC-intel-2018b
     VASP/5.4.4-intel-2017b
     VASP/5.4.4-intel-2018a
     VASP/5.4.4-intel-2018b-debug
     VASP/5.4.4-Wannier90-1.2-intel-2017b
     VASP/5.4.4-Wannier90-1.2-intel-2018a
     VASP/5.4.4-Wannier90-1.2-modified-Z2Pack-intel-2017b

Each VASP module can provide up to four different binaries:

  • vasp_std : standard binary that can also be invoked as vasp.
  • vasp_ncl : non-collinear spin or spin-orbit binary. Can also be invoked as vasp-spin-orbit.
  • vasp_gam : gamma point.

Software version

Here you can check the available versions for VASP in the different clusters

VASP/5.3.5-hannes-intel-2017b
VASP/5.4.1-NBO
VASP/5.4.1-Wannier90-1.2-05Feb16-unpatched-Misha
VASP/5.4.1-05Feb16-OMC-intel-2018b
VASP/5.4.1-05Feb16-unpatched-Misha
VASP/5.4.4-intel-VTST-179-intel-2018b
VASP/5.4.4-intel-2017b
VASP/5.4.4-intel-2018a
VASP/5.4.4-intel-2018b-debug
VASP/5.4.4-intel-2019b
VASP/5.4.4-Wannier90-1.2-intel-2017b
VASP/5.4.4-Wannier90-1.2-intel-2018a
VASP/5.4.4-Wannier90-1.2-modified-Z2Pack-intel-2017b
VASP/6.4.1-intel-2022a
VASP/5.4.4-intel-2019b-VTST
VASP/5.4.4-intel-2019b
VASP/5.4.4-intel-2021a-Misha
VASP/5.4.4-Wannier90-1.2-intel-2019b
VASP/6.2.1-intel-2021a-VTST-182-VASPsol-1.0-Wannier-2.1.0
VASP/6.2.1-intel-2021a-Wannier90-2.1.0
VASP/6.2.1-intel-2021a
VASP/6.2.1-vtst-182-intel-2021a
VASP/6.4.1-intel-2021a
VASP/5.4.4-intel-2022a
VASP/6.4.1-intel-2022a-noHDF5
VASP/6.4.1-intel-2022a-VTST
VASP/6.4.1-intel-2022a
VASP/6.4.3-intel-2022a

How to run VASP on Atlas FDR

Submission scripts should contain the following lines to run VASP:

VASP: batch script for a parallel execution on Atlas FDR
#!/bin/bash
#SBATCH --qos=test
#SBATCH --job-name=Pd3Ti_60
#SBATCH --cpus-per-task=1
#SBATCH --mem=50gb
#SBATCH --nodes=1
#SBATCH --ntasks-per-node=8
#SBATCH --output=%x-%j.out
#SBATCH --error=%x-%j.err

module load VASP/5.4.4-intel-2017b

srun --cpu_bind=cores vasp_std

How to run VASP on Atlas EDR

To run batch jobs on Atlas EDR you need to prepare a batch script and submit it to the batch system with the sbatch command.

$ sbatch batch_script.slurm

Here some samples to submit VASP jobs to Atlas EDR:

VASP: batch script for a parallel execution on Atlas EDR
#!/bin/bash
#SBATCH --qos=regular
#SBATCH --job-name=VASP_job
#SBATCH --cpus-per-task=1
#SBATCH --mem=200gb
#SBATCH --nodes=8
#SBATCH --ntasks-per-node=48
#SBATCH --output=%x.out
#SBATCH --error=%x.err

module load VASP/<version>

srun --cpu_bind=cores vasp_std

How to run VASP with GPUs on Hyperion

To run batch jobs to make use of the GPU resources on Hyperion you need to prepare a batch script and submit it to the batch system with the sbatch command.

$ sbatch batch_script.slurm

Here some samples to submit VASP jobs to Hyperion GPUs:

VASP: batch script for a parallel execution in the GPUs of Hyperion
#!/bin/bash
#SBATCH --qos=regular
#SBATCH --job-name=VASP_job
#SBATCH --cpus-per-task=1
#SBATCH --mem=40gb
#SBATCH --nodes=1
#SBATCH --ntasks-per-node=4
#SBATCH --gpus=2
#SBATCH --output=%x.out
#SBATCH --error=%x.err

module load VASP/6.4.1-NVHPC-23.1-CUDA-12.1.1

export OMP_NUM_THREADS=1

mpirun -np 2 vasp_std