Fix gpu_collective.so load issue

This commit is contained in:
ZPaC 2022-03-11 14:21:55 +08:00
parent c2a5cc1486
commit 8c1e6358c7
1 changed files with 1 additions and 0 deletions

View File

@ -473,6 +473,7 @@ if(ENABLE_GPU)
if(ENABLE_MPI)
set_target_properties(_ms_mpi PROPERTIES INSTALL_RPATH ${MINDSPORE_RPATH})
set_target_properties(nvidia_collective PROPERTIES INSTALL_RPATH ${ORIGIN_PATH})
set_target_properties(gpu_collective PROPERTIES INSTALL_RPATH ${ORIGIN_PATH})
endif()
endif()