File tree Expand file tree Collapse file tree
docker/ubuntu18.04/openmpi4.0.4 Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ FROM ubuntu:18.04
2+
3+ RUN mkdir -p /Downloads
4+
5+ #Setup a basic set of tools
6+ ENV DEBIAN_FRONTEND=noninteractive
7+ RUN apt-get update && \
8+ apt-get install -y tzdata && \
9+ ln -fs /usr/share/zoneinfo/America/New_York /etc/localtime && \
10+ dpkg-reconfigure --frontend noninteractive tzdata && \
11+ apt-get install -y build-essential wget git-core libtool libtool-bin \
12+ autoconf gfortran pkg-config \
13+ python3 python3-dev python3-pip python3-tk \
14+ psmisc iproute2 unzip vim gdb emacs-nox && \
15+ apt autoremove -y && \
16+ rm -rf /var/lib/apt/lists/*
17+
18+ #Install spack
19+ WORKDIR /spack
20+ RUN git clone https://github.com/spack/spack.git
21+
22+ SHELL ["/bin/bash", "-c"]
23+
24+ #Download Chimbuko source and Mochi source to get the repos
25+ RUN git clone https://github.com/mochi-hpc/mochi-spack-packages.git && \
26+ git clone https://github.com/CODARcode/PerformanceAnalysis.git -b ckelly_develop
27+
28+ RUN source /spack/spack/share/spack/setup-env.sh && \
29+ spack repo add PerformanceAnalysis/spack/repo/chimbuko && \
30+ spack repo add mochi-spack-packages
31+
32+ RUN source /spack/spack/share/spack/setup-env.sh && spack install chimbuko^py-setuptools-scm+toml
You can’t perform that action at this time.
0 commit comments