Unverified Commit e583d4b2 authored by Kai Szuttor's avatar Kai Szuttor Committed by GitHub
Browse files

Merge pull request #187 from jngrad/cuda11

Create CUDA 11 image
parents 8a7d2588 f4455b28
...@@ -9,7 +9,7 @@ jobs: ...@@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
image: ['centos', 'debian', 'fedora', 'opensuse', 'rocm', image: ['centos', 'debian', 'fedora', 'opensuse', 'rocm', 'cuda',
'ubuntu-18.04', 'ubuntu-20.04', 'ubuntu-wo-dependencies'] 'ubuntu-18.04', 'ubuntu-20.04', 'ubuntu-wo-dependencies']
steps: steps:
- uses: actions/checkout@master - uses: actions/checkout@master
......
FROM nvidia/cuda:11.0-devel-ubuntu20.04
ENV DEBIAN_FRONTEND noninteractive
COPY build-and-install-scafacos.sh /tmp
COPY ubuntu-packages.txt /tmp
RUN apt-get update && xargs -a /tmp/ubuntu-packages.txt apt-get install --no-install-recommends -y \
&& apt-get install --no-install-recommends -y \
libthrust-dev \
&& apt-get clean && rm -rf /var/lib/apt/lists/*
RUN bash /tmp/build-and-install-scafacos.sh
ENV NVIDIA_VISIBLE_DEVICES all
ENV NVIDIA_DRIVER_CAPABILITIES compute,utility
RUN useradd -m espresso
USER espresso
WORKDIR /home/espresso
...@@ -3,7 +3,7 @@ ENV DEBIAN_FRONTEND noninteractive ...@@ -3,7 +3,7 @@ ENV DEBIAN_FRONTEND noninteractive
COPY build-and-install-scafacos.sh /tmp COPY build-and-install-scafacos.sh /tmp
COPY ubuntu-packages.txt /tmp COPY ubuntu-packages.txt /tmp
RUN apt-get update && xargs -a /tmp/ubuntu-packages.txt apt-get install --no-install-recommends -y \ RUN apt-get update && xargs -a /tmp/ubuntu-packages.txt apt-get install --no-install-recommends -y \
&& apt-get install -y --no-install-recommends \ && apt-get install --no-install-recommends -y \
clang-9 clang-tidy-9 clang-format-9 llvm-9 \ clang-9 clang-tidy-9 clang-format-9 llvm-9 \
doxygen \ doxygen \
ffmpeg \ ffmpeg \
...@@ -13,7 +13,7 @@ RUN apt-get update && xargs -a /tmp/ubuntu-packages.txt apt-get install --no-ins ...@@ -13,7 +13,7 @@ RUN apt-get update && xargs -a /tmp/ubuntu-packages.txt apt-get install --no-ins
ipython3 jupyter-notebook jupyter-nbconvert \ ipython3 jupyter-notebook jupyter-nbconvert \
libthrust-dev \ libthrust-dev \
nvidia-cuda-toolkit \ nvidia-cuda-toolkit \
python3-lxml python3-matplotlib \ python3-matplotlib \
texlive-base \ texlive-base \
&& apt-get clean && rm -rf /var/lib/apt/lists/* && apt-get clean && rm -rf /var/lib/apt/lists/*
......
FROM ubuntu:focal FROM ubuntu:focal
ENV DEBIAN_FRONTEND noninteractive ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update && apt-get install -y \ RUN apt-get update && apt-get install --no-install-recommends -y \
apt-utils \ apt-utils \
build-essential \ build-essential \
curl \ curl \
...@@ -14,10 +14,12 @@ RUN apt-get update && apt-get install -y \ ...@@ -14,10 +14,12 @@ RUN apt-get update && apt-get install -y \
openssh-client \ openssh-client \
openmpi-bin \ openmpi-bin \
python3 \ python3 \
python3-numpy \ python3-dev \
python3-scipy \
python3-h5py \ python3-h5py \
python3-lxml \
python3-numpy \
python3-pip \ python3-pip \
python3-scipy \
python3-setuptools \ python3-setuptools \
python3-vtk7 \ python3-vtk7 \
vim \ vim \
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment