File tree Expand file tree Collapse file tree 3 files changed +35
-20
lines changed Expand file tree Collapse file tree 3 files changed +35
-20
lines changed Original file line number Diff line number Diff line change 22
22
uses : actions/checkout@v3
23
23
24
24
with :
25
- key : ${{ matrix.shmem }}-3 -{hash}
25
+ key : ${{ matrix.shmem }}-4 -{hash}
26
26
restore-keys : |
27
- ${{ matrix.shmem }}-3 -
27
+ ${{ matrix.shmem }}-4 -
28
28
- name : Build Docker container
29
29
run : docker build -t local docker/${{ matrix.shmem }}/
30
30
- name : run shmem4py test-1
Original file line number Diff line number Diff line change @@ -7,21 +7,29 @@ RUN mkdir /home/shmem
7
7
8
8
RUN dnf update -y && \
9
9
dnf install -y git vim wget pkg-config make automake gcc gcc-c++ kernel-devel libtool lbzip2 hwloc hwloc-devel \
10
- libevent libevent-devel libfabric libfabric-devel python3 python3-devel python3-pip mpich && \
10
+ libevent libevent-devel python3 python3-devel python3-pip mpich && \
11
11
dnf clean all
12
12
13
13
ENV CC=gcc
14
14
ENV CXX=g++
15
15
16
+ # Build Libfabric
17
+ RUN cd $INSTALL_DIR && \
18
+ git clone --depth 10 https://github.com/ofiwg/libfabric.git libfabric && \
19
+ cd libfabric && \
20
+ ./autogen.sh && \
21
+ ./configure --prefix=$INSTALL_DIR/libfabric/install && \
22
+ make -j && make install
23
+
16
24
# Build SOS
17
- RUN cd $INSTALL_DIR && \
18
- git clone https://github.com/Sandia-OpenSHMEM/SOS.git && \
19
- cd SOS && \
20
- ./autogen.sh && \
21
- # To build SOS w/ basic Libfabric \
22
- ./configure --prefix=$INSTALL_DIR/SOS/install --with-ofi \
23
- --without-ucx --without-portals4 --enable-pmi-simple --disable-fortran && \
24
- make -j && make install && \
25
+ RUN cd $INSTALL_DIR && \
26
+ git clone https://github.com/Sandia-OpenSHMEM/SOS.git && \
27
+ cd SOS && \
28
+ ./autogen.sh && \
29
+ # To build SOS w/ basic Libfabric \
30
+ ./configure --prefix=$INSTALL_DIR/SOS/install --with-ofi=$INSTALL_DIR/libfabric/install \
31
+ --without-ucx --without-portals4 --enable-pmi-simple --disable-fortran && \
32
+ make -j && make install && \
25
33
make check TESTS= -j
26
34
27
35
ENV PATH="/home/shmem/SOS/install/bin:/usr/lib64/mpich/bin:${PATH}"
Original file line number Diff line number Diff line change @@ -18,19 +18,26 @@ RUN apt-get update -y && apt-get install -y \
18
18
flex \
19
19
libhwloc-dev \
20
20
libevent-dev \
21
- libfabric1 libfabric-dev \
22
21
mpich \
23
22
python3 python3-pip python-is-python3
24
23
24
+ # Build Libfabric
25
+ RUN cd $INSTALL_DIR && \
26
+ git clone --depth 10 https://github.com/ofiwg/libfabric.git libfabric && \
27
+ cd libfabric && \
28
+ ./autogen.sh && \
29
+ ./configure --prefix=$INSTALL_DIR/libfabric/install && \
30
+ make -j && make install
31
+
25
32
# Build SOS
26
- RUN cd $INSTALL_DIR && \
27
- git clone https://github.com/Sandia-OpenSHMEM/SOS.git && \
28
- cd SOS && \
29
- ./autogen.sh && \
30
- # To build SOS w/ basic Libfabric \
31
- ./configure --prefix=$INSTALL_DIR/SOS/install --with-ofi \
32
- --without-ucx --without-portals4 --enable-pmi-simple --disable-fortran && \
33
- make -j && make install && \
33
+ RUN cd $INSTALL_DIR && \
34
+ git clone https://github.com/Sandia-OpenSHMEM/SOS.git && \
35
+ cd SOS && \
36
+ ./autogen.sh && \
37
+ # To build SOS w/ basic Libfabric \
38
+ ./configure --prefix=$INSTALL_DIR/SOS/install --with-ofi=$INSTALL_DIR/libfabric/install \
39
+ --without-ucx --without-portals4 --enable-pmi-simple --disable-fortran && \
40
+ make -j && make install && \
34
41
make check TESTS= -j
35
42
36
43
ENV PATH="/home/shmem/SOS/install/bin:${PATH}"
You can’t perform that action at this time.
0 commit comments