markstock / switchboard

Render a visual representation of the load on a supercomputer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

switchboard

Render a visual representation of the load on a supercomputer

sample

Build and run

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

To do

  • 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.

Thanks

Lodepng, CLI11, Oak Ridge National Laboratory

Citing switchboard

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}
}

About

Render a visual representation of the load on a supercomputer

License:GNU General Public License v3.0


Languages

Language:C++ 100.0%Language:Makefile 0.0%