File tree 4 files changed +23
-12
lines changed
4 files changed +23
-12
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ FROM ubuntu:22.04
2
+
3
+ WORKDIR /data
4
+ RUN apt-get update
5
+ RUN apt-get install -y libopenmpi-dev openmpi-bin libhdf5-openmpi-dev git pkg-config gcc libaio-dev libpnetcdf-dev
6
+ RUN apt-get install -y sudo make
7
+ RUN git clone https://github.com/hpc/ior.git
8
+ RUN cd ior ; ./bootstrap
9
+ RUN cd ior ; ./configure --with-aio --with-hdf5 --with-ncmpi LDFLAGS=-L/usr/lib/x86_64-linux-gnu/hdf5/openmpi CFLAGS=-I/usr/include/hdf5/openmpi && make -j
10
+
11
+ # librados-dev
Original file line number Diff line number Diff line change
1
+ FROM ubuntu:22.04
2
+
3
+ WORKDIR /data
4
+ RUN apt-get update
5
+ RUN apt-get install -y libopenmpi-dev openmpi-bin libhdf5-openmpi-dev git pkg-config gcc libaio-dev libpnetcdf-dev
6
+ RUN apt-get install -y sudo
Original file line number Diff line number Diff line change 3
3
BUILD=" $1 "
4
4
groupadd -g $3 testuser
5
5
useradd -r -u $2 -g testuser testuser
6
-
7
6
ERROR=0
8
7
9
8
function runTest(){
10
9
FLAVOR=" $1 "
11
10
MPI_DIR=" $2 "
11
+ export IOR_MPIRUN=" $3 "
12
12
echo $FLAVOR in $BUILD /$FLAVOR
13
13
update-alternatives --set mpi $MPI_DIR
14
14
sudo -u testuser mkdir -p $BUILD /$FLAVOR
15
15
16
16
pushd $BUILD /$FLAVOR > /dev/null
17
- sudo -u testuser /data/configure --with-hdf5 CFLAGS=-I/usr/lib/x86_64-linux-gnu/hdf5/openmpi/include LDFLAGS=-L/usr/lib/x86_64-linux-gnu/hdf5/openmpi/lib || exit 1
18
- sudo -u testuser make V=1 || exit 1
17
+ sudo -u testuser /data/configure || exit 1
18
+ sudo -u testuser make || exit 1
19
19
20
20
# define the alias
21
21
ln -sf $( which mpiexec.$FLAVOR ) /usr/bin/mpiexec
22
22
23
23
cd /data/
24
+
24
25
sudo -u testuser IOR_BIN_DIR=$BUILD /$FLAVOR /src IOR_OUT=$BUILD /$FLAVOR /test ./testing/basic-tests.sh
25
26
26
27
ERROR=$(( $ERROR + $? ))
27
28
popd > /dev/null
28
29
}
29
30
30
- runTest openmpi /usr/lib/openmpi/include
31
- runTest mpich /usr/include/mpich
31
+ export MPI_ARGS= " "
32
+ runTest openmpi /usr/lib/openmpi/include " mpiexec -n "
32
33
33
34
exit $ERROR
You can’t perform that action at this time.
0 commit comments