Automatic detection of the system configuration #3320
Draft
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 PR introduces the option of detecting the system configuration automatically and writing the corresponding ReFrame config file.
reframe --detect-configuration=autodetect_config.py
(an example of theautodetect_config.py
is included). In thedetect_config()
the optional arguments aredetect_containers
: submits jobs to each partition to detect container platformssched_options
: additional scheduler access options that must be included for all partitionstime_limit
: time limit for the remote detection jobs (container platforms)exclude_feats
: node features to be ignored in the filtering of the nodes to determine the partitions, patterns likerow*
are acceptedfilename
: name of the configuration file that will be generatedRFM_REMOTE_WORKDIR
Ideas/todo's
--detect-topology
reframe --detect-topology