node setting
Moderators: chulett, rschirm, roy
node setting
Hi,
suppose I have 6 node configuration. How can I specify for stages in ajob that they have to exceute on how many nodes?
For eample suppose I have 3 stages in a job. How can I specify stage one execute on 3 nodes, stage two execute on 4 nodes and stage 3 executes on 2 nodes.
suppose I have 6 node configuration. How can I specify for stages in ajob that they have to exceute on how many nodes?
For eample suppose I have 3 stages in a job. How can I specify stage one execute on 3 nodes, stage two execute on 4 nodes and stage 3 executes on 2 nodes.
-
- Premium Member
- Posts: 892
- Joined: Thu Oct 16, 2003 5:18 am
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Do you mean to say we would have to define different node pools with 3 nodes, 4 nodes as well as 2 nodes configurations and select the node pool at job property?ray.wurlod wrote:To do that your configuration file will need to name node pools. Once node pools exist, your stages can each be restricted to run in a particular node pool. ...
Sort of. You would declare node pools, then call the job with the configuration file and then limit each stage separately as to which pool it should use.
<a href=http://www.worldcommunitygrid.org/team/ ... TZ9H4CGVP1 target="WCGWin">
</a>
</a>
Thanks!!!!!!!!!!!ArndW wrote:Sort of. You would declare node pools, then call the job with the configuration file and then limit each stage separately as to which pool it should use. ...
but in that case when i want to say that this stage would execute on 3 nodes and I pick the node pool having three nodes, it would execute only on those three nodes which are defined in that node pool. If these nodes are not available, ti would wait for them but won't pick up any available node outside defined node pool right?
Is there any way to let it dynamically pick up any of the available nodes?
If you are working in a distributed or grid environment and those nodes aren't available the job would fail. The only way for this to work dynamically is to have a program dynamically create a configuration file that is subsequently used by jobs.
<a href=http://www.worldcommunitygrid.org/team/ ... TZ9H4CGVP1 target="WCGWin">
</a>
</a>
Yes, shell scripting would probably be the best way to do this.
<a href=http://www.worldcommunitygrid.org/team/ ... TZ9H4CGVP1 target="WCGWin">
</a>
</a>
If, and only if, you wanted to create a configuration that had compute nodes that are available for use and nothing more elaborate. Anything beyond this simple task likeArndW wrote:Yes, shell scripting would probably be the best way to do this. ...
"is the compute node in use" or "does the compute node have resources to run my process" etc...
are outside of what can be addressed on this forum and is outside of what you should attempt. How would you ensure that you would start a process on the correct nodes where the export operator would be invoked from if the process writes sequential data? Not an easy task at all.
I am quite certain that a resource manager is what you would be looking for and that would imply a grid configuration.
Mike Hester
mhester@petra-ps.com
mhester@petra-ps.com