Skip to content

Commit

Permalink
MORE DEBUG
Browse files Browse the repository at this point in the history
Signed-off-by: Joshua Hursey <jhursey@us.ibm.com>
  • Loading branch information
jjhursey committed Jan 30, 2020
1 parent 67a2e7f commit 3a91e04
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/mca/iof/hnp/iof_hnp.c
Original file line number Diff line number Diff line change
Expand Up @@ -268,11 +268,11 @@ static int push_stdin(const prrte_process_name_t* dst_name,
PRRTE_NAME_PRINT(PRRTE_PROC_MY_NAME),
PRRTE_NAME_PRINT(dst_name), sz,
(NULL == proct ? "null" : "valid"),
(NULL != proct && NULL != proct->stdinev ? "valid" : "null"));
(NULL == proct || NULL == proct->stdinev ? "null" : "valid"));

/* Sanity check */
if( NULL == proct->stdinev ) {
prrte_output(0, "%s iof:hnp pushing stdin for process %s failed stdinev is no longer valid",
prrte_output(0, "%s iof:hnp pushing stdin for process %s failed stdinev is no longer valid (JJH DEBUG)",
PRRTE_NAME_PRINT(PRRTE_PROC_MY_NAME),
PRRTE_NAME_PRINT(dst_name));
return PRRTE_SUCCESS;
Expand Down Expand Up @@ -395,6 +395,10 @@ static int hnp_close(const prrte_process_name_t* peer,
prrte_iof_proc_t* proct;
prrte_ns_cmp_bitmask_t mask = PRRTE_NS_CMP_ALL;

prrte_output(0,"%s iof:hnp closing connection to process %s",
PRRTE_NAME_PRINT(PRRTE_PROC_MY_NAME),
PRRTE_NAME_PRINT(peer));

PRRTE_LIST_FOREACH(proct, &prrte_iof_hnp_component.procs, prrte_iof_proc_t) {
if (PRRTE_EQUAL == prrte_util_compare_name_fields(mask, &proct->name, peer)) {
if (PRRTE_IOF_STDIN & source_tag) {
Expand Down

0 comments on commit 3a91e04

Please sign in to comment.