File tree 2 files changed +9
-4
lines changed
2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -479,7 +479,10 @@ jobs:
479
479
mpi : ${{ matrix.mpi }}
480
480
481
481
- if : ${{ matrix.mpi == 'mpich' && runner.os == 'Linux' }}
482
- run : sudo ln -sr /usr/lib/$(arch)-linux-gnu/libmpi{ch,}.so.12
482
+ run : |
483
+ # /usr/lib/$(arch)-linux-gnu/libmpi.so.12
484
+ test -f /usr/lib/$(arch)-linux-gnu/libmpi.so.12 || \
485
+ sudo ln -sr /usr/lib/$(arch)-linux-gnu/libmpi{ch,}.so.12
483
486
484
487
- uses : ./.github/actions/mpi4py-test-basic
485
488
timeout-minutes : 2
Original file line number Diff line number Diff line change @@ -58,9 +58,11 @@ dynamic linker is able to find at runtime the MPI shared library file
58
58
On Debian/Ubuntu systems, Open MPI is the default MPI implementation and most
59
59
of the MPI-based applications and libraries provided by the distribution depend
60
60
on Open MPI. Nonetheless, MPICH is also available to users for installation.
61
- However, due to legacy reasons, the ABI is slightly broken: the MPI shared
62
- library file is named ` libmpich.so.12` instead of ` libmpi.so.12` as required by
63
- the [MPICH ABI Compatibility Initiative](https://www.mpich.org/abi/).
61
+
62
+ In Ubuntu 22.04 and older, due to legacy reasons, the MPICH ABI is slightly
63
+ broken: the MPI shared library file is named ` libmpich.so.12` instead of
64
+ ` libmpi.so.12` as required by the [MPICH ABI Compatibility
65
+ Initiative](https://www.mpich.org/abi/).
64
66
65
67
Users without ` sudo` access can workaround this issue creating a symbolic link
66
68
anywhere in their home directory and appending to ` LD_LIBRARY_PATH` .
You can’t perform that action at this time.
0 commit comments