From 37f7eec6b7e63ea6629cf8effd235be223797e16 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) [ROCm/rccl commit: d871fceb54b6f03052e7169e19de372a13758b4d] --- projects/rccl/src/init.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/rccl/src/init.cc b/projects/rccl/src/init.cc index 939dda414d..9da0098be2 100644 --- a/projects/rccl/src/init.cc +++ b/projects/rccl/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()); }