Skip to content

Commit

Permalink
Change network plugin name to librccl-net.so (#266)
Browse files Browse the repository at this point in the history
  • Loading branch information
wenkaidu committed Sep 18, 2020
1 parent 45a8f09 commit d871fce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/init.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}
Expand Down

0 comments on commit d871fce

Please sign in to comment.