aiaccel.job.utils.get_task_stepsize#

aiaccel.job.utils.get_task_stepsize() → int[source]#

Return the task step size for the current array job.

Returns:

The integer value of the TASK_STEPSIZE environment variable.

Raises:
  • RuntimeError – If TASK_STEPSIZE is not set.

  • ValueError – If TASK_STEPSIZE cannot be converted to an integer.