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

segfault with native specification of limits using human qualifiers #8

Closed unode closed 6 years ago

unode commented 6 years ago

When specifying --tmp, --mem-per-cpu and other numerical parameters, if a size qualifier is used 1M, 1G, ... the code will segfault.

While this is supported on the command-line via srun/squeue the drmaa code assumes a number is passed and will segfault on non-numeric input.

unode commented 6 years ago

Closing as invalid. This generates an exception in the python drmaa interface but no segfault, which is the correct behavior to expect.