Skip to content

Commit

Permalink
Feat/ci itac (#4)
Browse files Browse the repository at this point in the history
Updates CI and link to evaluation-dashboard

- Include the link to the dashboard 
- include status badge for dashboard but NOT for this repository
  • Loading branch information
ttm02 authored Jun 8, 2021
1 parent 9f2c5e3 commit 80b3504
Show file tree
Hide file tree
Showing 4 changed files with 58 additions and 5 deletions.
33 changes: 29 additions & 4 deletions .github/workflows/visualize.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,27 @@ jobs:
name: results_MUST
path: ${{ github.workspace }}/experiment/MUST/results_MUST.json


run-itac:
runs-on: ubuntu-latest
env:
MPI_CORRECTNESS_BM_DIR: ${{ github.workspace }}
MPI_CORRECTNESS_BM_EXPERIMENT_DIR: ${{ github.workspace }}/experiment
steps:
- uses: actions/checkout@v2
# install ITAC
- name: install ITAC
run: |
bash ./scripts/ITAC/install_tool.sh
# setup env or running
- run: mkdir experiment
- name: Run CorrBench
run: |
source ${GITHUB_WORKSPACE}/ITAC_install/setvars.sh && \
bash ${GITHUB_WORKSPACE}/scripts/tool_runner_CI.sh ITAC
- uses: actions/upload-artifact@v2
with:
name: results_ITAC
path: ${{ github.workspace }}/experiment/ITAC/results_ITAC.json


run-parcoach:
Expand Down Expand Up @@ -83,12 +103,12 @@ jobs:


generate-visualization:
needs: [run-mpi-checker, run-parcoach, run-must]
needs: [run-mpi-checker, run-parcoach, run-must, run-itac]
runs-on: ubuntu-latest
env:
MPI_CORRECTNESS_BM_DIR: ${{ github.workspace }}
MUST_VERSION: "1.7.0"
ITAC_VERSION: "(No Data for itac: No Licnse to execute it in CI container)"
ITAC_VERSION: "2021.2.0-215"
MPI_CHECKER_VERSION: "10.0"
PARCOACH_VERSION: "6990ff4 (master)"
steps:
Expand All @@ -100,6 +120,11 @@ jobs:
with:
name: results_MUST
path: ${{ github.workspace }}/output

- uses: actions/download-artifact@v2
with:
name: results_ITAC
path: ${{ github.workspace }}/output

- uses: actions/download-artifact@v2
with:
Expand Down Expand Up @@ -150,6 +175,6 @@ jobs:
# build new readme
cat skeleton.md stats.md > README.md
git add README.md images/*
git commit -m"Updated"
git commit -m"Updated (${{ github.event.commits[0].message }})"
git push
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
# MPI-CorrBench 1.1.0 [![License](https://img.shields.io/badge/License-BSD%203--Clause-blue.svg)](https://opensource.org/licenses/BSD-3-Clause)
# MPI-CorrBench 1.2.0 [![License](https://img.shields.io/badge/License-BSD%203--Clause-blue.svg)](https://opensource.org/licenses/BSD-3-Clause) [![visualize](https://github.com/tudasc/MPI-Corrbench/actions/workflows/visualize.yml/badge.svg?branch=main)](https://github.com/tudasc/mpi-corrbench-dashboard)

MPI-CorrBench \[[CORRBE21](#ref-Corrbe21)\] enables a structured comparison of the different available tools for MPI correctness checking w.r.t. various types of errors.

## [Visualization Dashboard](https://github.com/tudasc/mpi-corrbench-dashboard)
MPI-CorrBench is automatically executed by our CI pipeline.
You can find the automatically generated visualizations in our [Visualization Dashboard](https://github.com/tudasc/mpi-corrbench-dashboard).

## Usage
Provide the Following environment Variables:
* `MPI_CORRECTNESS_BM_DIR` full path to the local directory of this repo
Expand Down
10 changes: 10 additions & 0 deletions scripts/ITAC/execute_tool_in_CI.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash

TIMEOUT_CMD="/usr/bin/timeout -k 120 120"

# in $(pwd) will be the file testcase.c , that should be evaluated

mpiicc -cc=gcc -g testcase.c -lm

mpirun -n 2 -check_mpi -genv VT_CHECK_TRACING on ./a.out 1> output.txt 2>&1

14 changes: 14 additions & 0 deletions scripts/ITAC/install_tool.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# installs must in $(pwd)/ITAC_install
mkdir ITAC_install

INSTALL_DIR=$(pwd)/ITAC_install

# intel MPI
wget https://registrationcenter-download.intel.com/akdlm/irc_nas/17729/l_mpi_oneapi_p_2021.2.0.215.sh

#ITAC
wget https://registrationcenter-download.intel.com/akdlm/irc_nas/17686/l_itac_oneapi_p_2021.2.0.152.sh

# install
bash l_mpi_oneapi_p_2021.2.0.215.sh -s -a --silent --eula accept --install-dir $INSTALL_DIR
bash l_itac_oneapi_p_2021.2.0.152.sh -s -a --silent --eula accept --install-dir $INSTALL_DIR

0 comments on commit 80b3504

Please sign in to comment.