easyconfigs-it4i/v/VASP/VASP-6.3.2-NVHPC-22.2-CUDA-11.6.0-adjust-makefile.patch
Jakub Kropacek 1149e65a51 new file: c/CP2K/CP2K-2022.1-foss-2022a.eb
new file:   c/ctffind/ctffind-4.1.14-foss-2021a.eb
	new file:   f/FFTW.MPI/FFTW.MPI-3.3.8-NVHPC-22.2.eb
	modified:   f/FFTW/FFTW-3.3.10-NVHPC-22.2-amd.eb
	new file:   f/FFTW/FFTW-3.3.8-NVHPC-22.2-amd.eb
	new file:   f/FFTW/FFTW-3.3.8-NVHPC-22.2.eb
	modified:   h/HDF5/HDF5-1.12.1-NVHPC-22.2.eb
	new file:   h/HDF5/HDF5-1.12.2-gompi-2022a.eb
	new file:   h/HDF5/HDF5-1.12.2-iimpi-2022a.eb
	new file:   l/libxsmm/libxsmm-1.17-GCC-11.3.0.eb
	new file:   p/PLUMED/PLUMED-2.8.0-foss-2022a.eb
	new file:   q/QD/QD-2.3.17-NVHPC-22.2.eb
	modified:   q/QuantumESPRESSO/QuantumESPRESSO-7.1-foss-2022a.eb
	modified:   q/QuantumESPRESSO/QuantumESPRESSO-7.1-intel-2022a.eb
	new file:   r/RELION/RELION-4.0-beta-foss-2021a.eb
	new file:   s/ScaLAPACK/ScaLAPACK-3.0-NVHPC-22.2.eb
	new file:   v/VASP/VASP-6.3.2-NVHPC-22.2-CUDA-11.6.0-adjust-makefile.patch
	modified:   v/VASP/VASP-6.3.2-NVHPC-22.2-CUDA-11.6.0.eb
	new file:   x/xxd/xxd-8.2.4220-GCCcore-11.3.0.eb
	deleted:    f/FFTW.MPI/FFTW.MPI-3.3.10-gompi-2022a.eb
	deleted:    h/HDF5/HDF5-1.13.1-gompi-2022a.eb
	deleted:    h/HDF5/HDF5-1.13.1-iimpi-2022a.eb
2022-09-05 18:21:49 +02:00

66 lines
2.2 KiB
Diff

# IT4Innovations 2022
# JK
#
# Adjusts makefile.include for use within the EasyBuild environment.
--- arch/makefile.include.nvhpc_acc.orig 2022-09-02 21:28:42.393086358 +0200
+++ arch/makefile.include.nvhpc_acc 2022-09-02 21:28:48.142969028 +0200
@@ -16,8 +16,8 @@
# N.B.: you might need to change the cuda-version here
# to one that comes with your NVIDIA-HPC SDK
-FC = mpif90 -acc -gpu=cc60,cc70,cc80,cuda11.0
-FCL = mpif90 -acc -gpu=cc60,cc70,cc80,cuda11.0 -c++libs
+FC = mpif90 -acc -gpu=cc60,cc70,cc80,cuda11.6
+FCL = mpif90 -acc -gpu=cc60,cc70,cc80,cuda11.6 -c++libs
FREE = -Mfree
@@ -60,19 +60,19 @@
# Specify your NV HPC-SDK installation (mandatory)
#... first try to set it automatically
-NVROOT =$(shell which nvfortran | awk -F /compilers/bin/nvfortran '{ print $$1 }')
+#NVROOT =$(shell which nvfortran | awk -F /compilers/bin/nvfortran '{ print $$1 }')
# 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)
+NVHPC ?= ${EBROOTNVHPC}
+NVVERSION = ${EBVERSIONNVHPC}
+NVROOT = $(NVHPC)/Linux_x86_64/$(NVVERSION)
## Improves performance when using NV HPC-SDK >=21.11 and CUDA >11.2
-#OFLAG_IN = -fast -Mwarperf
-#SOURCE_IN := nonlr.o
+OFLAG_IN = -fast -Mwarperf
+SOURCE_IN := nonlr.o
# Software emulation of quadruple precsion (mandatory)
-QD ?= $(NVROOT)/compilers/extras/qd
+QD ?= ${EBROOTQD}
LLIBS += -L$(QD)/lib -lqdmod -lqd
INCS += -I$(QD)/include/qd
@@ -88,15 +88,15 @@
LLIBS += $(SCALAPACK) $(LAPACK) $(BLAS)
# FFTW (mandatory)
-FFTW_ROOT ?= /path/to/your/fftw/installation
+FFTW_ROOT ?= ${EBROOTFFTWMPI}
LLIBS += -L$(FFTW_ROOT)/lib -lfftw3
INCS += -I$(FFTW_ROOT)/include
# HDF5-support (optional but strongly recommended)
-#CPP_OPTIONS+= -DVASP_HDF5
-#HDF5_ROOT ?= /path/to/your/hdf5/installation
-#LLIBS += -L$(HDF5_ROOT)/lib -lhdf5_fortran
-#INCS += -I$(HDF5_ROOT)/include
+CPP_OPTIONS+= -DVASP_HDF5
+HDF5_ROOT ?= ${EBROOTHDF5}
+LLIBS += -L$(HDF5_ROOT)/lib -lhdf5_fortran
+INCS += -I$(HDF5_ROOT)/include
# For the VASP-2-Wannier90 interface (optional)
#CPP_OPTIONS += -DVASP2WANNIER90