Skip to content
Snippets Groups Projects
Commit 94bef41d authored by Giovanni La Mura's avatar Giovanni La Mura
Browse files

Configure linking with LAPACKe64

parent 691bb6e6
No related branches found
No related tags found
No related merge requests found
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* matrix with double precision elements. * matrix with double precision elements.
* *
* \param mat: Matrix of complex. The matrix to be inverted. * \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. * \param jer: `int &` Reference to an integer return flag.
*/ */
void zinvert(std::complex<double> **mat, lapack_int n, int &jer); void zinvert(std::complex<double> **mat, lapack_int n, int &jer);
......
...@@ -40,7 +40,7 @@ endif ...@@ -40,7 +40,7 @@ endif
# CXXFLAGS defines the default compilation options for the C++ compiler # CXXFLAGS defines the default compilation options for the C++ compiler
ifndef CXXFLAGS 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) #override CXXFLAGS=-O3 -I$(HDF5_INCLUDE)
endif endif
...@@ -50,7 +50,7 @@ ifndef CXXLDFLAGS ...@@ -50,7 +50,7 @@ ifndef CXXLDFLAGS
ifndef HDF5_LIB ifndef HDF5_LIB
override HDF5_LIB=/usr/lib/x86_64-linux-gnu/hdf5/serial override HDF5_LIB=/usr/lib/x86_64-linux-gnu/hdf5/serial
endif endif
override CXXLDFLAGS=-L/usr/lib64 -L$(HDF5_LIB) -lhdf5 -llapacke $(LDFLAGS) override CXXLDFLAGS=-L/usr/lib64 -L$(HDF5_LIB) -lhdf5 -llapacke64 $(LDFLAGS)
#else #else
#override CXXLDFLAGS=-L/usr/lib64 -L$(HDF5_LIB) -lhdf5 $(CXXLDFLAGS) #override CXXLDFLAGS=-L/usr/lib64 -L$(HDF5_LIB) -lhdf5 $(CXXLDFLAGS)
endif endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment