Commit b9be7a41 authored by Pavan Balaji's avatar Pavan Balaji
Browse files

[svn-r7140] Symlink mpirun to mpiexec. Fixes ticket #956.

parent 41d9bb2f
......@@ -6211,6 +6211,7 @@ AC_OUTPUT_COMMANDS([if grep 'dependencies:' Makefile >/dev/null 2>&1 ; then
fi])
AC_OUTPUT_COMMANDS([chmod +x doc/mansrc/createhtmlindex])
AC_OUTPUT_COMMANDS([ln -f -s mpiexec bin/mpirun])
dnl
dnl If we rerun configure, place a file in the lib directory with the
......
......@@ -31,6 +31,15 @@ SUBDIRS = ${external_subdirs} .
mpich2-build-install: install
mpich2-build-uninstall: uninstall
# Provide an alias for mpirun to support tools that assume that
# mpiexec is called mpirun
install-exec-local:
if [ -x ${DESTDIR}${bindir}/mpiexec ] ; then \
cd ${DESTDIR}${bindir} && ln -f -s mpiexec mpirun ; fi
uninstall-local:
rm -f ${DESTDIR}${bindir}/mpirun
# A special alternate installation target when using multiple process managers
install-alt: $(bin_PROGRAMS)
@if [ ! -d $(DESTDIR)${bindir} ] ; then \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment