The Vienna Ab initio Simulation Package (VASP) is a software package for performing electronic structure calculations with periodic boundary conditions. It is most commonly used to perform density functional theory (DFT) calculations in a plane wave basis using the projector augmented wave (PAW) method.
VASP is commercial software. Access to binaries compiled by ALCF can only be granted after the user requesting access has been verified to be on the VASP license by an official VASP license distributor.
To access the VASP binary at ALCF, please email the details listed directly below to support@alcf.anl.gov. It can take up to 5–10 business days to verify a VASP license.
Information to provide:
User’s full name
User’s ALCF username
Name of the organization that purchased the VASP license
VASP license purchased from (University of Vienna or MaterialsDesign)
Principal investigator who is the POC for the VASP license
VASP license number
Version of VASP requested (VASP 6.4.x, VASP 6.5.x, VASP 6.6.x)
The ALCF support team compiles the latest release of VASP on a per-request basis. We do not offer support for compiling customized versions of VASP or with plugins. Support for scientific runs that encounter performance or numerical issues should be directed to the official VASP support mailing list or the VASP user forum. ALCF can provide limited help with fatal runtime errors encountered on ALCF systems.
Once the user licence is validated, ALCF will add the user to the UNIX groups: vasp65 or vasp6 , and grant access to the subdirectories in /soft/applications/vasp.
# Precompiler optionsCPP_OPTIONS=-DHOST=\"LinuxNV_CrayMPICH\"\-DMPI-DMPI_BLOCK=8000-Duse_collective\-DscaLAPACK\-DCACHE_SIZE=4000\-Davoidalloc\-Dvasp6\-Dtbdyn\-Dqd_emulate\-Dfock_dblbuf\-DACC_OFFLOAD\-D_OPENMP\-D_OPENACC\-DNVCUDA\-DUSENCCL
CPP=nvfortran-Mpreprocess-Mfree-Mextend-E$(CPP_OPTIONS)$*$(FUFFIX)>$*$(SUFFIX)FC=ftn-acc-gpu=cc80-mp-target-accel=nvidia80
FCL=ftn-acc-gpu=cc80-c++libs-target-accel=nvidia80
FREE=-Mfree
FFLAGS=-Mbackslash-Mlarge_arrays
OFLAG=-fast
DEBUG=-Mfree-O0-traceback
# Specify your NV HPC-SDK installation, try to set NVROOT automatically# ...or set NVROOT manuallyNVROOT=$(shellwhichnvfortran|awk-F/compilers/bin/nvfortran'{ print $$1 }')# Use NV HPC-SDK provided BLAS and LAPACK librariesLIBAOCL=/soft/libraries/aocl/3.2.0
#BLAS = -L/soft/applications/vasp/aol-libs/amd-blis/lib/ILP64 -lblis-mt#LAPACK = -L/soft/applications/vasp/aol-libs/amd-libflame/lib/ILP64 -lflameBLAS=/soft/applications/vasp/aol-libs/3.2/amd-blis/lib/LP64/libblis-mt.a
LAPACK=/soft/applications/vasp/aol-libs/3.2/amd-libflame/lib/LP64/libflame.a
BLACS=SCALAPACK=#SCALAPACK = -Mscalapack#SCALAPACK = ${LIBAOCL}/lib/libscalapack.aCUDA=-cudalib=cublas,cusolver,cufft,nccl-cuda
LLIBS=$(SCALAPACK)$(LAPACK)$(BLAS)$(CUDA)# Software emulation of quadruple precisionQD?=$(NVROOT)/compilers/extras/qd
LLIBS+=-L$(QD)/lib-lqdmod-lqd-Wl,-rpath=$(QD)/lib
INCS+=-I$(QD)/include/qd
LLIBS+=-L$(NVROOT)/math_libs/lib64-Wl,-rpath=$(NVROOT)/math_libs/lib64
#INCS += -I/usr/include/linux#INCS += -I/usr/include/c++/7/tr1#INCS += -I/usr/include/c++/7#INCS += -I/usr/include/x86_64-linux-gnu/c++/7#INCS += -I/lus/theta-fs0/software/spack/spack-dev/opt/spack/linux-sles15-x86_64/gcc-9.3.0/gcc-10.2.0-r7v3naxd5xgzzaqxoe73jj2ytwuddamr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include/# Use the FFTs from fftwFFTW=/soft/applications/vasp/aol-libs/3.2/amd-fftw
LLIBS+=-L$(FFTW)/lib-lfftw3-lfftw3_omp-lomp
#INCS += -I/soft/libraries/aocl/3.2.0/include_LP64/INCS+=-I$(FFTW)/include
#OBJECTS = fftmpiw.o fftmpi_map.o fftw3d.o fft3dlib.o# Redefine the standard list of O1 and O2 objectsSOURCE_O1:=pade_fit.o
SOURCE_O2:=pead.o
# For what used to be vasp.5.libCPP_LIB=$(CPP)FC_LIB=nvfortran
CC_LIB=nvc-w
CFLAGS_LIB=-O
FFLAGS_LIB=-O1-Mfixed
FREE_LIB=$(FREE)OBJECTS_LIB=linpack_double.o
# For the parser library#CXX_PARS = nvc++ --no_warnings -I/lus/theta-fs0/software/spack/spack-dev/opt/spack/linux-sles15-x86_64/gcc-9.3.0/gcc-10.2.0-r7v3naxd5xgzzaqxoe73jj2ytwuddamr/include/c++/10.2.0/ -I/lus/theta-fs0/software/spack/spack-dev/opt/spack/linux-sles15-x86_64/gcc-9.3.0/gcc-10.2.0-r7v3naxd5xgzzaqxoe73jj2ytwuddamr/include/c++/10.2.0/x86_64-pc-linux-gnu -I/lus/theta-fs0/software/spack/spack-dev/opt/spack/linux-sles15-x86_64/gcc-9.3.0/gcc-10.2.0-r7v3naxd5xgzzaqxoe73jj2ytwuddamr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include -I/lus/theta-fs0/software/spack/spack-dev/opt/spack/linux-sles15-x86_64/gcc-9.3.0/gcc-10.2.0-r7v3naxd5xgzzaqxoe73jj2ytwuddamr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed/CXX_PARS=nvc++--no_warnings
# Normally no need to change thisSRCDIR=../../src
BINDIR=../../bin