Skip to content

Commit

Permalink
CI: fix BMI dependency
Browse files Browse the repository at this point in the history
Also disable psm build
  • Loading branch information
soumagne committed Jan 17, 2025
1 parent d9c771b commit fbf04bb
Showing 1 changed file with 12 additions and 13 deletions.
25 changes: 12 additions & 13 deletions Testing/script/gh_install_deps.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

BMI_VERSION=2.8.1
BMI_VERSION=latest
#MPI_VERSION=3.4.1
if [[ $MERCURY_BUILD_CONFIGURATION == 'Tsan' ]]; then
OFI_CFLAGS="-O1 -g -fsanitize=thread"
Expand All @@ -25,13 +25,13 @@ UCX_VERSION=1.17.0
PREFIX=${RUNNER_TEMP}/${INSTALL_DIR}

# PSM
if [[ $MERCURY_BUILD_CONFIGURATION == 'Tsan' ]]; then
PSM_EXTRA_FLAGS="PSM_DEBUG=1 PSM_SANITIZE=1"
fi
if [[ $MERCURY_BUILD_CONFIGURATION == 'Debug' ]]; then
PSM_EXTRA_FLAGS="PSM_DEBUG=1"
fi
PSM_VERSION=updates
# if [[ $MERCURY_BUILD_CONFIGURATION == 'Tsan' ]]; then
# PSM_EXTRA_FLAGS="PSM_DEBUG=1 PSM_SANITIZE=1"
# fi
# if [[ $MERCURY_BUILD_CONFIGURATION == 'Debug' ]]; then
# PSM_EXTRA_FLAGS="PSM_DEBUG=1"
# fi
# PSM_VERSION=updates

set -e

Expand All @@ -42,8 +42,7 @@ if [[ ${CC} == 'icx' ]]; then
fi

# BMI
cd $HOME && wget --secure-protocol=TLSv1_2 https://github.com/radix-io/bmi/archive/refs/tags/v${BMI_VERSION}.tar.gz -O bmi-${BMI_VERSION}.tar.gz;
tar -xzf bmi-${BMI_VERSION}.tar.gz;
cd $HOME && git clone https://github.com/radix-io/bmi.git bmi-${BMI_VERSION};
cd bmi-${BMI_VERSION} && ./prepare && ./configure --enable-shared --disable-static --enable-bmi-only --prefix=$PREFIX && make -j2 -s && make install;

# MPI
Expand Down Expand Up @@ -76,8 +75,8 @@ if [[ ${RUNNER_OS} == 'Linux' ]]; then
./configure --prefix=$PREFIX --enable-profiling --enable-frame-pointer --enable-stats --enable-memtrack --enable-fault-injection --enable-mt --disable-numa --without-java --without-go --disable-silent-rules ${UCX_EXTRA_FLAGS} CC="${CC}" CXX="${CXX}" CFLAGS="${UCX_CFLAGS}" && make -j2 -s && make install;

# PSM
cd $HOME && git clone https://github.com/mercury-hpc/psm.git -b ${PSM_VERSION} psm-${PSM_VERSION}
cd psm-${PSM_VERSION}
make install DESTDIR=$PREFIX ${PSM_EXTRA_FLAGS}
# cd $HOME && git clone https://github.com/mercury-hpc/psm.git -b ${PSM_VERSION} psm-${PSM_VERSION}
# cd psm-${PSM_VERSION}
# make install DESTDIR=$PREFIX ${PSM_EXTRA_FLAGS}
fi

0 comments on commit fbf04bb

Please sign in to comment.