PyMFEM icon indicating copy to clipboard operation
PyMFEM copied to clipboard

Fix `hypre_prefix` and `build_hypre` options

Open zhanggy2004 opened this issue 1 month ago • 1 comments

Thank you for developing and maintaining this nice project.

I have been using prebuilt hypre from conda forge, and found the installation process for PyMFEM still builds hypre from source. I am trying to fix this issue in this PR.

Also, when --with-parallel, --with-gslib and --hypre-prefix are all enabled, I found gslib will not be built for the parallel version. This PR tries to fix that as well.

There might be a similar issue in https://github.com/mfem/PyMFEM/blob/5fcbd6d000b6119bc880888cf7f730d90eb1650c/_build_system/build_config.py#L328-L329, but I have not tested that and will leave it unchanged.

Please let me know your thoughts/suggestions. Thanks.

zhanggy2004 avatar Nov 25 '25 02:11 zhanggy2004

@zhanggy2004 Thank you so much for finding this. @justinlaughlin When you have time, can you take a look? SI don''t use conda to install stuffs. You would be better person to test it.

sshiraiwa avatar Nov 27 '25 23:11 sshiraiwa