Skip to content

make error #119

Description

@li126com

I met this problem when I implemented make:

make  all-recursive
make[1]: Entering directory `/nccl-rdma-sharp-plugins'
Making all in src
make[2]: Entering directory `/nccl-rdma-sharp-plugins/src'
  CC       libnccl_net_la-ibvwrap.lo
  CC       libnccl_net_la-utils.lo
  CC       libnccl_net_la-param.lo
  CC       libnccl_net_la-socket.lo
  CC       libnccl_net_la-p2p_plugin.lo
  CC       libnccl_net_la-ib_plugin.lo
  CC       libnccl_net_la-ucx_plugin.lo
ucx_plugin.c: In function 'nccl_ucx_irecv':
ucx_plugin.c:714:48: error: 'size' undeclared (first use in this function); did you mean 'sizes'?
  714 |   req = ucp_tag_recv_nb(comm->worker, data[0], size, ucp_dt_make_contig(1),
      |                                                ^~~~
      |                                                sizes
ucx_plugin.c:714:48: note: each undeclared identifier is reported only once for each function it appears in
make[2]: *** [libnccl_net_la-ucx_plugin.lo] Error 1
make[2]: Leaving directory `/nccl-rdma-sharp-plugins/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/nccl-rdma-sharp-plugins'
make: *** [all] Error 2

I am wondering how to fix it. I have met all the requirements in the README.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions