diff --git a/ChangeLog.md b/ChangeLog.md index 3d71d4d50..9cf113b03 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -15,6 +15,8 @@ More detailed information about incremental changes can be found in the to enable check for interrupt signal in `intermediate_callback`. - The `ipopt` and `ipopt_sens` executables can now be interrupted by SIGINT/SIGHUP (POSIX systems) or SIGINT/SIGTERM/SIGABRT (Windows systems). +- New option `mumps_mpi_communicator` to specify the MPI communicator when using + an MPI-enabled build of MUMPS [#790, by Alex Tyler Chapman]. ### 3.14.16 (2024-04-22) diff --git a/doc/options.dox b/doc/options.dox index 2eec42b05..631fef7b0 100644 --- a/doc/options.dox +++ b/doc/options.dox @@ -2473,6 +2473,12 @@ Possible values: This is CNTL(3) in MUMPS. The valid range for this real option is unrestricted and its default value is 0. +\anchor OPT_mumps_mpi_communicator +mumps_mpi_communicator (advanced): MPI communicator used for matrix operations +
+ This sets the MPI communicator. MPI_COMM_WORLD is the default. Any other value should be the return value from MPI_Comm_c2f. The valid range for this integer option is unrestricted and its default value is -987654. +
+ \subsection OPT_MA28_Linear_Solver MA28 Linear Solver diff --git a/src/Algorithm/LinearSolvers/IpMumpsSolverInterface.cpp b/src/Algorithm/LinearSolvers/IpMumpsSolverInterface.cpp index 4b5ac7d5a..1ed21707a 100644 --- a/src/Algorithm/LinearSolvers/IpMumpsSolverInterface.cpp +++ b/src/Algorithm/LinearSolvers/IpMumpsSolverInterface.cpp @@ -176,7 +176,7 @@ void MumpsSolverInterface::RegisterOptions( "mumps_mpi_communicator", "MPI communicator used for matrix operations", USE_COMM_WORLD, - "This sets the MPI communicator. MPI_COMM_WORLD is the default. Any other value should be the return value from MPI_Comm_c2f", true); + "This sets the MPI communicator. MPI_COMM_WORLD is the default. Any other value should be the return value from MPI_Comm_c2f.", true); } /// give name of MUMPS with version info