Thanks for your reply.
To answer your questions, I did follow the guide, but I will double check to make sure I hit all the steps and requirements.
For my makefile.include, I am not sure how to attach a file here, so I will put it below. Note that this is a bare minimum with no HDF5 or WANNIER90.
Code: Select all
# Default precompiler options
CPP_OPTIONS = -DHOST=\"LinuxNV\" \
-DMPI -DMPI_BLOCK=8000 -Duse_collective \
-DscaLAPACK \
-DCACHE_SIZE=4000 \
-Davoidalloc \
-Dvasp6 \
-Duse_bse_te \
-Dtbdyn \
-Dqd_emulate \
-Dfock_dblbuf \
-D_OPENMP
CPP = nvfortran -Mpreprocess -Mfree -Mextend -E $(CPP_OPTIONS) $*$(FUFFIX) > $*$(SUFFIX)
FC = mpif90 -mp
FCL = mpif90 -mp -c++libs
FREE = -Mfree
FFLAGS = -Mbackslash -Mlarge_arrays
OFLAG = -fast
DEBUG = -Mfree -O0 -traceback
OBJECTS = fftmpiw.o fftmpi_map.o fftw3d.o fft3dlib.o
# Redefine the standard list of O1 and O2 objects
SOURCE_O1 := pade_fit.o
SOURCE_O2 := pead.o
# For what used to be vasp.5.lib
CPP_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
##
## Customize as of this point! Of course you may change the preceding
## part of this file as well if you like, but it should rarely be
## necessary ...
##
# When compiling on the target machine itself , change this to the
# relevant target when cross-compiling for another architecture
VASP_TARGET_CPU ?= -tp host
FFLAGS += $(VASP_TARGET_CPU)
# Specify your NV HPC-SDK installation (mandatory)
#... first try to set it automatically
#NVROOT =$(shell which nvfortran | awk -F /compilers/bin/nvfortran '{ print $$1 }')
#
# Emperically determined to be this
#
NVROOT = /swst/apps/nvhpc/21.9_gcc-8.5.0/Linux_x86_64/21.9
#
# If the above fails, then NVROOT needs to be set manually
#NVHPC ?= /opt/nvidia/hpc_sdk
#NVVERSION = 21.11
#NVROOT = $(NVHPC)/Linux_x86_64/$(NVVERSION)
# Software emulation of quadruple precsion (mandatory)
QD ?= $(NVROOT)/compilers/extras/qd
LLIBS += -L$(QD)/lib -lqdmod -lqd
INCS += -I$(QD)/include/qd
# Intel MKL for FFTW, BLAS, LAPACK, and scaLAPACK
#MKLROOT ?= /path/to/your/mkl/installation
LLIBS_MKL = -Mmkl -L$(MKLROOT)/lib/intel64 -lmkl_scalapack_lp64 -lmkl_blacs_openmpi_lp64
INCS += -I$(MKLROOT)/include/fftw
# Use a separate scaLAPACK installation (optional but recommended in combination with OpenMPI)
# Comment out the two lines below if you want to use scaLAPACK from MKL instead
#SCALAPACK_ROOT ?= /path/to/your/scalapack/installation
#LLIBS_MKL = -L$(SCALAPACK_ROOT)/lib -lscalapack -Mmkl
LLIBS += $(LLIBS_MKL)
These are the. linked libraries in the executable:
Code: Select all
$ ldd proj/VASP/vasp.6.3.1/bin/vasp_std
linux-vdso.so.1 (0x000014be90439000)
libqdmod.so.0 => /swst/apps/nvhpc/21.9_gcc-8.5.0/Linux_x86_64/21.9/compilers/extras/qd/lib/libqdmod.so.0 (0x000014be8ffee000)
libqd.so.0 => /swst/apps/nvhpc/21.9_gcc-8.5.0/Linux_x86_64/21.9/compilers/extras/qd/lib/libqd.so.0 (0x000014be8fdaa000)
libmkl_scalapack_lp64.so.1 => /swst/apps/intel-oneapi-mkl/2021.4.0_gcc-8.5.0/mkl/2021.4.0/lib/intel64/libmkl_scalapack_lp64.so.1 (0x000014be8f67d000)
libmkl_blacs_openmpi_lp64.so.1 => /swst/apps/intel-oneapi-mkl/2021.4.0_gcc-8.5.0/mkl/2021.4.0/lib/intel64/libmkl_blacs_openmpi_lp64.so.1 (0x000014be903e9000)
libmpi_usempif08.so.40 => /storage/icds/swst/deployed/production/20220813/apps/nvhpc/21.9_gcc-8.5.0/Linux_x86_64/21.9/comm_libs/openmpi/openmpi-3.1.5/lib/libmpi_usempif08.so.40 (0x000014be8f454000)
libmpi_usempi_ignore_tkr.so.40 => /storage/icds/swst/deployed/production/20220813/apps/nvhpc/21.9_gcc-8.5.0/Linux_x86_64/21.9/comm_libs/openmpi/openmpi-3.1.5/lib/libmpi_usempi_ignore_tkr.so.40 (0x000014be8f24f000)
libmpi_mpifh.so.40 => /storage/icds/swst/deployed/production/20220813/apps/nvhpc/21.9_gcc-8.5.0/Linux_x86_64/21.9/comm_libs/openmpi/openmpi-3.1.5/lib/libmpi_mpifh.so.40 (0x000014be8f002000)
libmpi.so.40 => /storage/icds/swst/deployed/production/20220813/apps/nvhpc/21.9_gcc-8.5.0/Linux_x86_64/21.9/comm_libs/openmpi/openmpi-3.1.5/lib/libmpi.so.40 (0x000014be8ebc3000)
libmkl_intel_lp64.so.1 => /swst/apps/intel-oneapi-mkl/2021.4.0_gcc-8.5.0/mkl/2021.4.0/lib/intel64/libmkl_intel_lp64.so.1 (0x000014be8e024000)
libmkl_intel_thread.so.1 => /swst/apps/intel-oneapi-mkl/2021.4.0_gcc-8.5.0/mkl/2021.4.0/lib/intel64/libmkl_intel_thread.so.1 (0x000014be8a8d5000)
libmkl_core.so.1 => /swst/apps/intel-oneapi-mkl/2021.4.0_gcc-8.5.0/mkl/2021.4.0/lib/intel64/libmkl_core.so.1 (0x000014be86467000)
libacchost.so => /storage/icds/swst/deployed/production/20220813/apps/nvhpc/21.9_gcc-8.5.0/Linux_x86_64/21.9/compilers/lib/libacchost.so (0x000014be861f7000)
libdl.so.2 => /usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/libdl.so.2 (0x000014be85ff3000)
libnvhpcatm.so => /storage/icds/swst/deployed/production/20220813/apps/nvhpc/21.9_gcc-8.5.0/Linux_x86_64/21.9/compilers/lib/libnvhpcatm.so (0x000014be85de8000)
libstdc++.so.6 => /usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/libstdc++.so.6 (0x000014be85a53000)
libnvf.so => /storage/icds/swst/deployed/production/20220813/apps/nvhpc/21.9_gcc-8.5.0/Linux_x86_64/21.9/compilers/lib/libnvf.so (0x000014be8541e000)
libnvomp.so => /storage/icds/swst/deployed/production/20220813/apps/nvhpc/21.9_gcc-8.5.0/Linux_x86_64/21.9/compilers/lib/libnvomp.so (0x000014be847a4000)
libpthread.so.0 => /usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/libpthread.so.0 (0x000014be84584000)
libnvcpumath.so => /storage/icds/swst/deployed/production/20220813/apps/nvhpc/21.9_gcc-8.5.0/Linux_x86_64/21.9/compilers/lib/libnvcpumath.so (0x000014be8414f000)
libnvc.so => /storage/icds/swst/deployed/production/20220813/apps/nvhpc/21.9_gcc-8.5.0/Linux_x86_64/21.9/compilers/lib/libnvc.so (0x000014be83ef7000)
librt.so.1 => /usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/librt.so.1 (0x000014be83cef000)
libm.so.6 => /usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/libm.so.6 (0x000014be8396d000)
libc.so.6 => /usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/libc.so.6 (0x000014be83596000)
libgcc_s.so.1 => /usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/libgcc_s.so.1 (0x000014be8337e000)
libatomic.so.1 => /usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/libatomic.so.1 (0x000014be83176000)
libopen-rte.so.40 => /storage/icds/swst/deployed/production/20220813/apps/nvhpc/21.9_gcc-8.5.0/Linux_x86_64/21.9/comm_libs/openmpi/openmpi-3.1.5/lib/libopen-rte.so.40 (0x000014be82e32000)
libopen-pal.so.40 => /storage/icds/swst/deployed/production/20220813/apps/nvhpc/21.9_gcc-8.5.0/Linux_x86_64/21.9/comm_libs/openmpi/openmpi-3.1.5/lib/libopen-pal.so.40 (0x000014be82969000)
librdmacm.so.1 => /usr/lib64/librdmacm.so.1 (0x000014be8274e000)
libibverbs.so.1 => /usr/lib64/libibverbs.so.1 (0x000014be8252e000)
libnuma.so.1 => /usr/lib64/libnuma.so.1 (0x000014be82322000)
libutil.so.1 => /usr/lib64/libutil.so.1 (0x000014be8211e000)
libz.so.1 => /usr/lib64/libz.so.1 (0x000014be81f06000)
/lib64/ld-linux-x86-64.so.2 (0x000014be9020c000)
libnl-3.so.200 => /usr/lib64/libnl-3.so.200 (0x000014be81ce3000)
libnl-route-3.so.200 => /usr/lib64/libnl-route-3.so.200 (0x000014be81a51000)
For the test case, this was the INCAR file I used.
Code: Select all
SYSTEM = MoS2_Fe
ISTART = 0; ICHARG = 2
ISMEAR = 0; SIGMA = 0.1
ENCUT = 400
ISIF = 2; IBRION = 2; POTIM = 0.2; NSW = 200
EDIFF = 1E-5; EDIFFG = -1E-2
PREC = High;
LREAL = Auto;
LWAVE = False; LCHARG = False
Please let me know if you require any additional information.