Skip to content

Support ntasks in SlurmExecutor #381

@activatedgeek

Description

@activatedgeek

Is your feature request related to a problem? Please describe.

The current JobGroup relies on the first executor task to build arguments for sbatch.
It would be convenient to support the sbatch --ntasks argument so that the resource allocation calculation is a little easier than assigning --ntasks-per-node.

Describe the solution you'd like

Add ntasks to SlurmExecutor.

Describe alternatives you've considered

The alternative is to manually calculate potential topology of tasks per node based on the list of executors added to the experiment.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions