OS platform and distribution (e.g., Linux Ubuntu 16.04): Ubuntu 20.04
GCC/Compiler version (if compiled from source): gcc 7.5.0
Special notes for this issue
For most of linux x64 users, the cuda path is /usr/lib/x86_64-linux-gnu/libcudart.so, and conda package manager install cuda on ${conda}/envs/${env}/lib/libcudart.so. This is your mindspore/ccsrc/CMakeLists.txt#L306 script:
Temporary solution: use ln -s command to create a softlink, this could cheat cmake and build mindspore successful without changing original CMakeList.txt
I guess your CI system runs on a Linux x86 system, and cross compile for x64
Environment
Hardware Environment: GPU
Software Environment:
Special notes for this issue
/usr/lib/x86_64-linux-gnu/libcudart.so
, and conda package manager install cuda on${conda}/envs/${env}/lib/libcudart.so
. This is your mindspore/ccsrc/CMakeLists.txt#L306 script:ln -s
command to create a softlink, this could cheat cmake and build mindspore successful without changing originalCMakeList.txt
Related Issues