-
Notifications
You must be signed in to change notification settings - Fork 562
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
Fix the build option for LAMMPS to actually enable MPI #9185
Conversation
platforms, platform_dependencies = MPI.augment_platforms(platforms) | ||
# Avoid platforms where the MPI implementation isn't supported | ||
# OpenMPI | ||
platforms = filter(p -> !(p["mpi"] == "openmpi" && arch(p) == "armv6l" && libc(p) == "glibc"), platforms) | ||
platforms = filter(p -> !(p["mpi"] == "openmpi" && nbits(p) == 32), platforms) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You don't need to filter out 32-bit platforms if you build against OpenMPI 4:
Yggdrasil/H/HDF5/build_tarballs.jl
Line 245 in 27db5ba
platforms, platform_dependencies = MPI.augment_platforms(platforms; MPItrampoline_compat="5.3.1", OpenMPI_compat="4.1.6, 5") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How does: OpenMPI_compat="4.1.6, 5"
work? Do we not need to build against OpenMPI v4 and OpenMPI v5 separately?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the compat forces the lower version as build version, for OpenMPI we don't need separate builds because the two major versions are ABI-compatible, we just have more platforms available with OpenMPI v4
any ideas? |
Uhm, maybe wrong RPATH? |
It's weird since it is just this one build with mpitrampoline cc: @eschnett |
As noted in cesmix-mit/LAMMPS.jl#59 (comment)