generated from pyiron/pyiron_module_template
-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
questionFurther information is requestedFurther information is requested
Description
I am trying to make a For node fire off run signals to all the child classes at once to make them run concurrently.
Probably naive but from what I gleaned, the executor is assigned when a child node/node instance in the sequence is reached. I tried to see if setting the executor apriori would allow for running the child nodes/node instances concurrently.
Would this be the right approach? I see that doing so, particularly when the body_node is a macro, eventually causes errors, but I wanted to confirm the approach before debugging.
I tested it out by simply adding body_node_executor = ( ProcessPoolExecutor, (), {"max_workers": 4}), but I am not sure if this is the way to go.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested