Skip to content

Commit

Permalink
Initial commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
niklas-uhl committed Jun 13, 2024
0 parents commit 2f99318
Show file tree
Hide file tree
Showing 3 changed files with 55 additions and 0 deletions.
17 changes: 17 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
FROM intel/oneapi-hpckit:devel-ubuntu22.04
MAINTAINER Tim Niklas Uhl <[email protected]>
RUN apt update && \
apt upgrade -y && \
apt install -y gcc-12 g++-12 && \
apt remove -y cmake && \
apt autoremove -y

# Install CMake
RUN wget https://cmake.org/files/v3.26/cmake-3.26.3-linux-x86_64.sh && \
sh cmake-3.26.3-linux-x86_64.sh --skip-license --prefix=/usr/local

# Install pyenv
RUN apt install -y pip && \
pip install pipenv

VOLUME /repro-scripts
24 changes: 24 additions & 0 deletions build_and_run_test_suite.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#!/usr/bin/env sh

echo "[INFO] Cloning repo:"
git clone --branch v0.1.0 --recursive https://github.com/kamping-site/kamping

cd kamping

echo "[INFO] MPI version:"
mpiexec --version


echo "[INFO] Compiler version:"
gcc-12 --version

echo "[INFO] building tests:"
cmake -B build \
-DCMAKE_BUILD_TYPE=Debug \
-DCMAKE_CXX_COMPILER=g++-12 \
-DKAMPING_TEST_ENABLE_SANITIZERS=OFF #address sanitizers sometimes cause issues in combination with googletest and dynamic loading

cmake --build build --parallel

echo "[INFO] executing test suite:"
ctest --test-dir build
14 changes: 14 additions & 0 deletions count_example_loc.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/usr/bin/env sh

echo "[INFO] Cloning repo:"
git clone --branch v0.1.0 --recursive https://github.com/kamping-site/kamping-examples

cd kamping-examples/evaluation

echo "[INFO] installing dependencies for python script"
pipenv install

echo "[INFO] Counting LOC"
pipenv run python count_lines.py --path ../include/bfs/bindings/ \
../include/sorting/bindings/ \
../include/vector_allgather/

0 comments on commit 2f99318

Please sign in to comment.