diff --git a/mindspore/ccsrc/runtime/hccl_adapter/hccl_adapter.cc b/mindspore/ccsrc/runtime/hccl_adapter/hccl_adapter.cc index 31d3605a80..cbb5dd43fc 100644 --- a/mindspore/ccsrc/runtime/hccl_adapter/hccl_adapter.cc +++ b/mindspore/ccsrc/runtime/hccl_adapter/hccl_adapter.cc @@ -87,7 +87,7 @@ void HcclAdapter::InitPlugin() { return; } - plugin_handle_ = dlopen(kHcclPluginFileName, RTLD_NOW | RTLD_GLOBAL); + plugin_handle_ = dlopen(kHcclPluginFileName, RTLD_NOW | RTLD_LOCAL); if (plugin_handle_ == nullptr) { MS_LOG(EXCEPTION) << "Dlopen " << kHcclPluginFileName << " failed, result = " << GetDlErrorMsg(); }