Skip to content

Specifying a Generic Resource Scheduling (GRES) flag for SLURM #76

@jjuarez84

Description

@jjuarez84

Hi James,

Is it possible to specify a gres flag for the SLURM scheduler? To work with our cluster it would be very useful that the batch script generated by longbow would contain a line similar to

#SBATCH --gres=gpu:1

I have attempted using the script parameter as a workaround, but with no success. This is the relevant part of the output I get when the configuration file includes this line
scripts = #SBATCH --gres=gpu:1
or this one
scripts = "#SBATCH --gres=gpu:1"

2017-10-31 18:09:03 - Initialisation complete.
2017-10-31 18:09:03 - Loading configuration information from file 'mypath/hosts.conf'
2017-10-31 18:09:03 - too many values to unpack (expected 2)

Many thanks

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions