File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed
Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ FROM spack/ubuntu-jammy:develop
55# 1. apt-get install necessary build tools
66# 2. apt-get install dependencies for spack to build correctly
77RUN apt-get update \
8- && apt-get upgrade -y \
98&& apt-get install -y \
109 python3-dev \
1110 python-is-python3 \
@@ -14,12 +13,7 @@ RUN apt-get update \
1413 vim \
1514 emacs \
1615 wget \
17- libgl1 \
18- && apt-get install -y \
1916 libssl-dev \
20- libopenmpi-dev \
21- libscotch-dev \
22- flex \
2317&& apt-get clean \
2418&& rm -rf /var/lib/apt/lists/*
2519
@@ -39,10 +33,12 @@ ENV PYTHONPATH=${PYTHONPATH}:${MYNA_DIR}
3933
4034# What we want to install and how we want to install it
4135# is specified in a manifest file (spack.yaml)
36+ # mpich added because of issues with openmpi
4237RUN mkdir -p /opt/spack-environment && \
4338set -o noclobber \
4439&& (echo spack: \
4540&& echo ' specs:' \
41+ 4642&& echo ' - exaca@master' \
4743&& echo ' - additivefoam@main' \
4844&& echo ' concretizer:' \
@@ -52,7 +48,7 @@ set -o noclobber \
5248&& echo ' view: /opt/views/view') > /opt/spack-environment/spack.yaml
5349
5450# Find apt-get packages, then build the spack environment
55- # NOTE: doesn't look like it is finding the system openmpi
51+ # NOTE: could use "spack --backtrace external find openmpi" etc.
5652RUN cd /opt/spack-environment \
5753&& spack env activate . \
5854&& spack external find \
You can’t perform that action at this time.
0 commit comments