Cupy failed to load libnvrtc.so.12

Hi, I am a new user to carc, I am trying to import cupy in one of my python files but it seems to giving me

RuntimeError: CuPy failed to load libnvrtc.so.12: OSError: libnvrtc.so.12: cannot open shared object file: No such file or directory

I have loaded python and have cupy-cuda installed how should I proceed on this? Thanks in advance

@sidqian That library is provided by CUDA. Do you have CUDA available in your software environment? For example:

module purge
module load gcc/12.3.0
module load python/3.12.2
module load cuda/12.2.1

Thank you!