Skip to content

Commit 859e80b

Browse files
committed
Config file is defined for sequential version, use args for mpi one.
1 parent 1392b79 commit 859e80b

3 files changed

Lines changed: 34 additions & 34 deletions

File tree

Dockerfile.mpi.default

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ RUN mkdir /data && \
1212
apt-get update && \
1313
apt-get upgrade -y --with-new-pkgs -o Dpkg::Options::="--force-confold" && \
1414
apt-get install -y \
15-
# base system \
15+
# base system \
1616
cmake \
1717
g++ \
1818
gcc \
@@ -21,33 +21,33 @@ RUN mkdir /data && \
2121
make \
2222
mercurial \
2323
wget \
24-
# added for... \
25-
# hdf5 \
24+
# added for... \
25+
# hdf5 \
2626
zlib1g-dev \
27-
# med \
28-
python3-dev \
29-
# parmetis \
27+
# med \
28+
python3-dev \
29+
# parmetis \
3030
libopenmpi-dev \
31-
# scotch \
32-
bison \
33-
flex \
31+
# scotch \
32+
bison \
33+
flex \
3434
zlib1g-dev \
35-
# mumps \
35+
# mumps \
3636
libopenmpi-dev \
3737
libblacs-mpi-dev \
3838
libscalapack-openmpi-dev \
3939
libopenblas-dev \
4040
python3-dev \
4141
python3-numpy \
42-
# tfel
43-
libboost-numpy-dev \
44-
libboost-python-dev \
45-
patch \
46-
# asrun
42+
# tfel
43+
libboost-numpy-dev \
44+
libboost-python-dev \
45+
patch \
46+
# asrun
4747
gdb \
4848
tk \
4949
xterm \
50-
&& \
50+
&& \
5151
locale-gen en_GB.UTF-8 en_US.UTF-8 fr_FR.UTF-8 && \
5252
update-locale LANG=en_US.UTF-8 LC_MESSAGES=POSIX
5353

@@ -212,7 +212,7 @@ RUN cd /data/codeaster/src && \
212212
export LD_LIBRARY_PATH=/scif/apps/tfel/lib && \
213213
export PYTHONPATH=/scif/apps/asrun/lib/python3.6/site-packages:/scif/apps/tfel/lib/python3.6/site-packages && \
214214
ln -s /usr/bin/python3 /usr/local/bin/python && \
215-
./waf configure --use-config=scif --enable-mpi --prefix=/scif/apps/aster --install-tests && \
215+
./waf configure --use-config=scif --enable-mpi --enable-petsc --prefix=/scif/apps/aster --install-tests && \
216216
./waf install
217217

218218
# clean source directory

Dockerfile.seq.default

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ RUN mkdir /data && \
1212
apt-get update && \
1313
apt-get upgrade -y --with-new-pkgs -o Dpkg::Options::="--force-confold" && \
1414
apt-get install -y \
15-
# base system \
15+
# base system \
1616
cmake \
1717
g++ \
1818
gcc \
@@ -21,28 +21,28 @@ RUN mkdir /data && \
2121
make \
2222
mercurial \
2323
wget \
24-
# added for... \
25-
# hdf5 \
24+
# added for... \
25+
# hdf5 \
2626
zlib1g-dev \
27-
# med \
28-
python3-dev \
29-
# scotch \
30-
bison \
31-
flex \
27+
# med \
28+
python3-dev \
29+
# scotch \
30+
bison \
31+
flex \
3232
zlib1g-dev \
33-
# mumps \
33+
# mumps \
3434
libopenblas-dev \
3535
python3-dev \
3636
python3-numpy \
37-
# tfel
38-
libboost-numpy-dev \
39-
libboost-python-dev \
40-
patch \
41-
# asrun
37+
# tfel
38+
libboost-numpy-dev \
39+
libboost-python-dev \
40+
patch \
41+
# asrun
4242
gdb \
4343
tk \
4444
xterm \
45-
&& \
45+
&& \
4646
locale-gen en_GB.UTF-8 en_US.UTF-8 fr_FR.UTF-8 && \
4747
update-locale LANG=en_US.UTF-8 LC_MESSAGES=POSIX
4848

@@ -172,7 +172,8 @@ RUN cd /data/codeaster/src && \
172172
export LD_LIBRARY_PATH=/scif/apps/tfel/lib && \
173173
export PYTHONPATH=/scif/apps/asrun/lib/python3.6/site-packages:/scif/apps/tfel/lib/python3.6/site-packages && \
174174
ln -s /usr/bin/python3 /usr/local/bin/python && \
175-
./waf configure --use-config=scif --prefix=/scif/apps/aster --install-tests && \
175+
INCLUDES="/scif/apps/mumps/include_seq" \
176+
./waf configure --use-config=scif --prefix=/scif/apps/aster --install-tests && \
176177
./waf install
177178

178179
# clean source directory

aster.wafcfg_scif.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,3 @@ def configure(self):
3737
opts.enable_mumps = True
3838
opts.enable_scotch = True
3939
opts.enable_mfront = True
40-
opts.enable_petsc = True

0 commit comments

Comments
 (0)