From ffdf24f14ced2b58dd06a3cb30752bbe930de393 Mon Sep 17 00:00:00 2001 From: changzherui Date: Fri, 9 Jul 2021 11:44:49 +0800 Subject: [PATCH] modify hccl dlopen for ma --- mindspore/ccsrc/runtime/hccl_adapter/hccl_adapter.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); }