Submitty grades in parallel, under a scheduler daemon running
which checks for jobs in the
In the default system configuration, this script uses 5 parallel worker processes. To adjust this number:
As root, edit the
/usr/local/submitty/.set/INSTALL_SUBMITTY.shsettings and change this line:
Then re-install Submitty:
Note: If you re-run
CONFIGURE_SUBMITTY.sh it will undo these changes.
To debug new features for autograding, it can be helpful to run
submitty_grading_scheduler.py interactively and inspect the output.
To do this:
Stop the daemon
sudo systemctl stop submitty_grading_scheduler
Now, as the
hwcronuser, run the scheduler and watch the output.
sudo su -c '/usr/local/submitty/bin/submitty_grading_scheduler.py' hwcron
Use control-C to stop when you’ve finished your debugging.
Re-Start the daemon
sudo systemctl start submitty_grading_scheduler
sudo systemctl restart submitty_grading_scheduler
You can check the status of the daemon:
systemctl status submitty_grading_scheduler
Note: When you re-run
it will stop and restart the autograding scheduler if it is running. (But it will not
start the scheduler, if it is not currently running.)