Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make error ncclSharpIallgather #159

Open
liuxingbo12138 opened this issue May 22, 2024 · 0 comments
Open

make error ncclSharpIallgather #159

liuxingbo12138 opened this issue May 22, 2024 · 0 comments

Comments

@liuxingbo12138
Copy link

I encountered an error while running the make command, ./autogen.sh and ./configure --with-cuda=/usr/local/cuda successed

make  all-recursive
make[1]: Entering directory '/root/nccl-rdma-sharp-plugins'
Making all in src
make[2]: Entering directory '/root/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
  CC       libnccl_net_la-ucx_rma_plugin.lo
  CC       libnccl_net_la-ucx_uct_lib.lo
  CC       libnccl_net_la-ucx_uct_plugin.lo
  CC       libnccl_net_la-sharp_plugin.lo
sharp_plugin.c: In function ‘ncclSharpIallgather’:
sharp_plugin.c:533:33: error: storage size of ‘gather_spec’ isn’t known
  533 |   struct sharp_coll_gather_spec gather_spec;
      |                                 ^~~~~~~~~~~
sharp_plugin.c:550:29: error: implicit declaration of function ‘sharp_coll_do_allgather_nb’; did you mean ‘sharp_coll_do_allreduce_nb’? [-Werror=implicit-function-declaration]
  550 |   if (SHARP_COLL_SUCCESS != sharp_coll_do_allgather_nb(cComm->sharpCollComm, &gather_spec, &req->sharpRequest)) {
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~~~
      |                             sharp_coll_do_allreduce_nb
sharp_plugin.c:533:33: error: unused variable ‘gather_spec’ [-Werror=unused-variable]
  533 |   struct sharp_coll_gather_spec gather_spec;
      |                                 ^~~~~~~~~~~
sharp_plugin.c: In function ‘ncclSharpIreducescatter’:
sharp_plugin.c:609:14: error: ‘struct sharp_coll_reduce_spec’ has no member named ‘offset’
  609 |   reduce_spec.offset = windowOffset;
      |              ^
sharp_plugin.c:615:29: error: implicit declaration of function ‘sharp_coll_do_reduce_scatter_nb’; did you mean ‘sharp_coll_do_reduce_nb’? [-Werror=implicit-function-declaration]
  615 |   if (SHARP_COLL_SUCCESS != sharp_coll_do_reduce_scatter_nb(cComm->sharpCollComm, &reduce_spec, &req->sharpRequest)) {
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                             sharp_coll_do_reduce_nb
cc1: all warnings being treated as errors
make[2]: *** [Makefile:589: libnccl_net_la-sharp_plugin.lo] Error 1
make[2]: Leaving directory '/root/nccl-rdma-sharp-plugins/src'
make[1]: *** [Makefile:447: all-recursive] Error 1
make[1]: Leaving directory '/root/nccl-rdma-sharp-plugins'
make: *** [Makefile:365: all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant