-
Hello, we're currently trying to update the PETSc build instructions. They currently work for 5.13, but it seems that many things have been improved/simplified since then. |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments 21 replies
-
I don't claim to understand what is done in that Python script. But it looks like you are building all of SuiteSparse with the root Makefile and then picking the headers and libraries for AMD, COLAMD, BTF, CAMD, CCOLAMD, CHOLMOD, UMFPACK, KLU, SPQR, and SuiteSparse_config. That might become easier once #415 is ready and merged.
PS: The latest release is SuiteSparse 7.3.0 currently. |
Beta Was this translation helpful? Give feedback.
-
I've posted a SuiteSparse 7.3.1.beta1 that fixes issue #478. |
Beta Was this translation helpful? Give feedback.
-
The new build system is now very stable, and appears in a prerelease: SuiteSparse 7.4.0.beta1. |
Beta Was this translation helpful? Give feedback.
-
I don't have a gitlab login so I'll need to reply here. To set a specific BLAS use something like
or
which says "use the libblas.so". It reports:
that's just one example. You should be able to use any If you want to skip the cmake FindBLAS.cmake entirely, you'd need to modify the SuiteSparse_config/cmake_modules/SuiteSparseBLAS.cmake to instead
etc, then if I see Regarding METIS: you can't. I can't use the default METIS library because it's not configured to work with SuiteSparse. I need to patch it in various (minor) ways, like to add my own memory manager, and to #define the integer sizes to use. METIS allows for that but it requires that you edit METIS, and the new functions have the same name as the editted METIS. That means they could collide with some -libmetis in the system that assumes a different integer size for its indices inside its graphs / sparse matrices. To avoid that, I rename all METIS functions, in my copy, using #define's. See CHOLMOD/SuiteSparse_metis, so I do not collide with another copy of METIS (like the one you use). So unless you have a very special copy of METIS, my copy should be fine; it doesn't conflict with another copy of METIS linked in alongside SuiteSparse. It's all bundled inside CHOLMOD:
|
Beta Was this translation helpful? Give feedback.
-
For METIS: see https://github.com/DrTimothyAldenDavis/SuiteSparse/blob/dev/CHOLMOD/SuiteSparse_metis/README.txt |
Beta Was this translation helpful? Give feedback.
-
Let me know if setting BLA_VENDOR is sufficient for you. If it isn't then I could see a simple solution like the following:
That would require me to change SuiteSparse_config/cmake_modules/SuiteSparseBLAS.cmake, so that it would check if BLAS_LIBRARIES is already defined, just at the very top of that file. I don't think it would be hard to add. But the simplest solution would be to see if BLA_VENDOR works for PETsc. |
Beta Was this translation helpful? Give feedback.
-
I just posted 7.4.0.beta4 that might address some of these issues. See https://github.com/DrTimothyAldenDavis/SuiteSparse/releases/tag/v7.4.0.beta4 |
Beta Was this translation helpful? Give feedback.
-
I'd like to post a stable SuiteSparse 7.5.0 soon, with major additions to the GraphBLAS library. Are these issues now resolved in the current 7.4.0, or perhaps 7.5.0.betaX? |
Beta Was this translation helpful? Give feedback.
I'm pretty sure everything is fine now. All tests pass and the remaining open questions are related to details of the PETSc build system. From my side, green lights for a 7.5.0 release.