diff --git a/exts/build_dbcsr/Makefile b/exts/build_dbcsr/Makefile index dc601c1d82..73e654b532 100644 --- a/exts/build_dbcsr/Makefile +++ b/exts/build_dbcsr/Makefile @@ -93,8 +93,10 @@ else ifeq ($(GPUVER),Mi50) else ifeq ($(GPUVER),Mi100) ARCH_NUMBER = gfx908 else ifneq ($(GPUVER),) +ifneq (opencl,$(USE_ACCEL)) $(error GPUVER not recognized) endif +endif # If compiling with nvcc ifeq (cuda,$(USE_ACCEL))