Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using nvidia/cuda:12.0.0-runtime-ubuntu22.04 in docker to enable cuda, but no terrain was generated image #53

Open
maskjp opened this issue Jun 22, 2023 · 2 comments
Assignees

Comments

@maskjp
Copy link

maskjp commented Jun 22, 2023

I change the Dockerfile first line to use nvidia/cuda:12.0.0-devel-ubuntu22.04 in docker to enable CUDA. There's no error reported in the installation process. But the generated image has no terrain like the following one.
Image_0048_00_00

@cswiger
Copy link

cswiger commented Jun 24, 2023

Good suggestion to use nvidia/cuda:12.0.0-devel-ubuntu22.04 for docker container -
that gives us /usr/local/cuda/bin/nvcc that install.sh and worldgen/terrain/install_terrain.sh are looking for, and is currently building both terrain/lib/cpu and cuda/

My bare metal Ubuntu 22.04 LTS Driver Version: 530.41.03 CUDA Version: 12.1 uses the nvidia-cuda-toolkit package which puts nvcc in /usr/bin/nvcc so those miss it.

@thekingofblackvirus
Copy link

NVIDIA GeForce RTX 3060, 12288 MiB
E: Conflicting values set for option Signed-By regarding source https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/ /: /etc/apt/keyrings/nvidia-keyring.gpg !=
E: Conflicting values set for option Signed-By regarding source https://nvidia.github.io/libnvidia-container/stable/ubuntu18.04/amd64/ /: /etc/apt/keyrings/nvidia-keyring.gpg !=
E: The list of sources could not be read.
NVIDIA Container Toolkit installed successfully.
NVIDIA driver installation is not supported on macOS or Windows Subsystem for Linux (WSL).
CUDA is not installed or not found in the expected locations.
Updating CUDA to the latest version: 12.0
Error: CUDA installation is not supported on WSL. Please install CUDA manually.
Error: Failed to run Fizz: exit status 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants