[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Feature Request: Special input value to create a barrier
From: |
Cook, Malcolm |
Subject: |
RE: Feature Request: Special input value to create a barrier |
Date: |
Tue, 25 Jun 2019 21:42:19 +0000 |
Hmm,
parallel -j0 -sh bash -c "parallel do_something '{}'" ::: 'job1 job2 job3'
'job4 job5' 'job6 job7'
?,
Malcolm
> -----Original Message-----
> From: Parallel <parallel-bounces+mec=stowers.org@gnu.org> On Behalf Of
> Achim Gratz
> Sent: Sunday, June 23, 2019 6:33 AM
> To: parallel@gnu.org
> Subject: Feature Request: Special input value to create a barrier
>
> **CAUTION: Non-Stowers email**
>
>
> I could use a (configurable) special input value that creates a barrier (i.e.
> wait
> for all previous jobs to finish) upon parallel encountering it. Usage would
> be
> something like:
>
> parallel --barrier + do_something '{}' ::: job1 job2 job3 + job4 job5 + job6
> job7
>
> which should start the first three jobs, wait for them to finish, then starts
> the
> fourth and fifth job, waits again for these to finish, then the remaining
> sixth
> and seventh job are started in parallel.
>
>
> Regards,
> Achim.
> --
> +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk
> Blofeld]>+
>
> Wavetables for the Terratec KOMPLEXER:
> http://Synth.Stromeko.net/Downloads.html#KomplexerWaves
>