Skip to content

Commit

Permalink
Fixed detecting compiler.
Browse files Browse the repository at this point in the history
  • Loading branch information
hfp committed Sep 6, 2024
1 parent 481cc9d commit 4c8a06b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/cp2k/Linux-x86-64-intelx.arch
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ else ifneq (,$(USE_ACCEL))
$(info USE_ACCEL=$(USE_ACCEL) not fully supported!)
endif

ifneq (,$(USE_ACCEL))
ifneq (,$(filter-out 0,$(CUDA) $(OCL)))
NVCC_FILE := $(call which,nvcc)
NVCC := $(notdir $(NVCC_FILE))
NVCC_PATH := $(if $(NVCC_FILE),$(wildcard $(dir $(NVCC_FILE))/..))
Expand Down

0 comments on commit 4c8a06b

Please sign in to comment.