Boost logo

Boost-Build :

Subject: [Boost-build] Patch to serialize MPI tests
From: Belcourt, Kenneth (kbelco_at_[hidden])
Date: 2010-05-14 14:04:20


The attached patch serializes the execution of the MPI tests. I need
to serialize the execution of the MPI tests so that when running Boost
regression tests in parallel, we avoid overloading our systems.

[kbelco_at_wsblade001 tools]$ svn diff
Index: mpi.jam
--- mpi.jam (revision 61969)
+++ mpi.jam (working copy)
@@ -493,6 +493,9 @@
      local num_processes = [ <mpi:processes> : $
(properties) ] ;
      num_processes = $(num_processes:G=) ;

+ # serialize the MPI tests to avoid overloading systems
+ JAM_SEMAPHORE on $(target) = <s>mpi-run-semaphore ;
      # We launch MPI processes using the "mpirun" equivalent
specified by the user.
      LAUNCHER on $(target) =
        [ on $(target) return $(.mpirun) $(.mpirun_flags) $
(num_processes) ] ;

This has been tested on two systems (Darwin and Linux) without any
problems. Okay to commit?

-- Noel

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at