-
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
New option to sos execute for multi-node task execution #1277
Comments
Option
Since 2 is more general, I think the interface should allow for both cases, in which case However, the PBS task manager currently submits one job for each task, with a template in the format of
We should relax it to allow the submission of multiple tasks in one shell script, something like
However, it is unclear how to control how many tasks should go into one PBS job. Should we add another option, such as In the end, assuming the interface to be
With aforementioned template, we have the following scenarios
|
Sorry I'm traveling until the end of this week ... also sorry I want to clarify some basic stuff:
How is this relevant to multi-node task execution?
What magic -- could you give an example?
Cool! I'll now try to digest the new proposed interface and see if I can understand them easily. |
This is awkward ... I'm trying to simply the interface from a user's prospective. The previous interface with Now to a user, the only difference is that the above can happen on multiple nodes. That is, by changing from |
Basically right now the task executor inside
to know which executor to use. Currently the solution is to use
which as an entry point refers to As I said, we could be more clever to say Anyway, none of these is fixed, and the entire |
The problem here is right now all substeps are single-node jobs and I do agree with your single-task concept. That is to say, we can remove the concept of master task (not showing any subtask ID), so basically a task can have "work" for one or more ( |
I see. So
I understand all substeps are now single-node jobs. But
I think I now understand what you meant -- similar to using |
So with #1278, let us clarify that
Implementation wise, the task executor needs to differentiate between the two cases
|
what does
So this seems to confirm my first response in this post that
I think we are on the same page but I just want to confirm. The use of terminology |
Here is the proposed interface: Make
It will be translated to
and the task will be processed by 8 processes on two nodes. Either for testing or with real application,
will be allowed to process task using 12 processes on three computers (non-cluster). Here the usage of A culprit of this usage is that SoS uses
In this case, our template
would generate
All these are assuming |
Previously,
I"m still confused in this case. Yes either |
|
I mean we should write a function to parse |
|
Yes I was aware |
I see, that has to be
not
However, because we support
(not string) and we are technically speaking allowing
I felt that extending from
to
and then to
makes more sense. |
|
Okay, I agree using numeric values consistently for |
#1276
sos execute
needs to know what executor to use. Giving that most tasks are submitted by thesos-pbs
module with a template-generated bash file similar toit is most natural to change the template to something like
So that
sos execute
can look for an executor calledpbs
and use it to execute specified tasks.It is possible to let the pbs task engine to do some magic but making the option explicit seems to be better and allows easier testing.
The text was updated successfully, but these errors were encountered: