Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: [Xgrid] Programming the controller
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xgrid] Programming the controller



Greetings,

I have one question I hope you can help me with; Can I control the xgrid controller? I want to implement a certain scheduling algorithm to test a specific scheduling schema, can I do this with xgrid? I would really appreciate any help.

Best,
Majd Kokaly

There is no official way to control the scheduling directly at the level of the controller.


However, you can certainly control things at the client level. First by using job and task dependencies (wait for a specific job or task to finish before starting another specific one) that can be set up in the job specifications (man xgrid); no programming skills required. Second, by using the APIs, you have even more flexibility, and can do pretty much anything you like; some shell scripting or Cocoa programming required. For instance, this is what GridStuffer does, using the 'MetaJob' object as the scheduler.

The main limitation is you can't force a particular task to a specific agent. Another limitation is that you may not be the only client, so your scheduling may have to take into account that other clients may connect to the controller at the same time, and also do whatever they like.

hth!

charles


-- Xgrid-at-Stanford Help science move fast forward: http://cmgm.stanford.edu/~cparnot/xgrid-stanford

Charles Parnot
email@hidden




_______________________________________________ Do not post admin requests to the list. They will be ignored. Xgrid-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >[Xgrid] Programming the controller (From: Majd Kokaly <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.