Replies: 2 comments 2 replies
-
@jwhite242 -- I just thought about this feature a bit more, and I think we could actually go straight for a mix-in as a starting solution. We can make an allocation execution mix-in that overrides the |
Beta Was this translation helpful? Give feedback.
-
Referencing the comment from #345 :
|
Beta Was this translation helpful? Give feedback.
-
I think in order to make this design happen there's a couple vectors of discussion that need to happen.
Short Term Enablement -- The shortest term solution is the introduction of a new adapter class that takes in the batch settings as all adapters do, except it has a method to schedule a conductor (or arbitrary command). The adapter that's then used would be a resource enabled local adapter that uses the specified adapter to run the particular scheduler's MPI substitution. @jwhite242 -- you and I have discussed this one at length; basically, if Maestro's front end detects the use of this
ResourceAdapter
orResourceManager
, then it will use the specified type to scheduler the conductor call with a defined set of resources.Long Term Enablement -- This suggestion might be a result of my current mental love affair with mix-ins... but I think the future enablement of this functionality is best handled by making a number of the data structures compositions of derived classes. @jwhite242's current closed test of the "local parallel" concept modified the
ExecutionGraph
to handle checks on available resources. In theory, this could be handled by constructing a specialized class from mix-ins making the API consistent and change the functionality without strictly inherited classes.Beta Was this translation helpful? Give feedback.
All reactions