File tree Expand file tree Collapse file tree
mpi-proxy-split/mpi-wrappers Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -52,19 +52,19 @@ ${LIBNAME}.a: ${LIBWRAPPER_OBJS}
5252 ar cr $@ $^
5353
5454mpi_unimplemented_wrappers.cpp : generate-mpi-unimplemented-wrappers.py \
55- mpi_unimplemented_wrappers_mpich.txt \
55+ mpi_unimplemented_wrappers_mpich.txt \
5656 mpi_unimplemented_wrappers_openmpi.txt \
5757 mpi_unimplemented_wrappers_exampi.txt
58-
59- if mpiexec -h | grep -q 'mpich'; then \
60- python3 generate -mpi-unimplemented-wrappers.py mpi_unimplemented_wrappers_mpich.txt > $@; \
61- elif mpiexec -h | grep -q 'open-mpi'; then \
62- python3 generate-mpi-unimplemented-wrappers.py mpi_unimplemented_wrappers_openmpi.txt > $@; \
63- elif mpiexec -h | grep -q 'ExaMPI'; then \
64- python3 generate-mpi-unimplemented-wrappers.py mpi_unimplemented_wrappers_exampi.txt > $@; \
65- else \
66- $(error Could not identify the MPICH flavor) ; \
67- fi
58+ if mpiexec -h | grep -q 'mpich'; then \
59+ python3 generate-mpi-unimplemented-wrappers.py mpi_unimplemented_wrappers_mpich.txt > $@; \
60+ elif mpiexec -h | grep -q 'open -mpi'; then \
61+ python3 generate-mpi-unimplemented-wrappers.py mpi_unimplemented_wrappers_openmpi.txt > $@; \
62+ elif mpiexec -h | grep -q 'ExaMPI'; then \
63+ python3 generate-mpi-unimplemented-wrappers.py mpi_unimplemented_wrappers_exampi.txt > $@; \
64+ else \
65+ echo 'Could not identify the MPICH flavor'; \
66+ exit 1 ; \
67+ fi
6868
6969.c.o :
7070 ${MPICC} ${CFLAGS} -c -o $@ $<
You can’t perform that action at this time.
0 commit comments