Skip to content

per-test option cpusPerTask should work with the slurm module #118

Description

@dawson6

The command line option --cpusPerTask works with the slurm module.
This option will add this to the srun line so it looks like so if run with ats -cpusPerTask=2

srun --nodes=2-3 --cpus-per-task=2 --ntasks=40

However if the cpusPerTask=2 is specified on the ATS test line for an individual test case, it is ignored. That is, this line is generated.

srun --nodes=2-3 --cpus-per-task=1 --ntasks=40

The slurm module should honor that option on a per test basis, so that non threaded codes can reserve 2 CPUs for a test in order to undersubscribe nodes, or for any other reason.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions