Merge pull request #1135 from edoapra/makemay2025

disable parallel linear algebra when using subgroups
This commit is contained in:
Edoardo Aprà 2025-06-26 17:12:37 -07:00 committed by GitHub
commit b87adccbfc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -119,6 +119,26 @@ endif
INCDIR := $(TOPDIR)/src/include
CNFDIR := $(TOPDIR)/src/config
ifdef USE_SUBGROUPS
DONTUSE_PARALLEL_LA :=y
endif
ifeq ($(GOTMINGW64),1)
DONTUSE_PARALLEL_LA :=y
endif
ifdef DONTUSE_PARALLEL_LA
DEFINES += -DGANXTVAL -DUSE_SUBGROUPS
#turn off any parallel linear algebra
override undefine SCALAPACK
override undefine USE_SCALAPACK
override undefine _USE_SCALAPACK
override undefine BUILD_SCALAPACK
override undefine SCALAPACK_LIB
override undefine BUILD_ELPA
override undefine USE_ELPA
override undefine ELPA
override undefine PEIGS
override USE_SERIALEIGENSOLVERS := Y
endif
ifdef EXTERNAL_GA_PATH
#check if ga-config is there
@ -3553,14 +3573,6 @@ ifdef USE_NOIO
endif
ifdef USE_SUBGROUPS
DEFINES += -DGANXTVAL -DUSE_SUBGROUPS
#turn off peigs for now
else
ifneq ($(GOTMINGW64),1)
DEFINES += -DPARALLEL_DIAG
endif
endif
###################################################################