Skip to content

Commit

Permalink
Remove metis from docker and update cuda
Browse files Browse the repository at this point in the history
  • Loading branch information
bakpaul committed Feb 12, 2024
1 parent c52f675 commit 59c8ce0
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
12 changes: 6 additions & 6 deletions docker/sofabuilder_fedora/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
14 changes: 7 additions & 7 deletions docker/sofabuilder_ubuntu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 59c8ce0

Please sign in to comment.