Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 3 additions & 7 deletions docker/ubuntu
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ FROM spack/ubuntu-jammy:develop
# 1. apt-get install necessary build tools
# 2. apt-get install dependencies for spack to build correctly
RUN apt-get update \
&& apt-get upgrade -y \
&& apt-get install -y \
python3-dev \
python-is-python3 \
Expand All @@ -14,12 +13,7 @@ RUN apt-get update \
vim \
emacs \
wget \
libgl1 \
&& apt-get install -y \
libssl-dev \
libopenmpi-dev \
libscotch-dev \
flex \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

Expand All @@ -39,10 +33,12 @@ ENV PYTHONPATH=${PYTHONPATH}:${MYNA_DIR}

# What we want to install and how we want to install it
# is specified in a manifest file (spack.yaml)
# mpich added because of issues with openmpi
RUN mkdir -p /opt/spack-environment && \
set -o noclobber \
&& (echo spack: \
&& echo ' specs:' \
&& echo ' - [email protected]' \
&& echo ' - exaca@master' \
&& echo ' - additivefoam@main' \
&& echo ' concretizer:' \
Expand All @@ -52,7 +48,7 @@ set -o noclobber \
&& echo ' view: /opt/views/view') > /opt/spack-environment/spack.yaml

# Find apt-get packages, then build the spack environment
# NOTE: doesn't look like it is finding the system openmpi
# NOTE: could use "spack --backtrace external find openmpi" etc.
RUN cd /opt/spack-environment \
&& spack env activate . \
&& spack external find \
Expand Down