From: Olivier Dion via <gwl-devel@gnu.org>
To: Ricardo Wurmus <rekado@elephly.net>
Cc: gwl-devel@gnu.org
Subject: Re: auto-connect fails to parallelize independent processes
Date: Tue, 14 Jun 2022 15:04:26 -0400 [thread overview]
Message-ID: <871qvrukw5.fsf@laura> (raw)
In-Reply-To: <87h74s3bb0.fsf@elephly.net>
On Fri, 10 Jun 2022, Ricardo Wurmus <rekado@elephly.net> wrote:
>
> I haven’t been able to reproduce this yet.
Afte re-testing with `graph', it seems the problem is not due to
`auto-connect'. I've probably think it was because of caching, oops.
But the following workflow still has the same problem:
--8<---------------cut here---------------start------------->8---
process proc (with output)
packages "coreutils"
outputs : file output
# {
rm -f {{outputs}}
for i in $(seq 3); do
date >> {{outputs}}
sleep 1
done
}
define A : proc "A.out"
define B : proc "B.out"
define C : proc "C.out"
workflow parallel
processes
graph
C -> A B
--8<---------------cut here---------------end--------------->8---
A and B should run in parallel, but they do not.
--
Olivier Dion
oldiob.dev
next prev parent reply other threads:[~2022-06-14 19:04 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-10 0:56 auto-connect fails to parallelize independent processes Olivier Dion via
2022-06-10 13:13 ` Ricardo Wurmus
2022-06-13 20:02 ` Olivier Dion via
2022-06-14 19:04 ` Olivier Dion via [this message]
2022-06-14 19:53 ` [PATCH 1/2] gwl/workflows: Execute independent processes in parallel Olivier Dion
2022-06-14 19:53 ` [PATCH 2/2] gwl/ui: Protect format to currnt-error-port with mutex Olivier Dion
2022-06-15 23:28 ` Ricardo Wurmus
2022-06-15 23:27 ` [PATCH 1/2] gwl/workflows: Execute independent processes in parallel Ricardo Wurmus
2022-06-16 1:23 ` Olivier Dion via
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.guixwl.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=871qvrukw5.fsf@laura \
--to=gwl-devel@gnu.org \
--cc=olivier.dion@polymtl.ca \
--cc=rekado@elephly.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).