rex.utilities.execution.execute_single
- execute_single(fun, input_obj, worker=0, **kwargs)[source]
Execute a serial compute on a single core.
- Parameters:
fun (function) – Function to execute.
input_obj (object) – Object passed as first argument to fun. Typically a project control object that can be the result of iteration in the parallel execution framework.
worker (int) – Worker number (for debugging purposes).
**kwargs (dict) – Key word arguments passed to fun.