Add a callback parameter to the slurm_allocate_resources_blocking function.
The "pending_callback" is called when the allocation cannot be granted immediately. This allows the "Pending job allocation" message to be printed in salloc.c rather than being burried in the API code.
Please register or sign in to comment