-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Labels
bugSomething isn't workingSomething isn't working
Description
When I was running
docker build -t voxcraft-sim .
I had this error message:
-- Autodetected CUDA architecture(s): 3.5;5.0;3.0;5.2;6.0;6.1;7.0;7.5;7.5+PTX
CUDA_SELECT_NVCC_ARCH_FLAGS returns: -gencodearch=compute_35,code=sm_35-gencodearch=compute_50,code=sm_50-gencodearch=compute_30,code=sm_30-gencodearch=compute_52,code=sm_52-gencodearch=compute_60,code=sm_60-gencodearch=compute_61,code=sm_61-gencodearch=compute_70,code=sm_70-gencodearch=compute_75,code=sm_75-gencodearch=compute_75,code=compute_75
Flag length: 18
CMake Error at CMakeLists.txt:54 (message):
Nvidia GPU not found. Abort.
Seems one can't access GPUs during docker build. According to answers here:
https://stackoverflow.com/questions/59691207/docker-build-with-nvidia-runtime
My work around is to comment out the final line in Dockerfile:
# RUN git clone https://github.com/voxcraft/voxcraft-sim.git \
# && cd voxcraft-sim && mkdir build && cd build && cmake .. && make -j 10
and after voxcraft-sim was built, I got in by
$ docker run -it --rm --gpus all voxcraft-sim
and pull github and compile manually.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working