Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r61970 - trunk/tools/build/v2/tools
From: kbelco_at_[hidden]
Date: 2010-05-14 15:37:37


Author: noel_belcourt
Date: 2010-05-14 15:37:36 EDT (Fri, 14 May 2010)
New Revision: 61970
URL: http://svn.boost.org/trac/boost/changeset/61970

Log:
Serialize running of MPI tests to minimize overloading systems.

Several in house complaints necessitated solution to running
parallel Boost tests and MPI tests. Best short term option seems
to be to serialize MPI tests using Boost.Build jam semaphore
capability.

Text files modified:
   trunk/tools/build/v2/tools/mpi.jam | 3 +++
   1 files changed, 3 insertions(+), 0 deletions(-)

Modified: trunk/tools/build/v2/tools/mpi.jam
==============================================================================
--- trunk/tools/build/v2/tools/mpi.jam (original)
+++ trunk/tools/build/v2/tools/mpi.jam 2010-05-14 15:37:36 EDT (Fri, 14 May 2010)
@@ -493,6 +493,9 @@
     local num_processes = [ property.select <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) ] ;


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk