From 94bef41d4aaaf2aa8aaca36f81cd3c5b8a13f28b Mon Sep 17 00:00:00 2001 From: Giovanni La Mura <giovanni.lamura@inaf.it> Date: Wed, 6 Mar 2024 14:46:59 +0100 Subject: [PATCH] Configure linking with LAPACKe64 --- src/include/lapack_calls.h | 2 +- src/make.inc | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/include/lapack_calls.h b/src/include/lapack_calls.h index 9c363e74..430d9f57 100644 --- a/src/include/lapack_calls.h +++ b/src/include/lapack_calls.h @@ -13,7 +13,7 @@ * matrix with double precision elements. * * \param mat: Matrix of complex. The matrix to be inverted. - * \param n: `int` The number of rows and columns of the [n x n] matrix. + * \param n: `lapack_int` The number of rows and columns of the [n x n] matrix. * \param jer: `int &` Reference to an integer return flag. */ void zinvert(std::complex<double> **mat, lapack_int n, int &jer); diff --git a/src/make.inc b/src/make.inc index 3779c034..35dc5713 100644 --- a/src/make.inc +++ b/src/make.inc @@ -40,7 +40,7 @@ endif # CXXFLAGS defines the default compilation options for the C++ compiler ifndef CXXFLAGS -override CXXFLAGS=-O3 -ggdb -pg -coverage -I$(HDF5_INCLUDE) -DLAPACK_ILP64 +override CXXFLAGS=-O3 -ggdb -pg -coverage -DLAPACK_ILP64 -I$(HDF5_INCLUDE) #override CXXFLAGS=-O3 -I$(HDF5_INCLUDE) endif @@ -50,7 +50,7 @@ ifndef CXXLDFLAGS ifndef HDF5_LIB override HDF5_LIB=/usr/lib/x86_64-linux-gnu/hdf5/serial endif -override CXXLDFLAGS=-L/usr/lib64 -L$(HDF5_LIB) -lhdf5 -llapacke $(LDFLAGS) +override CXXLDFLAGS=-L/usr/lib64 -L$(HDF5_LIB) -lhdf5 -llapacke64 $(LDFLAGS) #else #override CXXLDFLAGS=-L/usr/lib64 -L$(HDF5_LIB) -lhdf5 $(CXXLDFLAGS) endif -- GitLab