Update NSVHMEM block for new releases on Github#538
Conversation
Releases >= 3.4.5 are published on Github, ensure they get picked up. Fix `mpi` arg to allow using either True or an explicit MPI_HOME
samcmill
left a comment
There was a problem hiding this comment.
Would you please add a test case for version 3.4.5 to exercise the new behavior?
|
@jilliebean @sopcao for viz |
|
Also, since you updated the docstring, the docs will need to be regenerated. I can do that post-merge since it requires having |
|
Thanks for the review! I will likely get around to implementing this on Monday.
I can also regenerate this, but |
|
Sorry for the delay - I ended up doing more a rewrite than an update and so this likely requires a new review. Re: the To be consistent here I also flipped the Re: cuda LD_LIBRARY_PATH for the build environment. Generalized this to fire whenever a CUDA path is given, not only when MPI is enabled. I'm still not quite sure why but it looks like NVSHMEM build need to be able to dlopen libs from Re: a 3.4.5 test case.
Finally, I sent out Claude to track down the |
samcmill
left a comment
There was a problem hiding this comment.
Other than the 2 flagged items, LGTM.
Ideally I'd like to have GitHub automatically regenerate the documentation whenever there is a commit. (I'm not asking you to do it, just noting the direction I'd like to take the documentation.) |
New NVSHMEM packages default to ON for MPI, so I toggled logic in block. This again needed explicit else branching. See https://github.com/NVIDIA/nvshmem/blob/v3.4.5-0/cmake_config/NVSHMEMEnv.cmake#L40-L41 Updated old test to check for the explicit off case (if passed in), and new test that also checks the MPI_HOME string variant of the mpi arg.
|
Should be done now, please have a look.
Makes sense. I've not worked with GH actions (mostly gitlab), but happy to help with this. |
|
LGTM. Thanks Markus! |
Releases >= 3.4.5 are published on Github, ensure they get picked up. Fix
mpiarg to allow using either True or an explicit MPI_HOME.I could not run the
pydocmd generatecommand, do I need a different package?uvx -p 3.11 -w pydoc-markdown pydocmd generateseems to expect a .py file instead, and with newer Python versions I get errors about the deprecated/removedimppackage.Pull Request Description
Author Checklist
pydocmd generate) if any docstrings have been modified