From 88402e2621bfc4ae15efe40cc20c76e37b26f8af Mon Sep 17 00:00:00 2001 From: Giovanni La Mura <giovanni.lamura@inaf.it> Date: Thu, 4 Apr 2024 13:58:44 +0200 Subject: [PATCH] Link OpenBLAS64 only if not using MKL --- src/make.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/make.inc b/src/make.inc index e854d59e..3a1e4a6d 100644 --- a/src/make.inc +++ b/src/make.inc @@ -98,9 +98,11 @@ override CXXLDFLAGS=-L/usr/lib64 -L$(HDF5_LIB) -lhdf5 $(STATICFLAG) ifdef USE_LAPACK override CXXLDFLAGS+= $(LAPACK_LDFLAGS) ifdef USE_OPENMP +ifndef USE_MKL override CXXLDFLAGS+= -lopenblas64 endif endif +endif override CXXLDFLAGS+= $(LDFLAGS) endif -- GitLab