radical-cybertools / radical.pilot

RADICAL-Pilot
http://radical-cybertools.github.io/radical-pilot/index.html
Other
54 stars 23 forks source link

time-partitioning of agent #1057

Closed andre-merzky closed 4 years ago

andre-merzky commented 8 years ago

possibly rendered as pilot.reconfig(pd)

iparask commented 8 years ago

I am afraid that passing it as a reconfig is not very elegant way of doing it, Let me think about it and get back at you.

iparask commented 8 years ago

Wouldn't pilot.reconfig(pd) allow the submission of a pilot description that is completely different than the one the pilot was started with?

For example:

pdesc = rp.ComputePilotDescription()
pdesc.resource = "xsede.stampede"

pilot = pmgr.submit_pilots(pdesc)

pd = rp.ComputePilotDescription()
pd.resource = "xsede.comet"

pilot.reconfig(pd)

How about this description to allow reconfiguring only the launch method(s)?

marksantcroos commented 8 years ago

Wouldn't pilot.reconfig(pd) allow the submission of a pilot description that is completely different than the one the pilot was started with?

Depends on the implementation :) I wouldnt worry about those details for now.

How about this description to allow reconfiguring only the launch method(s)?

You could consider creating some "sub-configs" where you put the things that are re-configurable (e.g. the launch methods, but possibly more)

andre-merzky commented 8 years ago

reconfig would not create a new pilot job, but only reconfigure the agent (or restart the agent with a different config) for an existing pilot job.

andre-merzky commented 5 years ago

v2