Skip to content
Snippets Groups Projects
Commit 588abd3b authored by tewk's avatar tewk
Browse files

More debug

parent 65d62f01
No related branches found
No related tags found
No related merge requests found
...@@ -60,11 +60,23 @@ int interconnect_init ( launch_tasks_request_msg_t * launch_msg ) ...@@ -60,11 +60,23 @@ int interconnect_init ( launch_tasks_request_msg_t * launch_msg )
while(true) while(true)
{ {
if (qsw_prgdestroy( launch_msg -> qsw_job ) < 0) { if (qsw_prgdestroy( launch_msg -> qsw_job ) < 0) {
pid_t pids[256];
int npids;
int i;
slurm_perror("qsw_prgdestroy"); slurm_perror("qsw_prgdestroy");
debug ("qsw_prgdestroy iteration %i, %m errno: %i", i , errno); debug ("qsw_prgdestroy iteration %i, %m errno: %i", i , errno);
sleep (1); sleep (1);
i++ ; i++ ;
if (rms_prginfo( launch_msg -> qsw_job, sizeof(pids)/sizeof(pid_t), pids, &npids) < 0) {
perror("rms_prginfo");
exit(1);
}
printf("pids");
for (i = 0; i < npids; i++)
printf("%d\n", pids[i]);
printf("\n");
continue ; continue ;
return SLURM_ERROR ; return SLURM_ERROR ;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment