Commit Graph

5 Commits

Author SHA1 Message Date
Brendan Smithyman d5cb4adf1f Add support for bootstrapping remote namespace based on code from Problem or Dispatcher. 2015-05-07 14:01:46 -04:00
Brendan Smithyman 75e3163a47 Added some prototypes for parallel constructs.
SuperReference acts like an IPython.parallel.Reference instance specialized for function calls. If it's scheduled by a call to 'apply' on a Load Balanced View, it will raise UnmetDependency errors until it's scheduled on a worker that is allowed by its 'rank' attribute. This can therefore point at functions that are known to be defined on particular workers.

Endpoint is a prototype layout for an object to hold multiple Problems, Fields, etc. on the remote workers. The idea is to clean up the remote namespace and reduce the use of globals().
2015-05-07 13:32:37 -04:00
Brendan Smithyman c982fb131a Move module-level functions to static methods for their respective classes. 2015-05-06 12:21:46 -04:00
Brendan Smithyman 97f832031a Created SystemGraph subclass of the networkx.DiGraph class that knows how to render itself in the IPython Notebook using d3.js. 2015-05-05 17:03:45 -04:00
Brendan Smithyman 29195e6608 Incorporating the first parts of my parallel distributed tools.
DataWrappers.py contains the CommonReducer class, which enables pass-through math operations and function calls on dictionaries.
Parallel.py contains the job scheduler, remote interface (w/ MPI support) and several helper functions.
2015-05-01 17:04:59 -04:00