in the test env, the LD_LIBRARY_PATH env variable is missing. It seems to be a standard env variable for CUDA based libs.
simply open a g4 and start a cupy python import and you'll get the folowing error:
import cupy
================================================================
Failed to import CuPy.
If you installed CuPy via wheels (cupy-cudaXXX or cupy-rocm-X-X), make sure that the package matches with the version of CUDA or ROCm installed.
On Linux, you may need to set LD_LIBRARY_PATH environment variable depending on how you installed CUDA/ROCm.
On Windows, try setting CUDA_PATH environment variable.
Check the Installation Guide for details:
https://docs.cupy.dev/en/latest/install.html
Original error:
ImportError: /home/prambaud/.local/lib/python3.8/site-packages/cupy_backends/cuda/api/runtime.cpython-38-x86_64-linux-gnu.so: undefined symbol: cudaDeviceSetMemPool, version libcudart.so.11.0
================================================================
description
in the test env, the
LD_LIBRARY_PATH
env variable is missing. It seems to be a standard env variable for CUDA based libs.simply open a g4 and start a cupy python import and you'll get the folowing error: