Silence a flood of warnings when compiling with gcc on Cray
Signed-off-by: Ralph Castain <rhc@open-mpi.org>
Этот коммит содержится в:
родитель
88a4a163ae
Коммит
ecc8000136
@ -3,6 +3,7 @@
|
||||
* Copyright (c) 2011-2017 Los Alamos National Security, LLC. All rights
|
||||
* reserved.
|
||||
* Copyright (c) 2011 UT-Battelle, LLC. All rights reserved.
|
||||
* Copyright (c) 2017 Intel, Inc. All rights reserved.
|
||||
* $COPYRIGHT$
|
||||
*
|
||||
* Additional copyrights may follow
|
||||
@ -511,7 +512,7 @@ int mca_btl_ugni_progress_datagram (mca_btl_ugni_device_t *device)
|
||||
return rc;
|
||||
}
|
||||
|
||||
BTL_VERBOSE(("remote datagram completion on handle %p", handle));
|
||||
BTL_VERBOSE(("remote datagram completion on handle %p", (void*)handle));
|
||||
|
||||
/* if this is a wildcard endpoint lookup the remote peer by the proc id we received */
|
||||
if (handle == ugni_module->wildcard_ep) {
|
||||
@ -630,7 +631,7 @@ static inline int mca_btl_ugni_progress_rdma (mca_btl_ugni_module_t *ugni_module
|
||||
BTL_VERBOSE(("got %d completed rdma descriptors", rc));
|
||||
|
||||
for (int i = 0 ; i < rc ; ++i) {
|
||||
BTL_VERBOSE(("post descriptor %p complete. GNI_CQ_STATUS_OK(): %d", post_desc[i],
|
||||
BTL_VERBOSE(("post descriptor %p complete. GNI_CQ_STATUS_OK(): %d", (void*)post_desc[i],
|
||||
GNI_CQ_STATUS_OK(event_data[i])));
|
||||
|
||||
if (OPAL_UNLIKELY(!GNI_CQ_STATUS_OK(event_data[i]))) {
|
||||
|
@ -5,6 +5,7 @@
|
||||
* Copyright (c) 2011 UT-Battelle, LLC. All rights reserved.
|
||||
* Copyright (c) 2014 Research Organization for Information Science
|
||||
* and Technology (RIST). All rights reserved.
|
||||
* Copyright (c) 2017 Intel, Inc. All rights reserved.
|
||||
* $COPYRIGHT$
|
||||
*
|
||||
* Additional copyrights may follow
|
||||
@ -121,7 +122,7 @@ static inline intptr_t mca_btl_ugni_post_fma_device (mca_btl_ugni_device_t *devi
|
||||
}
|
||||
|
||||
BTL_VERBOSE(("Posting FMA descriptor %p with op_type %d, amo %d, ep_handle %p, remote_addr 0x%lx, "
|
||||
"length %lu", desc, desc->desc.type, desc->desc.amo_cmd, desc->ep_handle,
|
||||
"length %lu", (void*)desc, desc->desc.type, desc->desc.amo_cmd, (void*)desc->ep_handle,
|
||||
desc->desc.remote_addr, desc->desc.length));
|
||||
|
||||
rc = GNI_PostFma (desc->ep_handle->gni_handle, &desc->desc);
|
||||
@ -160,7 +161,7 @@ static inline intptr_t mca_btl_ugni_post_rdma_device (mca_btl_ugni_device_t *dev
|
||||
desc->desc.src_cq_hndl = desc->cq->gni_handle;
|
||||
|
||||
BTL_VERBOSE(("Posting RDMA descriptor %p with op_type %d, ep_handle %p, remote_addr 0x%lx, "
|
||||
"length %lu", desc, desc->desc.type, desc->ep_handle, desc->desc.remote_addr,
|
||||
"length %lu", (void*)desc, desc->desc.type, (void*)desc->ep_handle, desc->desc.remote_addr,
|
||||
desc->desc.length));
|
||||
|
||||
rc = GNI_PostRdma (desc->ep_handle->gni_handle, &desc->desc);
|
||||
|
@ -3,6 +3,7 @@
|
||||
* Copyright (c) 2011-2017 Los Alamos National Security, LLC. All rights
|
||||
* reserved.
|
||||
* Copyright (c) 2011-2013 UT-Battelle, LLC. All rights reserved.
|
||||
* Copyright (c) 2017 Intel, Inc. All rights reserved.
|
||||
* $COPYRIGHT$
|
||||
*
|
||||
* Additional copyrights may follow
|
||||
@ -51,7 +52,7 @@ static int mca_btl_ugni_endpoint_get_modex (mca_btl_base_endpoint_t *ep)
|
||||
ep->ep_rem_id = modex->id;
|
||||
|
||||
|
||||
BTL_VERBOSE(("received modex for ep %p. addr: %d, id: %d", ep, ep->ep_rem_addr, ep->ep_rem_id));
|
||||
BTL_VERBOSE(("received modex for ep %p. addr: %d, id: %d", (void*)ep, ep->ep_rem_addr, ep->ep_rem_id));
|
||||
|
||||
free (modex);
|
||||
|
||||
@ -301,7 +302,6 @@ static inline int mca_btl_ugni_ep_connect_finish (mca_btl_base_endpoint_t *ep) {
|
||||
static int mca_btl_ugni_directed_ep_post (mca_btl_base_endpoint_t *ep)
|
||||
{
|
||||
mca_btl_ugni_module_t *ugni_module = mca_btl_ugni_ep_btl (ep);
|
||||
mca_btl_ugni_device_t *device = ep->smsg_ep_handle->device;
|
||||
gni_return_t rc;
|
||||
|
||||
BTL_VERBOSE(("posting directed datagram to remote id: %d for endpoint %p", ep->ep_rem_id, (void *)ep));
|
||||
@ -351,8 +351,8 @@ int mca_btl_ugni_ep_connect_progress (mca_btl_base_endpoint_t *ep)
|
||||
}
|
||||
}
|
||||
|
||||
BTL_VERBOSE(("ep->remote_attr->smsg_attr = {.msg_type = %d, .msg_buffer = 0x%lx}", ep->remote_attr->smsg_attr.msg_type,
|
||||
ep->remote_attr->smsg_attr.msg_buffer));
|
||||
BTL_VERBOSE(("ep->remote_attr->smsg_attr = {.msg_type = %d, .msg_buffer = %p}", ep->remote_attr->smsg_attr.msg_type,
|
||||
(void*)ep->remote_attr->smsg_attr.msg_buffer));
|
||||
|
||||
if (GNI_SMSG_TYPE_INVALID == ep->remote_attr->smsg_attr.msg_type) {
|
||||
/* use datagram to exchange connection information with the remote peer */
|
||||
|
@ -5,6 +5,7 @@
|
||||
* Copyright (c) 2011 UT-Battelle, LLC. All rights reserved.
|
||||
* Copyright (c) 2014-2016 Research Organization for Information Science
|
||||
* and Technology (RIST). All rights reserved.
|
||||
* Copyright (c) 2017 Intel, Inc. All rights reserved.
|
||||
* $COPYRIGHT$
|
||||
*
|
||||
* Additional copyrights may follow
|
||||
@ -61,7 +62,7 @@ mca_btl_ugni_module_t mca_btl_ugni_module = {
|
||||
}
|
||||
};
|
||||
|
||||
static void *mca_btl_ugni_datagram_event (int foo, short bar, void *arg)
|
||||
static void mca_btl_ugni_datagram_event (int foo, short bar, void *arg)
|
||||
{
|
||||
mca_btl_ugni_module_t *ugni_module = (mca_btl_ugni_module_t *) arg;
|
||||
mca_btl_ugni_device_t *device = ugni_module->devices;
|
||||
|
@ -1,10 +1,11 @@
|
||||
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
|
||||
/* -*- Mode: C; c-basic-offset:3 ; indent-tabs-mode:nil -*- */
|
||||
/*
|
||||
* Copyright (c) 2011-2017 Los Alamos National Security, LLC. All rights
|
||||
* reserved.
|
||||
* Copyright (c) 2011 UT-Battelle, LLC. All rights reserved.
|
||||
* Copyright (c) 2014 Research Organization for Information Science
|
||||
* and Technology (RIST). All rights reserved.
|
||||
* Copyright (c) 2017 Intel, Inc. All rights reserved.
|
||||
* $COPYRIGHT$
|
||||
*
|
||||
* Additional copyrights may follow
|
||||
@ -20,7 +21,7 @@
|
||||
void mca_btl_ugni_wait_list_append (mca_btl_ugni_module_t *ugni_module, mca_btl_base_endpoint_t *endpoint,
|
||||
mca_btl_ugni_base_frag_t *frag)
|
||||
{
|
||||
BTL_VERBOSE(("wait-listing fragment %p to %s. endpoint state %d\n", frag, OPAL_NAME_PRINT(endpoint->peer_proc->proc_name), endpoint->state));
|
||||
BTL_VERBOSE(("wait-listing fragment %p to %s. endpoint state %d\n", (void*)frag, OPAL_NAME_PRINT(endpoint->peer_proc->proc_name), endpoint->state));
|
||||
|
||||
frag->base.des_flags |= MCA_BTL_DES_SEND_ALWAYS_CALLBACK;
|
||||
|
||||
|
@ -13,7 +13,7 @@
|
||||
* Copyright (c) 2008 UT-Battelle, LLC. All rights reserved.
|
||||
* Copyright (c) 2011-2014 Los Alamos National Security, LLC. All rights
|
||||
* reserved.
|
||||
* Copyright (c) 2014 Intel, Inc. All rights reserved.
|
||||
* Copyright (c) 2014-2017 Intel, Inc. All rights reserved.
|
||||
* $COPYRIGHT$
|
||||
*
|
||||
* Additional copyrights may follow
|
||||
@ -585,7 +585,11 @@ orte_ras_alps_read_appinfo_file(opal_list_t *nodes, char *filename,
|
||||
orte_set_attribute(&node->attributes, ORTE_NODE_LAUNCH_ID, ORTE_ATTR_LOCAL, &apNodes[ix].nid, OPAL_INT32);
|
||||
node->slots_inuse = 0;
|
||||
node->slots_max = 0;
|
||||
node->slots = opal_hwloc_use_hwthreads_as_cpus ? apNodes[ix].cpuCnt : apNodes[ix].numPEs;
|
||||
if (opal_hwloc_use_hwthreads_as_cpus) {
|
||||
node->slots = apNodes[ix].cpuCnt;
|
||||
} else {
|
||||
node->slots = apNodes[ix].numPEs;
|
||||
}
|
||||
node->state = ORTE_NODE_STATE_UP;
|
||||
/* need to order these node ids so the regex generator
|
||||
* can properly function
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user