So, some context, I work a lot with scheduling of computational jobs.
That means that we have a lot of jobs/programs that need to be scheduled on different resources. We do this with the scheduler moab. In order to visualize how resources are utilized we plot this into graphs.
I got this idea a few weeks ago, wouldn't it be quite fun to draw pictures in these graphs by creating reservations?
Said and done, I sat down and wrote a small python-script that takes an ascii-art image and creates reservations that you can then put into your system. :)
A text image example can be found here: image.txt
And the python script is here: generate_allocation_image.py
The result after running it a few times with different offsets;
Well, you got to do something with your spare time ;)
1 comment:
I bet you did that hack during office hours!
Post a Comment