-
Notifications
You must be signed in to change notification settings - Fork 235
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
MPI (message passing interface) --- run several M2 processes in parallel #2129
base: development
Are you sure you want to change the base?
Conversation
|
@DanGrayson and @mahrud, I pushed a commit that has a change that makes it possible to run |
I think you should wrap things like (sorry about the close/reopen, that was a mis-click) |
We probably should just require MPI at build time. The only current "fail" I see looks unrelated to MPI: |
Even if you want the standard distribution to be MPI-capable (which is going to be difficult with brew and potentially also debian, since typically MPI-capable binaries are distributed in separate packages), there should be a way to disable MPI, similar to TBB, OpenMP, Python, etc. |
Fair enough. What would be the best way to omit MPI code with macros? |
Inside Also, once MPI is a package and has its own tests, could you revert f1aa4e4? |
@mahrud, I've encapsulated all MPI-related code with macros, so ubuntu non-MPI builds go through... but I don't understand why the MPI build fails now. @DanGrayson, could you glance at |
Tabs aren't allowed in yaml. |
I'll need some help with Could it be that
All seems fine now with the MPI build via |
Yes, sorry I should have added this when I added the I also cherry-picked a fix for Normaliz 3.10, which is on development (it might be helpful to rebase on top of development and force push). |
…s if "end" is sent.
Everything is fine with I've replaced |
Looking online, one suggestion seems to be to use the function |
Well, probing the environment variable was a way to determine if the execution started via |
Let me ask the opinion of @d-torrance (at least on debian). Do you think there need to distribute the MPI version of M2 separately? |
Now that the tests pass, could you turn the MPI tests into either tests for the package or perhaps tests under After this, we can remove this section: M2/.github/workflows/test_build.yml Lines 208 to 213 in e01bbce
|
I had success building this on Fedora 34. |
Hopefully fixes Ubuntu MPI builds
Use backports PPA for latest MPI packages
We want to implement coarse parallelization via basic MPI routines --- collaborators are welcome.
See the commentary in
packages/MPI.m2
To implement: