|
Boost-Build : |
Subject: Re: [Boost-build] Patch to serialize MPI tests
From: Matthias Troyer (troyer_at_[hidden])
Date: 2010-05-14 15:14:15
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.
Matthias
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