-
Notifications
You must be signed in to change notification settings - Fork 104
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
[feat] New configuration parameter for specifying commands to install reframe remotely for topology detection #3281
[feat] New configuration parameter for specifying commands to install reframe remotely for topology detection #3281
Conversation
Hello @Blanca-Fuentes, Thank you for updating! Cheers! There are no PEP8 issues in this Pull Request!Do see the ReFrame Coding Style Guide Comment last updated at 2024-10-29 16:58:01 UTC |
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.
For me this is a very good start. It would be good to have some unittests that check the basic functionality f the feature.
Some things that maybe we still need to discuss:
- Should we copy the reframe directory in the custom command case? I think not, as long as we don't have a use case for it.
- Do we give the option to the user to add commands pre/post in the current scripts (bootstrap/pip)?
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.
Looks good overall. I have a few last comments
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.
I like the idea of allowing users to specify the exact commands to run, but I would rather restrict that to the installation commands only. The reframe --detect-host-topology=topo.json
should be added always by the framework.
As a result we should rather call the configuration variable as remote_install
.
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.
Lgtm, thanks @Blanca-Fuentes!
This PR adds the option of specifying custom commands to install reframe in a remote partition for the topology auto-detection.
Previously, a clone of reframe was created running bootstrap or pip in order to launch reframe with auto-detect option.
Now, a list of custom commands can be specified to install reframe through
general:remote_install
to avoid creating a reframe clone withpip
or running.\bootstrap.sh
.The
reframe --detect-host-topology=topo.json
is run after the commands for the remote reframe installation.Closes #2292.
Closes #2690.
Closes #2979 .