Skip to content

Commit e88115f

Browse files
committed
ci: compile against same mpi version from apt
1 parent f42d85c commit e88115f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/ci.yaml

+7
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,13 @@ jobs:
2626
sudo apt-get install -y apptainer libopenmpi-dev python3-pip
2727
pip install ansible
2828
29+
- name: Get libopenmpi-dev version
30+
id: get_mpi_version
31+
run: |
32+
mpi_version=$(dpkg-query -W -f='${Version}' libopenmpi-dev | cut -f1 -d'-')
33+
echo "Setting MPI version to: $mpi_version"
34+
sed -i "s/version: 4.1.5/version: $mpi_version/g" config.yaml
35+
2936
- name: Setup tmate session
3037
uses: mxschmitt/action-tmate@v3
3138
if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled }}

0 commit comments

Comments
 (0)