-
Notifications
You must be signed in to change notification settings - Fork 29
Distributed Computing
In addition to multi-threading, some functions take advantage of PARFOR loops that are provided by the MATLAB Distributed Computing Toolbox. The MATLAB distributed computing toolbox can either be used to open a pool of MATLAB workers on a local machine (with multiple cores) or on a cluster over the network. For instance MATLAB pool with 4 workers can be opened locally by parpool('local',4). Contact your MATLAB cluster administrator for further information and the discription of parallel function in the following.
For some functions, e.g. that read or write files on the hard disk, a local pool of workers is more usedfull or even required.
-
arCompileAll.muses a PARFOR loop to accelerate symbolic calculations, writing and compiling of c-code to the hard disk for the different experimental conditions and data sets.
Before the following functions can be used on a cluster, the function arCompileCluster.m has to be called to generate corresponding mex-files on each cluster worker.
-
arChi2s.morarChi2LHS.muses a PARFOR loop to accelerate the objective function evaluation for the different parameters sets. -
Similarly,
arFits.morarFitLHS.muses a PARFOR loop to accelerate the multiple parameter estimation runs for different initial parameters sets.
We use the example application Epo induced JAK2/STAT5 signaling model in CFU-E cells to illustrate speed up on a dual-core computer using matlabpool local 4:
- arCompileAll: 207.77 sec vs. 119.10 sec
- Installation and system requirements
- Setting up models
- First steps
- Advanced events and pre-equilibration
- Computation of integration-based prediction bands
- How is the architecture of the code and the most important commands?
- What are the most important fields of the global variable ar?
- What are the most important functions?
- Optimization algorithms available in the d2d-framework
- Objective function, likelhood and chi-square in the d2d framework
- How to set up priors?
- How to set up steady state constraints?
- How do I restart the solver upon a step input?
- How to deal with integrator tolerances?
- How to implement a bolus injection?
- How to implement washing and an injection?
- How to implement a moment ODE model?
- How to run PLE calculations on a Cluster?