Skip to content
Snippets Groups Projects
Commit 5dd35641 authored by Enol Fernandez's avatar Enol Fernandez
Browse files

Use the already defined OSC_MPIEXEC var.

parent c3af0c83
Branches
Tags
1 merge request!10Preparing release 1.5.2
...@@ -10,12 +10,8 @@ check_distribution_method() { ...@@ -10,12 +10,8 @@ check_distribution_method() {
result=255 result=255
if test "x$I2G_MPI_TYPE" = "xmpich" -o "x$I2G_MPI_TYPE" = "xmpich2"; then if test "x$I2G_MPI_TYPE" = "xmpich" -o "x$I2G_MPI_TYPE" = "xmpich2"; then
if test "x${MPI_START_SCHEDULER}" = "xpbs" ; then if test "x${MPI_START_SCHEDULER}" = "xpbs" ; then
if test "x${MPI_MPIEXEC}" != "x" ; then if test ${OSC_MPIEXEC} -eq 1 ; then
$MPI_MPIEXEC 2>&1 | grep -e "-\<np\>" > /dev/null 2>&1 result=0
status=$?
if test $status -ne 0 ; then
result=0
fi
fi fi
fi fi
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment