From f7299edcd687f46978fa99d62dc623f01114be8f Mon Sep 17 00:00:00 2001
From: Antoine Hoffmann <antoine.hoffmann@epfl.ch>
Date: Fri, 5 May 2023 10:44:27 +0200
Subject: [PATCH] LAPACK is included and required to compile

---
 Makefile       | 3 ---
 local/dirs.inc | 1 +
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/Makefile b/Makefile
index b798962f..1316ceff 100644
--- a/Makefile
+++ b/Makefile
@@ -74,9 +74,6 @@ test_svd: F90FLAGS = -DTEST_SVD -O3
 test_svd: EXEC = $(BINDIR)/gyacomo23_test_svd
 test_svd: dirs src/srcinfo.h
 test_svd: dirs src/srcinfo.h
-test_svd: LAPACKDIR  = $(HOME)/lib/lapack-3.10.0
-test_svd: LIBS  += -llapack -lblas
-test_svd: LDIRS += -L$(LAPACKDIR)
 test_svd: compile
 # subroutines
 dirs:
diff --git a/local/dirs.inc b/local/dirs.inc
index 99cbc0a7..1859ed59 100644
--- a/local/dirs.inc
+++ b/local/dirs.inc
@@ -11,3 +11,4 @@ FMDIR      = $(HOME)/lib/FM
 FFTW3DIR   = $(HOME)/lib/fftw-3.3.10
 #FFTW3DIR   = $(FFTW_HOME)#for Marconi
 FUTILS_DIR = $(HOME)/lib/futils/src
+LAPACKDIR  = $(HOME)/lib/lapack-3.10.0
\ No newline at end of file
-- 
GitLab