Skip to content
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

update make_module_* methods in OpenMPI easyblock to handle special cases for OpenMPI-CUDA #2710

Conversation

akesandgren
Copy link
Contributor

(created using eb --new-pr)

@akesandgren akesandgren added this to the 4.x milestone Apr 20, 2022
akesandgren added a commit to akesandgren/easybuild-easyconfigs that referenced this pull request Apr 20, 2022
@boegel boegel changed the title handle special cases for OpenMPI-CUDA update make_module_* methods in OpenMPI easyblock to handle special cases for OpenMPI-CUDA Apr 27, 2022
@@ -140,6 +140,31 @@ def test_step(self):

super(EB_OpenMPI, self).test_step()

def make_module_req_guess(self):
"""Special case for OpenMPI-CUDA"""
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@akesandgren This docstring should be fine-tuned a bit.

Although the current implementation only does specific stuff for the OpenMPI-CUDA case, that may not stay list this going forward.

The method docstring should just say something like "Tweaks to path guesses specific to OpenMPI.", and a comment should be added right above the if to explain why the PATH entry is removed, and why the OMPI_MCA_mca_component_path is added.

Similar remark for make_module_extra below.
That seems like a duplicate of what's being done here in make_module_req_guess, which are both needed?!

@akesandgren
Copy link
Contributor Author

Not needed since we went with the OpenMPI+CUDA setup in easybuilders/easybuild-easyconfigs#15528 instead

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants