Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added a SOS Dockerfile script and a README #1044

Merged
merged 7 commits into from
Mar 23, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions scripts/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ ENV DEBIAN_FRONTEND=noninteractive
ENV CC=gcc
ENV CXX=g++
# For OneAPI compilers use clang and clang++
#ENV CC=clang
#ENV CXX=clang++
# ENV CC=icx
# ENV CXX=icpx

RUN apt-get update -y && apt-get install -y \
git \
Expand Down Expand Up @@ -87,13 +87,13 @@ RUN make
RUN make install

# Build UCX
WORKDIR $SOS_INSTALL
RUN git clone -b v1.9.0 --depth 10 https://github.com/openucx/ucx.git
WORKDIR ucx
RUN ./autogen.sh
RUN ./configure --prefix=$SOS_INSTALL/ucx/install --enable-mt --disable-numa --without-java
RUN make
RUN make install
#WORKDIR $SOS_INSTALL
#RUN git clone -b v1.9.0 --depth 10 https://github.com/openucx/ucx.git
#WORKDIR ucx
#RUN ./autogen.sh
#RUN ./configure --prefix=$SOS_INSTALL/ucx/install --enable-mt --disable-numa --without-java
#RUN make
#RUN make install

# Build SOS
WORKDIR $SOS_INSTALL
Expand Down
5 changes: 5 additions & 0 deletions scripts/docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ The other option (which is commnented out) is for OneAPI image which uses
Ubunutu 18.04. The idea for this image was to allow users to test/run SOS
applications with non-gcc compilers.

Note: Currenlty, building the UCX libraries with the `icx` compiler leads to a
davidozog marked this conversation as resolved.
Show resolved Hide resolved
build error. When starting from the OneAPI image and using the `icx` compiler,
the Dockerfile lines which build UCX (the lines directly under "Build UCX") must
be commented out.

#### Building Libafabic
davidozog marked this conversation as resolved.
Show resolved Hide resolved
davidozog marked this conversation as resolved.
Show resolved Hide resolved
The next set of options are presented when it comes time to build Libfabric.

Expand Down