Documentation
¶
Overview ¶
Command noop is the task a load run's real workers execute. By default it ignores its arguments, prints one line and exits 0, so a real sqi-worker exercises the full task lifecycle at no cost of its own.
Given a --sqi-load-config=<noop.json> argument, a task of a class the config lists runs as that class's real_task: it records itself in the marker directory, prints for the class's duration and starts the children the class asks for, a chatty one printing to the task's stdout and a silent one with no stdio of the task's, which writes the task's output file. The children re-execute this command with a --sqi-load-role argument and stay in the task's process group. A class with scratch_bytes also has the main process write that many bytes to scratch.bin in its working directory, one chunk per print interval, and exit 1 when a write fails.