Render a visual representation of the load on a supercomputer
You should be able to build and run the code with:
make
./switchboard.bin -n nodelist8192 -o image.png
Or assemble a large file with the squeue
output separated by lines with file newname.png
(maybe use the time and date for the filenames?) and then you can generate all of the images with consistent colors with:
./switchboard.bin -n manynodelists
Generate the nodelist file with a command like
squeue > nodelist
squeue -t running > nodelist
- generalize the box-sizing code to any number of levels in a hierarchy (not just 2)
- read the nodelist from stdin if "-" is given
- generalize the method by which machines are added - a user header file?
- look for one of a number of keywords: "frontier", "crusher", "file" (to start a new image), etc.
Lodepng, CLI11, Oak Ridge National Laboratory
I don't get paid for writing or maintaining this, so if you find this tool useful or mention it in your writing, please please cite it by using the following BibTeX entry.
@Misc{Switchboard2023,
author = {Mark J.~Stock},
title = {Switchboard: Render a visual representation of the load on a supercomputer},
howpublished = {\url{https://github.com/markstock/switchboard}},
year = {2023}
}