-
Notifications
You must be signed in to change notification settings - Fork 30
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
issue with finding MPI when building with spack #30
Comments
@gonsie , mind chasing this one down? I wanted to cut a new v0.2.2 release of libcircle within the next few weeks. It'd be nice to have spack working for that release. |
@gonsie , this was the other issue. Does this error message ring any bells? |
This one still happens on the BGQ, but I can build libcircle by hand myself |
Does spack build libcircle for you on TOSS and/or CORAL? |
BGQ uses MPICH, so this may be related to JulianKunkel@612ae55 |
Issue still exists for Spack.
But I can build it by hand. |
Debugging shows the Spack environment is mixing flags for the XL and gcc compilers, which causes the above problem. I also found this page: https://spack.readthedocs.io/en/latest/packaging_guide.html#mpi-support-in-spack That actually links to the m4 logic we're using to detect MPI as a recommended method, so I think our autotools code is likely alright. That same page suggests we might be able to improve our Spack package file by setting compiler variables using the spec.
So this is probably something to fix on our Spack side of things and not something we need to change in our distribution. |
I'm getting a very strange issue when building with spack. It appears that configure finds MPI correctly, but then fails.
This does not happen when manually building libcircle. Does the build system properly detect the MPI that spack passes, or does it rely on hard coded paths?
The text was updated successfully, but these errors were encountered: