[slurm-users] the slurm_load_partitions2 function from slurm api
ahmet.mercan at uhem.itu.edu.tr
Thu May 9 03:25:06 UTC 2019
I am trying to use the slurm_load_partitions2 function from slurm api.
It is defined as:
extern int slurm_load_partitions2(time_t update_time,
But, I can not find a document or an example code to use it.
To use it, I should create a slurmdb_cluster_rec_t struct. But every way
that I found to create slurmdb_cluster_rec_t struct requires a lot of
include of slurm development libraries.
Of course, I can use directly slurm development libraries, but than,
using the slurm api is meanless, isn't it?
Do you know a way to use slurm_load_partitions2 function?
More information about the slurm-users