-
-
Notifications
You must be signed in to change notification settings - Fork 359
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
One of the checks for sundials doesn't support sundials built with MPI support #1843
Comments
If anyone more proficient than me in |
I've created this: SCons/scons#4676 |
Isn't this an issue with the AUR [1] build of SUNDIALS? If the
[1] https://aur.archlinux.org/ for anyone else like me who had to look this up |
Mmmh, I think you still need to link against all dynamic libraries. There's no implicit transitive dependency management? https://stackoverflow.com/q/15923888 This is what it looks like on arch:
|
That output shows that the Please share the full output of the error you're getting after running |
As a reference, can you give me the output of I just want to see if Ubuntu builds sets an |
Well, the compiler call misses the |
This compiler line:
should be instead (I believe):
|
I was able to replicate this on Ubuntu 25.04 (pre-release), which has SUNDIALS 7.1.1. LLNL/sundials#464 seems to suggest that the MPI dependency has become a bit more pervasive in SUNDIALS 7.x. I think this is a bit unfortunate, as ideally software that uses only the the non-MPI parts of SUNDIALS ought not to need to understand anything about whether or not SUNDIALS was built with MPI support. I think the usual recommended practice for compiling once MPI dependencies have gotten drug in is to use the
This worked for me on the development Ubuntu version, where I also ran into issues with finding the |
I can always depend on So |
Is it possible to have sundials-seq and sundials (with MPI) installed simultaneously? If so, then depending on the former would be ideal. No, Cantera does not make use of MPI itself. The typical use within MPI applications is that each process creates and uses independent Cantera objects for calculations across an array of points. |
Problem description
I am the maintainer of the
cantera-git
AUR package, and I was trying to restore support to use system installedsundials
. If I addsundials
and notsundials-seq
as dependency, your check here doesn't work, complaining about missing openmpi symbols.I tried to check
scons
CheckLibWithHeader
. It doesn't support providingextra_libs
, while the underlyingCheckLibs
it uses, does. I think you need to pass-libmpi
to the compiler command...Steps to reproduce
Behavior
System information
Attachments
Additional context
The text was updated successfully, but these errors were encountered: