Hi all,
I am new to SLURM, and I hope my question is not stupid. My client had developed his own API to manage processes and resources in a multithreading context on clusters environment. Now he wants to replace some modules by opensource ones as SLURM. More precisely, he wants to use some SLURM functionnalities : query job id, rank node, etc. To do that, I need to init correctly all my structures, but functions I need are not in SLURM includes (slurm.h & cie). I precise the API must be linked with SLURM, and must not use SLURM sources. So, how can I initialize job id, nodes & processes ranks, nodes & processes number, ? Thanks for your help.
