diff --git a/_build_system/build_config.py b/_build_system/build_config.py index 17595562..b7d6299b 100644 --- a/_build_system/build_config.py +++ b/_build_system/build_config.py @@ -354,8 +354,8 @@ def configure_install(self): if self.hypre_prefix != '': check = find_libpath_from_prefix('HYPRE', self.hypre_prefix) assert check != '', "libHYPRE.so is not found in the specified /lib or lib64" - hypre_prefix = os.path.expanduser(self.hypre_prefix) - build_hypre = False + bglb.hypre_prefix = os.path.expanduser(self.hypre_prefix) + bglb.build_hypre = False if self.metis_prefix != '': check = find_libpath_from_prefix('metis', self.metis_prefix) diff --git a/setup.py b/setup.py index 74d0f5b8..1a6a3b94 100644 --- a/setup.py +++ b/setup.py @@ -186,7 +186,7 @@ def run(self): if bglb.build_gslib: download('gslib') make_gslib(serial=True) - if bglb.build_hypre: + if bglb.build_parallel: make_gslib() mfem_downloaded = False