diff --git a/ompi/mca/btl/gm/btl_gm_component.c b/ompi/mca/btl/gm/btl_gm_component.c index cd0ace0c81..4b344cfc03 100644 --- a/ompi/mca/btl/gm/btl_gm_component.c +++ b/ompi/mca/btl/gm/btl_gm_component.c @@ -430,8 +430,8 @@ static int mca_btl_gm_discover( void ) #endif /* GM_API_VERSION > 0x200 */ if(mca_btl_gm_component.gm_debug > 0) { - opal_output(0, "[%d,%d,%d] gm_port %08X, board %lu, global %lu node %lu port %lu\n", - ORTE_NAME_ARGS(orte_process_info.my_name), port, board_no, global_id, node_id, port_no); + opal_output(0, "[%ld,%ld,%ld] gm_port %08X, board %lu, global %lu node %lu port %lu\n", + ORTE_NAME_ARGS(orte_process_info.my_name), port, board_no, global_id, node_id, port_no); } if((rc = mca_btl_gm_module_init(btl)) != OMPI_SUCCESS) { diff --git a/ompi/mca/btl/gm/btl_gm_proc.c b/ompi/mca/btl/gm/btl_gm_proc.c index 5473059b7c..6b6561dfcc 100644 --- a/ompi/mca/btl/gm/btl_gm_proc.c +++ b/ompi/mca/btl/gm/btl_gm_proc.c @@ -124,14 +124,14 @@ mca_btl_gm_proc_t* mca_btl_gm_proc_create(ompi_proc_t* ompi_proc) (void*)&gm_proc->proc_addrs, &size); if(OMPI_SUCCESS != rc) { - opal_output(0, "[%s:%d] mca_pml_base_modex_recv failed for peer [%d,%d,%d]", + opal_output(0, "[%s:%d] mca_pml_base_modex_recv failed for peer [%ld,%ld,%ld]", __FILE__,__LINE__,ORTE_NAME_ARGS(&ompi_proc->proc_name)); OBJ_RELEASE(gm_proc); return NULL; } if((size % sizeof(mca_btl_gm_addr_t)) != 0) { - opal_output(0, "[%s:%d] invalid gm address for peer [%d,%d,%d]", + opal_output(0, "[%s:%d] invalid gm address for peer [%ld,%ld,%ld]", __FILE__,__LINE__,ORTE_NAME_ARGS(&ompi_proc->proc_name)); OBJ_RELEASE(gm_proc); return NULL; @@ -185,7 +185,7 @@ int mca_btl_gm_proc_insert( return OMPI_ERROR; } if(mca_btl_gm_component.gm_debug > 0) { - opal_output(0, "[%d,%d,%d] mapped global id %lu to node id %lu\n", + opal_output(0, "[%ld,%ld,%ld] mapped global id %lu to node id %lu\n", ORTE_NAME_ARGS(orte_process_info.my_name), gm_endpoint->endpoint_addr.global_id, gm_endpoint->endpoint_addr.node_id);