easyconfigs-it4i/v/VASP/VASP-6.5.1-NVHPC-24.3-CUDA-12.3.0-adjust-makefile.patch
Lukas Krupcik 64aa7c8083 new file: a/Automake/Automake-1.17-GCCcore-14.2.0.eb
deleted:    c/CASTEP/CASTEP-25.12-foss-2023b.eb
	new file:   c/CASTEP/CASTEP-25.12-intel-2024a.eb
	new file:   n/NCCL/NCCL-2.21.5-GCCcore-14.2.0-CUDA-12.8.0.eb
	modified:   n/NVHPC/NVHPC-24.9-CUDA-12.6.0.eb
	new file:   n/NVHPC/NVHPC-25.3-CUDA-12.8.0.eb
	new file:   o/OpenMPI/OpenMPI-5.0.7-25.3-CUDA-12.8.0.eb
	new file:   o/OpenMPI/OpenMPI-5.0.7-GCC-14.2.0.eb
	new file:   u/UCC-CUDA/UCC-CUDA-1.3.0-GCCcore-14.2.0-CUDA-12.8.0.eb
	deleted:    u/UCC/UCC-1.3.0-GCCcore-14.2.0.eb
	new file:   v/VASP/VASP-6.5.1-NVHPC-24.3-CUDA-12.3.0-adjust-makefile.patch
	new file:   v/VASP/VASP-6.5.1-NVHPC-24.3-CUDA-12.3.0.eb
	new file:   v/VASP/VASP-6.5.1-intel-2024a.eb
	new file:   v/VASP/VASP-6.5.1-intel-hdf5.patch
2025-04-11 09:10:46 +02:00

65 lines
2.3 KiB
Diff

--- arch/makefile.include.nvhpc_acc.orig 2025-04-09 12:20:02.277358084 +0200
+++ arch/makefile.include.nvhpc_acc 2025-04-09 12:22:34.890663227 +0200
@@ -17,8 +17,8 @@
# N.B.: you might need to change the cuda-version here
# to one that comes with your NVIDIA-HPC SDK
CC = mpicc -acc -gpu=cc60,cc70,cc80,cuda11.8
-FC = mpif90 -acc -gpu=cc60,cc70,cc80,cuda11.8
-FCL = mpif90 -acc -gpu=cc60,cc70,cc80,cuda11.8 -c++libs
+FC = mpif90 -acc -gpu=cc60,cc70,cc80,cuda12.3
+FCL = mpif90 -acc -gpu=cc60,cc70,cc80,cuda12.3 -c++libs
FREE = -Mfree
@@ -59,19 +59,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 ?= ${EBROOTQD}
+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
@@ -87,7 +87,7 @@
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
@@ -97,10 +97,10 @@
#LLIBS += -cudalib=cusolvermp,cublasmp -lnvhpcwrapcal
# HDF5-support (optional but strongly recommended, and mandatory for some features)
-#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