From 7567b920a135bfbe355da13cdbe864bd5fc2c238 Mon Sep 17 00:00:00 2001 From: Sylvain Tricot Date: Tue, 30 Nov 2021 16:21:05 +0100 Subject: [PATCH] Add Lapack/Blas compilation flag. --- src/msspec/spec/fortran/eig_mi.mk | 3 ++- src/msspec/spec/fortran/phd_mi_noso_nosp_nosym.mk | 2 +- src/options.mk | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/msspec/spec/fortran/eig_mi.mk b/src/msspec/spec/fortran/eig_mi.mk index 173b763..aa5d7bc 100644 --- a/src/msspec/spec/fortran/eig_mi.mk +++ b/src/msspec/spec/fortran/eig_mi.mk @@ -2,7 +2,8 @@ memalloc_src := memalloc/dim_mod.f memalloc/modules.f memalloc/all cluster_gen_src := $(wildcard cluster_gen/*.f) common_sub_src := $(wildcard common_sub/*.f) renormalization_src := $(wildcard renormalization/*.f) -eig_common_src := $(wildcard eig/common/*.f) +#eig_common_src := $(wildcard eig/common/*.f) +eig_common_src := $(filter-out eig/common/lapack_eig.f, $(wildcard eig/common/*.f)) eig_mi_src := $(wildcard eig/mi/*.f) SRCS = $(memalloc_src) $(cluster_gen_src) $(common_sub_src) $(renormalization_src) $(eig_common_src) $(eig_mi_src) diff --git a/src/msspec/spec/fortran/phd_mi_noso_nosp_nosym.mk b/src/msspec/spec/fortran/phd_mi_noso_nosp_nosym.mk index 2179c68..12295a1 100644 --- a/src/msspec/spec/fortran/phd_mi_noso_nosp_nosym.mk +++ b/src/msspec/spec/fortran/phd_mi_noso_nosp_nosym.mk @@ -2,7 +2,7 @@ memalloc_src := memalloc/dim_mod.f memalloc/modules.f memalloc/all cluster_gen_src := $(wildcard cluster_gen/*.f) common_sub_src := $(wildcard common_sub/*.f) renormalization_src := $(wildcard renormalization/*.f) -phd_mi_noso_nosp_nosym_src := $(wildcard phd_mi_noso_nosp_nosym/*.f) +phd_mi_noso_nosp_nosym_src := $(filter-out phd_mi_noso_nosp_nosym/lapack_axb.f, $(wildcard phd_mi_noso_nosp_nosym/*.f)) SRCS = $(memalloc_src) $(cluster_gen_src) $(common_sub_src) $(renormalization_src) $(phd_mi_noso_nosp_nosym_src) MAIN_F = phd_mi_noso_nosp_nosym/main.f diff --git a/src/options.mk b/src/options.mk index 2ef0e2e..3bcb0e5 100644 --- a/src/options.mk +++ b/src/options.mk @@ -31,7 +31,7 @@ IFORT_FFLAGS_DBG = ################################################################################ # F2PY CONFIGURATION # ################################################################################ -F2PYFLAGS = --opt=-O2 +F2PYFLAGS = --opt=-O2 -llapack F2PYFLAGS_DBG = --debug-capi --debug ################################################################################