Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into intel-pw-runner
Browse files Browse the repository at this point in the history
  • Loading branch information
rem1776 authored and rem1776 committed Nov 6, 2023
2 parents 83e5b8f + c70718d commit 90f4b7a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test_fms/test-lib.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,10 @@ mpirun () {
# Set the name of the mpi launcher for use in test scripts.
local mpi_launcher='@MPI_LAUNCHER@'
local oversubscribe='@OVERSUBSCRIBE@'
# need to strip off any args that may be included with MPI_LAUNCHER arg for check below to work
local mpi_cmd="`echo $mpi_launcher | awk '{print $1;}'`"
# Check if running with MPI: if so, the mpi_launcher will point to a command
command -v "$mpi_launcher" 2>&1 > /dev/null
command -v "$mpi_cmd" 2>&1 > /dev/null
if test $? -eq 0
then
# use `command` to keep from reusing this function
Expand Down

0 comments on commit 90f4b7a

Please sign in to comment.