Skip to content
Snippets Groups Projects
Commit d5f50fa8 authored by Rafael Ravedutti's avatar Rafael Ravedutti
Browse files

Set CUDA_PATH based on nvcc path


Signed-off-by: default avatarRafael Ravedutti <rafaelravedutti@gmail.com>
parent 53d4c62d
No related merge requests found
...@@ -3,7 +3,9 @@ ...@@ -3,7 +3,9 @@
PYCMD=python3 PYCMD=python3
CC=mpicxx CC=mpicxx
NVCC=nvcc NVCC=nvcc
CUDA_PATH=/apps/SPACK/0.18.0/opt/linux-almalinux8-zen/gcc-8.5.0/cuda-11.6.2-mlkhyhqwqk7cyltlmvw7n4ofdui5ocup NVCC_PATH = "$(shell which ${NVCC})"
CUDA_BIN_PATH = "$(shell dirname ${NVCC_PATH})"
CUDA_PATH:="$(shell dirname ${CUDA_BIN_PATH})"
all: clean build lj_cpu lj_gpu all: clean build lj_cpu lj_gpu
@echo "Everything was done!" @echo "Everything was done!"
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment