From 59c8ce02ea4e75c041431ea49db22b27613eee82 Mon Sep 17 00:00:00 2001 From: bakpaul Date: Mon, 12 Feb 2024 09:41:37 +0100 Subject: [PATCH] Remove metis from docker and update cuda --- docker/sofabuilder_fedora/Dockerfile | 12 ++++++------ docker/sofabuilder_ubuntu/Dockerfile | 14 +++++++------- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/docker/sofabuilder_fedora/Dockerfile b/docker/sofabuilder_fedora/Dockerfile index 32e3234..522c267 100644 --- a/docker/sofabuilder_fedora/Dockerfile +++ b/docker/sofabuilder_fedora/Dockerfile @@ -120,12 +120,12 @@ ENV VM_CGAL_PATH="/usr/local/lib64/cmake/CGAL" # Install METIS -RUN git clone https://github.com/sofa-framework/METIS.git \ - && cd METIS \ - && git checkout v5.2.1-ModernInstall \ - && cd .. && mkdir build && cd build \ - && cmake ../METIS \ - && make --silent install -j 5 +#RUN git clone https://github.com/sofa-framework/METIS.git \ +# && cd METIS \ +# && git checkout v5.2.1-ModernInstall \ +# && cd .. && mkdir build && cd build \ +# && cmake ../METIS \ +# && make --silent install -j 5 ################################### # Disable core dumps diff --git a/docker/sofabuilder_ubuntu/Dockerfile b/docker/sofabuilder_ubuntu/Dockerfile index 66626f6..15b98ad 100644 --- a/docker/sofabuilder_ubuntu/Dockerfile +++ b/docker/sofabuilder_ubuntu/Dockerfile @@ -121,19 +121,19 @@ ENV VM_CGAL_PATH="/usr/local/lib/cmake/CGAL" # Install METIS -RUN git clone https://github.com/sofa-framework/METIS.git \ - && cd METIS \ - && git checkout v5.2.1-ModernInstall \ - && cd .. && mkdir build && cd build \ - && cmake ../METIS && cmake -LAH | grep GKRAND\ - && make --silent install -j 5 +#RUN git clone https://github.com/sofa-framework/METIS.git \ +# && cd METIS \ +# && git checkout v5.2.1-ModernInstall \ +# && cd .. && mkdir build && cd build \ +# && cmake ../METIS && cmake -LAH | grep GKRAND\ +# && make --silent install -j 5 # Install CUDA ENV DEBIAN_FRONTEND noninteractive RUN wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-keyring_1.0-1_all.deb RUN dpkg -i cuda-keyring_1.0-1_all.deb RUN apt-get update -RUN apt-get -y install cuda-toolkit-11-8 +RUN apt-get -y install cuda-toolkit-12-3 ENV VM_HAS_CUDA="true" ENV PATH=$PATH:/usr/local/cuda/bin