-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #666 from DARMA-tasking/1.0.0-beta.5-proposed-update
Merge 1.0.0 beta.5 proposed update into 1.0.0
- Loading branch information
Showing
105 changed files
with
3,737 additions
and
1,642 deletions.
There are no files selected for viewing
14 changes: 14 additions & 0 deletions
14
.github/workflows/dockerimage-clang-8-alpine-mpich-trace-lb.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
name: PR tests (alpine, clang-8, mpich, trace, LB) | ||
|
||
on: [pull_request] | ||
|
||
jobs: | ||
|
||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Build the Docker image | ||
run: docker build . --file Dockerfile --build-arg TRACE_ENABLED=1 --build-arg LB_ENABLED=1 --tag vt:$(date +%s) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
name: PR tests (alpine, clang-8, mpich) | ||
|
||
on: [pull_request] | ||
|
||
jobs: | ||
|
||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Build the Docker image | ||
run: docker build . --file Dockerfile --build-arg TRACE_ENABLED=0 --build-arg LB_ENABLED=0 --tag vt:$(date +%s) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
name: PR tests (gcc-5, ubuntu, mpich) | ||
|
||
on: [pull_request] | ||
|
||
jobs: | ||
|
||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Build the Docker image | ||
run: docker build . --file Dockerfile-ubuntu --tag vt:$(date +%s) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: Docker Image CI | ||
|
||
on: | ||
# Trigger the workflow on push or pull request, | ||
# but only for the master branch | ||
push: | ||
branches: | ||
- develop | ||
- 1.* | ||
|
||
jobs: | ||
|
||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Docker Build & Push | ||
uses: jerray/publish-docker-action@master | ||
with: | ||
# Name of the Docker image | ||
repository: lifflander1/vt | ||
# Target Docker registry | ||
registry: docker.io | ||
auto_tag: true | ||
# Docker registry username | ||
username: ${{ secrets.DOCKER_USERNAME }} | ||
# Docker registry password | ||
password: ${{ secrets.DOCKER_PASSWORD }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
FROM lifflander1/vt:alpine-final | ||
MAINTAINER Jonathan Lifflander <[email protected]> | ||
|
||
COPY . /usr/src/vt/ | ||
|
||
WORKDIR /usr/src | ||
|
||
ARG LB_ENABLED | ||
ARG TRACE_ENABLED | ||
|
||
RUN /bin/bash -c 'source $HOME/.bashrc && \ | ||
source /usr/share/spack/share/spack/setup-env.sh && \ | ||
spack env activate clang-mpich && \ | ||
ls /usr/src/vt && \ | ||
export CC=clang && \ | ||
export CXX=clang++ && \ | ||
echo $HTTP_PROXY && \ | ||
echo $HTTPS_PROXY && \ | ||
echo $ALL_PROXY && \ | ||
echo $http_proxy && \ | ||
echo $https_proxy && \ | ||
echo $all_proxy && \ | ||
unset https_proxy && \ | ||
unset http_proxy && \ | ||
unset all_proxy && \ | ||
unset HTTPS_PROXY && \ | ||
unset HTTP_PROXY && \ | ||
unset ALL_PROXY && \ | ||
if [ -d "detector" ]; then rm -Rf detector; fi && \ | ||
if [ -d "checkpoint" ]; then rm -Rf checkpoint; fi && \ | ||
git clone -b develop --depth 1 https://github.com/DARMA-tasking/checkpoint.git && \ | ||
export CHECKPOINT=$PWD/checkpoint && \ | ||
export CHECKPOINT_BUILD=/usr/build/checkpoint && \ | ||
git clone -b master --depth 1 https://github.com/DARMA-tasking/detector.git && \ | ||
export DETECTOR=$PWD/detector && \ | ||
export DETECTOR_BUILD=/usr/build/detector && \ | ||
export VT=/usr/src/vt && \ | ||
export VT_BUILD=/usr/build/vt && \ | ||
echo $SOURCE_COMMIT && \ | ||
cd $DETECTOR_BUILD && \ | ||
mkdir build && \ | ||
cd build && \ | ||
cmake -DCMAKE_INSTALL_PREFIX=$DETECTOR_BUILD/install -DCMAKE_CXX_COMPILER=$CXX -DCMAKE_C_COMPILER=$CC $DETECTOR && \ | ||
make && \ | ||
make install && \ | ||
cd $CHECKPOINT_BUILD && \ | ||
mkdir build && \ | ||
cd build && \ | ||
cmake -DCMAKE_INSTALL_PREFIX=$CHECKPOINT_BUILD/install -DCMAKE_CXX_COMPILER=$CXX -DCMAKE_C_COMPILER=$CC -Ddetector_DIR=$DETECTOR_BUILD/install $CHECKPOINT && \ | ||
make && \ | ||
make install && \ | ||
cd $VT_BUILD && \ | ||
mkdir build && \ | ||
cd build && \ | ||
cmake -GNinja -Dvt_lb_enabled=$LB_ENABLED -Dvt_trace_enabled=$TRACE_ENABLED -DCMAKE_INSTALL_PREFIX=$VT_BUILD/install -DCMAKE_EXE_LINKER_FLAGS=-lexecinfo -DCMAKE_BUILD_TYPE=release -DCMAKE_CXX_COMPILER=$CXX -DCMAKE_C_COMPILER=$CC -Ddetector_DIR=$DETECTOR_BUILD/install -Dcheckpoint_DIR=$CHECKPOINT_BUILD/install $VT && \ | ||
ninja && \ | ||
ninja install && \ | ||
ninja test || ctest -V' | ||
|
||
COPY $DETECTOR_BUILD/ $DETECTOR_BUILD | ||
COPY $CHECKPOINT_BUILD/ $CHECKPOINT_BUILD | ||
COPY $VT_BUILD/ $VT_BUILD |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
FROM ubuntu:18.04 | ||
MAINTAINER Jonathan Lifflander <[email protected]> | ||
|
||
RUN apt-get update && apt-get install -y \ | ||
curl \ | ||
cmake \ | ||
git \ | ||
googletest \ | ||
libmpich-dev \ | ||
wget \ | ||
gcc-5 \ | ||
zlib1g \ | ||
zlib1g-dev \ | ||
libopenmpi-dev \ | ||
ninja-build | ||
|
||
COPY . /usr/src/vt/ | ||
|
||
WORKDIR /usr/src | ||
|
||
ARG LB_ENABLED | ||
ARG TRACE_ENABLED | ||
|
||
RUN \ | ||
dpkg -L zlib1g && \ | ||
export CC=mpicc && \ | ||
export CXX=mpicxx && \ | ||
if [ -d "googletest" ]; then rm -Rf googletest; fi && \ | ||
if [ -d "detector" ]; then rm -Rf detector; fi && \ | ||
if [ -d "checkpoint" ]; then rm -Rf checkpoint; fi && \ | ||
git clone -b release-1.8.1 --depth 1 https://github.com/google/googletest.git && \ | ||
export GTEST=$PWD/googletest && \ | ||
export GTEST_BUILD=/usr/build/googletest && \ | ||
git clone -b develop --depth 1 https://github.com/DARMA-tasking/checkpoint.git && \ | ||
export CHECKPOINT=$PWD/checkpoint && \ | ||
export CHECKPOINT_BUILD=/usr/build/checkpoint && \ | ||
git clone -b master --depth 1 https://github.com/DARMA-tasking/detector.git && \ | ||
export DETECTOR=$PWD/detector && \ | ||
export DETECTOR_BUILD=/usr/build/detector && \ | ||
export VT=$PWD/vt && \ | ||
export VT_BUILD=/usr/build/vt && \ | ||
mkdir -p $DETECTOR_BUILD && \ | ||
mkdir -p $GTEST_BUILD && \ | ||
mkdir -p $VT_BUILD && \ | ||
mkdir -p $CHECKPOINT_BUILD && \ | ||
echo $SOURCE_COMMIT && \ | ||
cd $GTEST_BUILD && \ | ||
mkdir build && \ | ||
cd build && \ | ||
cmake -DCMAKE_INSTALL_PREFIX=$GTEST_BUILD/install -DCMAKE_CXX_COMPILER=$CXX -DCMAKE_C_COMPILER=$CC $GTEST && \ | ||
make && \ | ||
make install && \ | ||
cd $DETECTOR_BUILD && \ | ||
mkdir build && \ | ||
cd build && \ | ||
cmake -DCMAKE_INSTALL_PREFIX=$DETECTOR_BUILD/install -DCMAKE_CXX_COMPILER=$CXX -DCMAKE_C_COMPILER=$CC $DETECTOR && \ | ||
make && \ | ||
make install && \ | ||
cd $CHECKPOINT_BUILD && \ | ||
mkdir build && \ | ||
cd build && \ | ||
cmake -DCMAKE_INSTALL_PREFIX=$CHECKPOINT_BUILD/install -DCMAKE_CXX_COMPILER=$CXX -DCMAKE_C_COMPILER=$CC -Ddetector_DIR=$DETECTOR_BUILD/install $CHECKPOINT && \ | ||
make && \ | ||
make install && \ | ||
cd $VT_BUILD && \ | ||
mkdir build && \ | ||
cd build && \ | ||
uname -p && \ | ||
uname && \ | ||
cmake -GNinja -Dvt_lb_enabled=$LB_ENABLED -Dvt_trace_enabled=$TRACE_ENABLED -DMPI_EXTRA_FLAGS=--allow-run-as-root -DVT_NO_BUILD_EXAMPLES=1 -Dgtest_DIR=$GTEST_BUILD/install -DGTEST_ROOT=$GTEST_BUILD/install -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER=$CXX -DCMAKE_C_COMPILER=$CC -DMPI_C_COMPILER=mpicc -DMPI_CXX_COMPILER=mpicxx -Ddetector_DIR=$DETECTOR_BUILD/install -DCMAKE_PREFIX_PATH="$GTEST_BUILD/install;/lib/x86_64-linux-gnu/" -Dcheckpoint_DIR=$CHECKPOINT_BUILD/install $VT && \ | ||
ninja && \ | ||
ninja install && \ | ||
ninja test | ||
|
||
COPY $DETECTOR_BUILD/ $DETECTOR_BUILD | ||
COPY $CHECKPOINT_BUILD/ $CHECKPOINT_BUILD | ||
COPY $VT_BUILD/ $VT_BUILD | ||
COPY $GTEST_BUILD/ $GTEST_BUILD |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.