natefoo / slurm-drmaa

DRMAA for Slurm: Implementation of the DRMAA C bindings for Slurm
GNU General Public License v3.0
48 stars 22 forks source link

Support for `--gpus` flag? #74

Open bernt-matthias opened 1 year ago

bernt-matthias commented 1 year ago

Just got this error mesage

Invalid native specification: gpus=1 (Unsupported option: --gpus)

guess it comes from slurm-drmaa?

natefoo commented 10 months ago

You should be able to use the more general --gres=gpu:1 (although note the current pitfall in #68).