Subject: Re: [Boost-build] Patch to serialize MPI tests
From: Jeremiah Willcock (jewillco_at_[hidden])
Date: 2010-05-29 22:47:32
On Fri, 14 May 2010, Matthias Troyer wrote:
> On 14 May 2010, at 20:04, Belcourt, Kenneth wrote:
>> 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 = [ 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) ] ;
>> This has been tested on two systems (Darwin and Linux) without any problems. Okay to commit?
> As far as I am concerned you can commit this.
Does this patch also serialize the Boost.Graph.Parallel tests? If it
doesn't, is there a way to have those serialized as well? That may avoid
some of the timeouts that often cause the Boost.Graph.Parallel regression
tests to fail.
-- Jeremiah Willcock
Boost-Build 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