Skip to content
Snippets Groups Projects
Commit 04092a5a authored by tewk's avatar tewk
Browse files

Added debug code

parent 9f747b6c
No related branches found
No related tags found
No related merge requests found
......@@ -256,6 +256,7 @@ void slurm_rpc_launch_tasks ( slurm_msg_t * msg )
launch_tasks_msg_t * task_desc = ( launch_tasks_msg_t * ) msg->data ;
start_time = clock ();
info ("slurmd_req: launch tasks message received");
/* do RPC call */
error_code = launch_tasks ( task_desc );
......
......@@ -160,14 +160,14 @@ int forward_io ( task_start_t * task_arg )
{
local_errno = errno ;
info ( "error opening socket to srun to pipe stdout errno %i" , local_errno ) ;
pthread_exit ( 0 ) ;
// pthread_exit ( 0 ) ;
}
if ( ( task_arg->sockets[SIG_STDERR_SOCK] = slurm_open_stream ( &( task_arg -> err_dest ) ) ) == SLURM_PROTOCOL_ERROR )
{
local_errno = errno ;
info ( "error opening socket to srun to pipe stdout errno %i" , local_errno ) ;
pthread_exit ( 0 ) ;
// pthread_exit ( 0 ) ;
}
/* spawn io pipe threads */
......
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