Hi;

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,
                                  partition_info_msg_t **resp,
                                  uint16_t show_flags,
                                  slurmdb_cluster_rec_t *cluster);


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?

Regards;

Ahmet M.


Reply via email to