Skip to content

Commit

Permalink
Bump COSMA to version 2.6.0 (#2198)
Browse files Browse the repository at this point in the history
* Bump COSMA to version 2.6.0

* Add exceptions for the leak sanitizer (see discussion on Github)
  • Loading branch information
fstein93 committed Jul 15, 2022
1 parent 866bbfb commit 48dc2d0
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions tools/toolchain/scripts/stage4/install_cosma.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
[ "${BASH_SOURCE[0]}" ] && SCRIPT_NAME="${BASH_SOURCE[0]}" || SCRIPT_NAME=$0
SCRIPT_DIR="$(cd "$(dirname "$SCRIPT_NAME")/.." && pwd -P)"

cosma_ver="2.5.1"
cosma_sha256="085b7787597374244bbb1eb89bc69bf58c35f6c85be805e881e1c0b25166c3ce"
cosma_ver="2.6.0"
cosma_sha256="88405e382b37d247b67403dc3386758b1d2f133a46a902b4be08ffbc43397539"
source "${SCRIPT_DIR}"/common_vars.sh
source "${SCRIPT_DIR}"/tool_kit.sh
source "${SCRIPT_DIR}"/signal_trap.sh
Expand Down Expand Up @@ -161,6 +161,13 @@ export COSMA_VERSION=${cosma_ver}
export CP_LIBS="IF_MPI(${COSMA_LIBS}|) \${CP_LIBS}"
EOF
cat "${BUILDDIR}/setup_cosma" >> $SETUPFILE

cat << EOF >> ${INSTALLDIR}/lsan.supp
# leaks related to COSMA (probably, only the last one is actually needed)
leak:cosma::communicator::communicator
leak:cosma::cosma_context<double>::register_state
leak:cosma::pxgemm<double>
EOF
fi

load "${BUILDDIR}/setup_cosma"
Expand Down

0 comments on commit 48dc2d0

Please sign in to comment.