From 091fec260031d5d3ac4bf842872f9af01d10ae4a Mon Sep 17 00:00:00 2001 From: Matthieu Schaller <matthieu.schaller@durham.ac.uk> Date: Thu, 20 Aug 2015 17:58:07 +0100 Subject: [PATCH] Makes MPIRUN modifiable via an environment variable and not just as an argument to the script. (Also adds documentation with --help) Former-commit-id: 65ab9098c4fd505a9ad9266791adbd5226c8809b --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index a3d38e86df..cbdbf5469b 100644 --- a/configure.ac +++ b/configure.ac @@ -112,6 +112,9 @@ if test "$enable_mpi" = "yes"; then fi AM_CONDITIONAL([HAVEMPI],[test $enable_mpi = "yes"]) +# Indicate that MPIRUN can be modified by an environement variable +AC_ARG_VAR(MPIRUN, Path to the mpirun command if non-standard) + # Need C99 and inline support. AC_PROG_CC_C99 AC_C_INLINE -- GitLab