Skip to content

Commit 668787c

Browse files
authored
Merge pull request #8 from ORNL-MDF/fixup_openfoam_install
Update apt vs spack packages
2 parents d1de2e8 + 6bbc58e commit 668787c

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

docker/ubuntu

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff 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
77
RUN 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
4237
RUN mkdir -p /opt/spack-environment && \
4338
set -o noclobber \
4439
&& (echo spack: \
4540
&& echo ' specs:' \
41+
&& echo ' - [email protected]' \
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.
5652
RUN cd /opt/spack-environment \
5753
&& spack env activate . \
5854
&& spack external find \

0 commit comments

Comments
 (0)