Skip to content

UCT BTL fails to compile using UCX 1.7.0 #7128

@hppritcha

Description

@hppritcha

The UCT BTL in both master and v4.0.x fail to compile against UCX 1.7.0 rc1.

  CC       btl_uct_tl.lo
In file included from btl_uct_device_context.h:16:0,
                 from btl_uct_endpoint.c:17:
btl_uct_rdma.h: In function 'mca_btl_uct_get_rkey':
btl_uct_rdma.h:61:5: error: too few arguments to function 'uct_rkey_unpack'
     ucs_status = uct_rkey_unpack ((void *) remote_handle, rkey);
     ^
In file included from btl_uct_device_context.h:16:0,
                 from btl_uct_rdma.c:12:
btl_uct_rdma.h: In function 'mca_btl_uct_get_rkey':
In file included from btl_uct_device_context.h:16:0,
                 from btl_uct_amo.c:12:
btl_uct_rdma.h: In function 'mca_btl_uct_get_rkey':
In file included from btl_uct_device_context.h:16:0,
                 from btl_uct_component.c:43:
btl_uct_rdma.h: In function 'mca_btl_uct_get_rkey':
btl_uct_rdma.h:61:5: error: too few arguments to function 'uct_rkey_unpack'
     ucs_status = uct_rkey_unpack ((void *) remote_handle, rkey);
     ^
btl_uct_rdma.h:61:5: error: too few arguments to function 'uct_rkey_unpack'
     ucs_status = uct_rkey_unpack ((void *) remote_handle, rkey);
     ^
btl_uct_rdma.h:61:5: error: too few arguments to function 'uct_rkey_unpack'
     ucs_status = uct_rkey_unpack ((void *) remote_handle, rkey);
     ^
In file included from btl_uct.h:41:0,
                 from btl_uct_endpoint.c:15:
/users/hpritchard/ucx_testing//ucx-1.7.0//test_install/include/uct/api/uct.h:2142:14: note: declared here
 ucs_status_t uct_rkey_unpack(uct_component_h component, const void *rkey_buffer,
              ^
In file included from btl_uct_device_context.h:16:0,
                 from btl_uct_endpoint.c:17:
btl_uct_rdma.h: In function 'mca_btl_uct_rkey_release':
btl_uct_rdma.h:72:5: warning: passing argument 1 of 'uct_rkey_release' from incompatible pointer type [enabled by default]
     uct_rkey_release (rkey);
     ^

This is master including the commits from #7016.

Here's the current UCT BTL build situation:

OMPI Version UCX 1.6 UCX 1.7 UCX master
MASTER
4.0.x

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions