Skip to content

[Bug]: Colab tutorial failing due to CUDA version conflict #1191

Closed
@complexitysoftware

Description

@complexitysoftware

Bug Description

Tutorial fails with
ImportError: libnvrtc.so.11.2: cannot open shared object file: No such file or directory

It seems the error is a conflict on the CUDA version installed on Colab which seems to be 12.2
Find on libnvrtc gives:
/usr/local/cuda-12.2/targets/x86_64-linux/lib/stubs/libnvrtc.so
/usr/local/cuda-12.2/targets/x86_64-linux/lib/libnvrtc.so
/usr/local/cuda-12.2/targets/x86_64-linux/lib/libnvrtc.so.12.2.140
/usr/local/cuda-12.2/targets/x86_64-linux/lib/libnvrtc.so.12

To Reproduce

  1. Clicking the 'Try on Colab' button on the Flame GPU home page opens the Colab tutorial for potential users (https://colab.research.google.com/github/FLAMEGPU/FLAMEGPU2-tutorial-python/blob/google-colab/FLAME_GPU_2_python_tutorial.ipynb).

  2. Running the tutorial fails with
    ImportError: libnvrtc.so.11.2: cannot open shared object file: No such file or directory
    on the import pyflamegpu line

Expected Behaviour

Tutorial should run

OS

Ubuntu 22.04.3 LTS

CUDA Versions

CUDA 12.2

GPUs

T4

GPU Driver

535.104.05

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions