Skip to content

Emit -N in Slurm job script #1057

@vkarak

Description

@vkarak

TACC requires the -N option to be emitted in the job script, but ReFrame does not emit it currently. We should give the option to enable that. The workaround currently is the following:

@rfm.run_after('setup')
def set_num_nodes(self):
    self.job.options = [f'-N {self.num_tasks // self.num_tasks_per_node}']

FYI @rtmclay

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions