Skip to content

Commit

Permalink
CHG: figuring out open MPI
Browse files Browse the repository at this point in the history
MathieuMorlighem committed Jul 17, 2024
1 parent df04386 commit f6e9ef8
Showing 2 changed files with 10 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
@@ -25,8 +25,13 @@ jobs:
with:
release: R2023b

- name: Install OPENMPI
run: sudo apt-get install -y libopenmpi-dev
- name: Install Open MPI
run: |
sudo apt-get install -y libopenmpi-dev
echo "Here is what's in include"
ls /usr/lib/x86_64-linux-gnu/openmpi/include/
echo "Here is mpicc -show"
mpicc -show
- name: Install METIS
run: sudo apt-get install -y libmetis-dev
3 changes: 3 additions & 0 deletions m4/issm_options.m4
Original file line number Diff line number Diff line change
@@ -1396,6 +1396,9 @@ AC_DEFUN([ISSM_OPTIONS],[
if test "x${IS_WINDOWS}" == "xyes"; then
MPIINCL=/I"${MPI_INCLUDE}"
else
if ! test -f ${MPI_INCLUDE}/mpi.h; then
AC_MSG_ERROR([Count not find mpi.h in ${MPI_INCLUDE}!]);
fi
MPIINCL="-I${MPI_INCLUDE}"
fi

0 comments on commit f6e9ef8

Please sign in to comment.