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

Runtime arguments #176

Open
nizomovs opened this issue Jun 7, 2024 · 0 comments
Open

Runtime arguments #176

nizomovs opened this issue Jun 7, 2024 · 0 comments

Comments

@nizomovs
Copy link
Contributor

nizomovs commented Jun 7, 2024

The @EXTRA_ARGS@ @-variable used in the experiments args field only allows passing arguments to the experiment. However, runtime arguments can not be passed as an experimental parameter to the runtime.

For example: If you have an MPI application, you would have to hard code i.e. the number of nodes to be used.

experiments:
  - name: test
    args: ['srun', ..., '-n8', '@EXTRA_ARGS@']
    stdout: out

Or using the built-in num_nodes fields:

experiments:
  - name: test
    args: ['srun', ..., '@EXTRA_ARGS@']
    num_nodes: 8
    stdout: out

If you wanted to run the same experiment but with a different number of nodes, you'd have to add a duplicate of that experiment and change the number of nodes.

It would be more convenient to add a @RUNTIME_ARGS@ variable. The runtime arguments could be specified similarly to experiment arguments with variants and a matrix.

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

No branches or pull requests

1 participant