giovtorres / slurm-docker-cluster

A Slurm cluster using docker-compose
MIT License
317 stars 185 forks source link

add json support #29

Closed d4l3k closed 1 year ago

d4l3k commented 1 year ago

This install the json libraries and headers required to have json support in Slurm. Without it running sacct --json throws an sacct: fatal: Unable to find plugin: serializer/json error.

Test plan:

docker build -t slurm-docker-cluster:21.08.6 .
IMAGE_TAG=21.08.6 docker-compose up -d
docker exec -it c1 sacct --json
d4l3k commented 1 year ago

@giovtorres when you get a chance could you take a look? I'm hoping to use this for some integration tests but JSON support is a blocker right now. Thanks!

giovtorres commented 1 year ago

Thank you!