Skip to content
Snippets Groups Projects
Unverified Commit 6880b7c4 authored by Thorsten Hater's avatar Thorsten Hater Committed by GitHub
Browse files

Bump OpenMPI to 4.1.x

- bump OpenMPI version in hope of fixing the intermittent memory corruption
- bump Ubuntu and clang versions in `sanitize.yml` workflow.
parent 491a0d64
No related branches found
No related tags found
No related merge requests found
name: Sanitize
name: Lint
on:
pull_request:
......
......@@ -7,7 +7,7 @@ on:
jobs:
build:
name: "Sanitize"
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
......@@ -15,8 +15,8 @@ jobs:
sanitizer: ["address", "undefined", "thread"]
simd: ["ON", "OFF"]
env:
CC: clang-10
CXX: clang++-10
CC: clang-14
CXX: clang++-14
ASAN_OPTIONS: detect_leaks=1
steps:
- name: Set up cmake
......
......@@ -116,23 +116,23 @@ jobs:
uses: actions/cache@v3
id: cache-ompi
with:
path: ~/openmpi-4.0.2
key: ${{ matrix.config.os }}-openmpi-4.0.2-${{ matrix.config.cxx }}
path: ~/openmpi-4.1.4
key: ${{ matrix.config.os }}-openmpi-4.1.4-${{ matrix.config.cxx }}
- name: Build OpenMPI
if: ${{ steps.cache-ompi.outputs.cache-hit != 'true' }}
run: |
echo cache-hit='${{ steps.cache-ompi.outputs.cache-hit }}'
cd ~
wget https://download.open-mpi.org/release/open-mpi/v4.0/openmpi-4.0.2.tar.gz
tar -xvf ./openmpi-4.0.2.tar.gz
cd openmpi-4.0.2
wget https://download.open-mpi.org/release/open-mpi/v4.1/openmpi-4.1.4.tar.gz
tar -xvf ./openmpi-4.1.4.tar.gz
cd openmpi-4.1.4
./configure --disable-mpi-fortran
make -j4
- name: Install OpenMPI
run: |
echo "Going to install ompi"
cd ~
cd openmpi-4.0.2
cd openmpi-4.1.4
sudo make install
cd -
- name: Update shared library cache
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment