We've started investigating using the Slurm Perl api (with slurm 17.02).

The Slurm module gives us access to the things we would otherwise use
scontrol for (more or less).

However, I haven't found any Perl module/api for doing the things one
would use sacctmgr for (listing/adding/modifying/removing
qos/account/assoc, etc.).  There is the Slurmdb module, but its
documentation is more or less emptly, and the Slurmdb.pm file seems only
to export a couple of constants (and I can't even get that to work(*)).

Does anyone know if such a thing exists?




(*) Everything I try, like

use Slurmdb qw(:all SLURMDB_ADD_USER);
$what = SLURMDB_ADD_USER();

just gives the error "SLURMDB_ADD_USER is not a valid Slurmdb macro"

-- 
Regards,
Bjørn-Helge Mevik, dr. scient,
Department for Research Computing, University of Oslo

Attachment: signature.asc
Description: PGP signature

Reply via email to