[slurm-users] Question about slurm source code and libraries

dean.w.schulze at gmail.com dean.w.schulze at gmail.com
Tue Jan 28 03:54:45 UTC 2020

If you look at the languages supported for server (endpoint) generation there isn't an implementation in C or even C++.  The client code generator has a cpprest implementation (C++).

They may have included swagger in those slides just to help people understand what a REST endpoint is.

For my purposes I've found that libcurl provides a REST client implementation in C that should be widely available.

-----Original Message-----
From: slurm-users <slurm-users-bounces at lists.schedmd.com> On Behalf Of Chris Samuel
Sent: Saturday, January 25, 2020 9:16 AM
To: slurm-users at lists.schedmd.com
Subject: Re: [slurm-users] Question about slurm source code and libraries

On 25/1/20 8:08 am, dean.w.schulze at gmail.com wrote:

> I'm working on the 19.05.4 source code since it is stable, but I would  prefer to use the same C REST library that will be used in 20.02.  Does anyone know what C library that is?

They're using OpenAPI (formerly Swagger) for this (see slide 5), and it seems that includes a code generator for various languages.


Their source code is on Github here:


All the best,
  Chris Samuel  :  http://www.csamuel.org/  :  Berkeley, CA, USA

More information about the slurm-users mailing list