From d871fceb54b6f03052e7169e19de372a13758b4d Mon Sep 17 00:00:00 2001 From: Wenkai Du <43822138+wenkaidu@users.noreply.github.com> Date: Fri, 18 Sep 2020 13:23:30 -0700 Subject: [PATCH] Change network plugin name to librccl-net.so (#266) --- src/init.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/init.cc b/src/init.cc index 939dda414..9da0098be 100644 --- a/src/init.cc +++ b/src/init.cc @@ -70,13 +70,13 @@ ncclResult_t initCollNet(ncclCollNet_t* collnet) { } ncclResult_t initNetPlugin(ncclNet_t** net, ncclCollNet_t** collnet) { - void* netPluginLib = dlopen("libnccl-net.so", RTLD_NOW | RTLD_LOCAL); + void* netPluginLib = dlopen("librccl-net.so", RTLD_NOW | RTLD_LOCAL); if (netPluginLib == NULL) { // dlopen does not guarantee to set errno, but dlerror only gives us a // string, so checking errno doesn't hurt to try to provide a better // error message if (errno == ENOENT) { - INFO(NCCL_INIT|NCCL_NET, "NET/Plugin : No plugin found (libnccl-net.so), using internal implementation"); + INFO(NCCL_INIT|NCCL_NET, "NET/Plugin : No plugin found (librccl-net.so), using internal implementation"); } else { INFO(NCCL_INIT|NCCL_NET, "NET/Plugin : Plugin load returned %d : %s.", errno, dlerror()); }