JohnTheBlindMilkman / SlurmJobMonitor

MIT License
0 stars 0 forks source link

Standard job view doesn't show all the awaiting jobs #17

Closed JohnTheBlindMilkman closed 2 months ago

JohnTheBlindMilkman commented 3 months ago

For large batches the display is incorrect, it misses a lot of jobs which have not yet started

JohnTheBlindMilkman commented 3 months ago

I've figured this out. When a job is running, it has a ".out" file signature, which is assigned to the Job object. Once it finishes, it switches to ".log", but the Job object still has the old path. First of all, I need to rethink the design of the Job class; maybe it is time to turn it into a state machine pattern. Second of all, I need to somehow connect the ".out" file with ".log" files.