Skip to content

Commit

Permalink
transmit verbosity option to wi4mpi when using mpirun: fixes issue #15
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin-juilly authored and marcjoos-cea committed Nov 29, 2023
1 parent 8b969ed commit 37ee913
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/interface/interface_utils/bin/mpirun
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ while [[ $# -gt 0 ]]; do
shift 2 ;;
-v|-verbose|--verbose)
mpirun_opts="$mpirun_opts -v"
wi4mpi_opts="$wi4mpi_opts -v"
shift ;;
-V|-version|--version)
version
Expand Down Expand Up @@ -120,11 +121,11 @@ export MPC_ROOT=${MPC_ROOT:-"$MPC_DEFAULT_ROOT"}

case ${WI4MPI_FROM,,} in
*openmpi*)
wi4mpi_opts="-f openmpi" ;;
wi4mpi_opts="$wi4mpi_opts -f openmpi" ;;
*intelmpi*)
wi4mpi_opts="-f intelmpi" ;;
wi4mpi_opts="$wi4mpi_opts -f intelmpi" ;;
*mpich*)
wi4mpi_opts="-f mpich" ;;
wi4mpi_opts="$wi4mpi_opts -f mpich" ;;
esac

WI4MPI_PM=${WI4MPI_PM:-"mpirun"}
Expand Down

0 comments on commit 37ee913

Please sign in to comment.