set mpiexec from configure

This commit is contained in:
Ed Hartnett 2018-08-16 07:23:41 -06:00
parent 5539b50ce0
commit afb7e5ab43
2 changed files with 10 additions and 0 deletions

View File

@ -255,6 +255,15 @@ AC_ARG_ENABLE([parallel-tests],
test "x$enable_parallel_tests" = xyes || enable_parallel_tests=no
AC_MSG_RESULT($enable_parallel_tests)
# Did the user specify a default chunk size?
AC_MSG_CHECKING([whether a user specified program to run mpi programs])
AC_ARG_WITH([mpiexec],
[AS_HELP_STRING([--with-mpiexec=<command>],
[Specify command to launch MPI parallel tests.])],
[MPIEXEC=$with_mpiexec], [MPIEXEC=mpiexec])
AC_MSG_RESULT([$MPIEXEC])
AC_SUBST([MPIEXEC], [$MPIEXEC])
# Did the user specify a default chunk size?
AC_MSG_CHECKING([whether a default chunk size in bytes was specified])
AC_ARG_WITH([default-chunk-size],
@ -1532,6 +1541,7 @@ AC_CONFIG_FILES([Makefile
docs/images/Makefile
nctest/Makefile
nc_test4/Makefile
nc_test4/run_par_test.sh
nc_test/Makefile
ncdap_test/Makefile
ncdap_test/testdata3/Makefile

0
nc_test4/run_par_test.sh Executable file → Normal file
View File