-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
workflow_template for remote workflow execution #1319
Comments
Another option is to allow the specification of templates. Right now the task template is named
The additional, potential benefit is to allow the use of templates for
to execute the workflow with a template that use command |
I tent to like the second option because the exact command to submit the task (or workflow) is host-dependent, and would better be kept in |
Similar to |
Currently my solution to the problem is indeed to use different host names but defining the hosts are straightforward -- the additional host will be
I'm not sure if this is appealing because this is only relevant when we run jobs on a single node via |
I agree that your solution is better than an additional parameter, since
is better than
and the underlying work is about the same. I mean, the workload for doing
is about the same for doing
and is perhaps clearer. In addition, users can always define their own templates with the The
being translated to
and I am proposing more definition for
This is exactly the same as our |
So what we need is something like
The problem here is that there is no way to specify nodes and RAM etc from command line so they have to be hard-coded in the Edit:
are allowed, it is easy to make the parameter dictionary available to the template, so users can do
|
Merged. |
Is this new development also related to #1321 or actually already implements it? Otherwise what's the major impact of it? Would be great if there is a documentation to read about it. |
I am working on the documentation, and the PBS version. Basically right now
Then SoS will populate the template and execute it. There are several problems such as The PBS version will submit the shell script through |
|
Okay -- so for a single host case, if we want to run an entire workflow on a cluster system by logging in to the headnode and run from there, what would be the currently recommended method? For a small workflow submitting them as one multi-node job (and not using |
Not working yet, but by design:
If there are numerous small tasks, it should be much more efficient to run it this way without the task overhead.
I agree. The task mechanism is actually better for "development" of workflow or interactive data analysis because you run large steps one by one.
I would
|
cmd
for task
?
I'm trying out the current
I'm confused here what's the difference between |
For the same host,
where |
I have this script
and I run it with
So this no longer works. Here I dont use |
Kind of busy now but did you upgrade sos-pbs? |
Yes |
The problem was that the code assumes the existence of both I am not sure if missing |
Thanks -- it seems to work now (at least my old workflow now works again). |
Released sos 0.20.10 since this looks like a regression bug, but I am wondering why all task related tests passed though. |
Right now all our task templates look something like
but this makes it difficult to specify environments for
sos execute
. For example, if I would like to doand
I would need to create two tasks queues, or change
~/.sos/hosts
between the runs.The text was updated successfully, but these errors were encountered: