From 131ca542e4c1bcc271b5a10bb0349a71c6f5800d Mon Sep 17 00:00:00 2001 From: Morris Jette <jette@schedmd.com> Date: Wed, 10 Apr 2013 12:14:03 -0700 Subject: [PATCH] Add some srun logging --- src/api/step_launch.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/api/step_launch.c b/src/api/step_launch.c index 8d49b60d66b..1fd33576614 100644 --- a/src/api/step_launch.c +++ b/src/api/step_launch.c @@ -519,7 +519,10 @@ int slurm_step_launch_wait_start(slurm_step_ctx_t *ctx) } if (pthread_cond_timedwait(&sls->cond, &sls->lock, &ts) == ETIMEDOUT) { - error("timeout waiting for task launch"); + error("timeout waiting for task launch, " + "started %d of %d tasks", + bit_set_count(sls->tasks_started), + sls->tasks_requested); sls->abort = true; _step_abort(ctx); pthread_cond_broadcast(&sls->cond); -- GitLab