Closed mikemhenry closed 9 months ago
Metis 1.1.1 causes a segfault so a pin is needed (but even better would be a repo data patach)
I think both are necessary. The repodata patch is necessary as metis from 5.1.0 to 5.1.1, and the pin is necessay as at the momement mumps hardcodes values only compatible with metis 5.1.0 . For the meanwhile I created the repodata patch in https://github.com/conda-forge/conda-forge-repodata-patches-feedstock/pull/527, once that is merged I can add a pin on metis 5.1.0 until somebody provides a patch for metis 5.1.1 compatibility.
Yes that sounds correct.
I seem to be running into this issue also in mumps 5.6.2, which isn't even installable with metis 5.1.0.
Metis 1.1.1 causes a segfault so a pin is needed (but even better would be a repo data patach)
I think both are necessary. The repodata patch is necessary as metis from 5.1.0 to 5.1.1, and the pin is necessay as at the momement mumps hardcodes values only compatible with metis 5.1.0 . For the meanwhile I created the repodata patch in conda-forge/conda-forge-repodata-patches-feedstock#527, once that is merged I can add a pin on metis 5.1.0 until somebody provides a patch for metis 5.1.1 compatibility.
Old version of mumps build with 5.1.0 have now the correct run_exports, thanks to https://github.com/conda-forge/conda-forge-repodata-patches-feedstock/pull/527 . Furthermore, the 5.1.1 compatibility was fixed in https://github.com/conda-forge/mumps-feedstock/pull/88 . A general migration of conda-forge to metis 5.1.1 is ongoing on https://conda-forge.org/status/#metis511, even if it is kind of stalling on https://github.com/conda-forge/gtsam-feedstock/pull/21 and https://github.com/conda-forge/ipopt-feedstock/pull/97 .
@akhmerov mumps 5.6.2 only works with metis 5.1.1 as it was built with metis 5.1.1. Just to understand more, why is this a problem for you?
Ah, the problem is that I see the segfault reported in https://github.com/conda-forge/metis-feedstock/issues/35 in mumps 5.6.2 build h5c37537_1 and metis 5.1.1 h59595ed_2.
Ah, maybe I'm wrong. I see a segmentation fault, which is different. I'll investigate what is up and update.
Thanks for the details! In theory the specific segfaults in https://github.com/conda-forge/metis-feedstock/issues/35 was fixed by https://github.com/conda-forge/mumps-feedstock/pull/88 . To understand if the segfault is related to metis or mumps, if you are able to do so you can also try your code with mumps-seq-5.2.1-h5c37537_14 or similar, that is an earlier version of mumps that still uses metis 5.1.1 .
I have confirmed that there are still segfaults with MUMPS + Metis 5.1.1, observed in our wrapper. Making a self-contained reproducer will take me some more work, but I confirmed that:
I have confirmed that there are still segfaults with MUMPS + Metis 5.1.1, observed in our wrapper. Making a self-contained reproducer will take me some more work, but I confirmed that:
* Both mumps-seq 5.2.1 and 5.6.2 segfault with metis ordering when Metis is at 5.1.1 * mumps-seq 5.2.1 works with Metis 5.1.0 * Both versions work with e.g. scotch ordering.
Thanks a lot for the investigation, I opened https://github.com/conda-forge/mumps-feedstock/issues/106 to track this problem.
There were seemingly memory issues in metis 5.1.1: https://github.com/KarypisLab/METIS/issues/24, which aren't released yet are released in 5.2.1. Given that metis 5.1.1 has known bugs, would it make sense to rebuild 5.6.2 with metis 5.1.0?
I believe this is addressed now, right?
Yes, both the problem original reported and the new problem.
Solution to issue cannot be found in the documentation.
Issue
Metis 1.1.1 causes a segfault so a pin is needed (but even better would be a repo data patach)
Installed packages
Environment info