1
1
stderr -> fileno(stderr)

This commit was SVN r15207.
Этот коммит содержится в:
Josh Hursey 2007-06-26 19:28:40 +00:00
родитель 5199f4123d
Коммит acae12d0bb

Просмотреть файл

@ -143,7 +143,7 @@ ompi_mtl_portals_get_data(ompi_mtl_portals_event_t *recv_event,
ret = PtlMDBind(ompi_mtl_portals.ptl_ni_h, md,
PTL_UNLINK, &md_h);
if (PTL_OK != ret) {
opal_output(stderr," Error returned from PtlMDBind. Error code - %d \n",ret);
opal_output(fileno(stderr)," Error returned from PtlMDBind. Error code - %d \n",ret);
abort();
}
@ -160,7 +160,7 @@ ompi_mtl_portals_get_data(ompi_mtl_portals_event_t *recv_event,
0,
0);
if (PTL_OK != ret) {
opal_output(stderr," Error returned from PtlPut. Error code - %d \n",ret);
opal_output(fileno(stderr)," Error returned from PtlPut. Error code - %d \n",ret);
abort();
}
}
@ -190,7 +190,7 @@ ompi_mtl_portals_get_data(ompi_mtl_portals_event_t *recv_event,
ret = ompi_mtl_datatype_recv_buf(convertor, &md.start, &buflen,
&ptl_request->free_after);
if (OMPI_SUCCESS != ret) {
opal_output(stderr," Error returned from ompi_mtl_datatype_recv_buf. Error code - %d \n",ret);
opal_output(fileno(stderr)," Error returned from ompi_mtl_datatype_recv_buf. Error code - %d \n",ret);
abort();
}
md.length = (recv_event->ev.rlength > buflen) ? buflen : recv_event->ev.rlength;
@ -205,7 +205,7 @@ ompi_mtl_portals_get_data(ompi_mtl_portals_event_t *recv_event,
ret = PtlMDBind(ompi_mtl_portals.ptl_ni_h, md,
PTL_RETAIN, &md_h);
if (PTL_OK != ret) {
opal_output(stderr," Error returned from ompi_mtl_datatype_recv_buf. Error code - %d \n",ret);
opal_output(fileno(stderr)," Error returned from ompi_mtl_datatype_recv_buf. Error code - %d \n",ret);
abort();
}
@ -218,7 +218,7 @@ ompi_mtl_portals_get_data(ompi_mtl_portals_event_t *recv_event,
recv_event->ev.hdr_data,
0);
if (PTL_OK != ret) {
opal_output(stderr," Error returned from PtlGet. Error code - %d \n",ret);
opal_output(fileno(stderr)," Error returned from PtlGet. Error code - %d \n",ret);
abort();
}
@ -253,7 +253,7 @@ ompi_mtl_portals_match_up_put_end(ptl_seq_t link)
}
/* should never get here */
opal_output(stderr," ompi_mtl_portals_match_up_put_end failed \n");
opal_output(fileno(stderr)," ompi_mtl_portals_match_up_put_end failed \n");
abort();
}
@ -293,11 +293,11 @@ ompi_mtl_portals_wait_for_put_end(ptl_seq_t link)
/* otherwise match it up */
ompi_mtl_portals_match_up_put_end(ev.link);
} else {
opal_output(stderr," Unrecognised event type - %d - ompi_mtl_portals_wait_for_put_end : %d \n",ev.type,ret);
opal_output(fileno(stderr)," Unrecognised event type - %d - ompi_mtl_portals_wait_for_put_end : %d \n",ev.type,ret);
abort();
}
} else {
opal_output(stderr," Error returned in ompi_mtl_portals_wait_for_put_end from PtlEQWait : %d \n",ret);
opal_output(fileno(stderr)," Error returned in ompi_mtl_portals_wait_for_put_end from PtlEQWait : %d \n",ret);
abort();
}
}
@ -342,13 +342,13 @@ ompi_mtl_portals_search_unex_events(ptl_match_bits_t match_bits,
/* can't be the one we want */
ompi_mtl_portals_match_up_put_end(ev.link);
} else {
opal_output(stderr," Unrecognised event type - %d - ompi_mtl_portals_search_unex_events : %d \n",ev.type,ret);
opal_output(fileno(stderr)," Unrecognised event type - %d - ompi_mtl_portals_search_unex_events : %d \n",ev.type,ret);
abort();
}
} else if (PTL_EQ_EMPTY == ret) {
break;
} else {
opal_output(stderr," Error returned in ompi_mtl_portals_search_unex_events from PtlEQWait : %d \n",ret);
opal_output(fileno(stderr)," Error returned in ompi_mtl_portals_search_unex_events from PtlEQWait : %d \n",ret);
abort();
}
}