[blacs/epel7] Use -host localhost for mpich tests to workaround bug. Set openmpi abort result code back to 255.

Orion Poplawski orion at fedoraproject.org
Fri Feb 7 01:06:36 UTC 2014


commit da4951aad98930ab6716b4732744b5400fa149a6
Author: Orion Poplawski <orion at cora.nwra.com>
Date:   Thu Feb 6 18:06:28 2014 -0700

    Use -host localhost for mpich tests to workaround bug.
    Set openmpi abort result code back to 255.

 blacs.spec |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/blacs.spec b/blacs.spec
index 1bb9c53..e91d9ba 100644
--- a/blacs.spec
+++ b/blacs.spec
@@ -218,10 +218,10 @@ done
 %check
 %{_mpich_load}
 cd BLACS-mpich/TESTING/EXE
-mpirun -np 4 ./xCbtest_MPI-LINUX-0 || rc=$?
+mpirun -host localhost -np 4 ./xCbtest_MPI-LINUX-0 || rc=$?
 # Test exits using MPI_ABORT - test for return code
 [ $rc != 255 ] && exit 1
-mpirun -np 4 ./xFbtest_MPI-LINUX-0 || rc=$?
+mpirun -host localhost -np 4 ./xFbtest_MPI-LINUX-0 || rc=$?
 # Test exits using MPI_ABORT - test for return code
 [ $rc != 255 ] && exit 1
 cd -
@@ -232,10 +232,10 @@ cd -
 cd BLACS-openmpi/TESTING/EXE
 mpirun -np 4 ./xCbtest_MPI-LINUX-0 || rc=$?
 # Test exits using MPI_ABORT - test for return code
-[ $rc != 1 ] && exit 1
+[ $rc != 255 ] && exit 1
 mpirun -np 4 ./xFbtest_MPI-LINUX-0 || rc=$?
 # Test exits using MPI_ABORT - test for return code
-[ $rc != 1 ] && exit 1
+[ $rc != 255 ] && exit 1
 cd -
 %{_openmpi_unload}
 %endif


More information about the scm-commits mailing list