Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This branch improves the Cluster Module to be easier to be inherited.
Then, it introduces a new module, LocalCluster, that mocks the Cluster module, making all the submissions occur locally.
This enables the submission of jobs directly within the main job, allowing the user to run simulations inside the cluster but exploiting the scheduler.
As a similar example, all the configuration is the same as the Cluster module, except the hostname is not required:
The
my_cluster
variable is then used exactly like the original cluster; however, all submissions will be done within the same cluster without any SSH command.This is the best way to bypass the restrictions imposed by the 2FA in many clusters. It allows everything to run from inside the cluster.
Soon, a guide on how to use it in practice will be prepared.