This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| matlab_on_cluster [2021/06/24 07:15] – lenocil | matlab_on_cluster [2021/06/24 07:19] (current) – [Matlab on multi-processor machines] lenocil | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| The aim of this short guide is to get you started with using matlab in a multi-processor environment. The goal is to instruct matlab to use a `pool' of '' | The aim of this short guide is to get you started with using matlab in a multi-processor environment. The goal is to instruct matlab to use a `pool' of '' | ||
| - | :!: Currently matlab2020b | + | |matlab |
| - | + | |Before trying to parallelize any codes, please make sure your code works as expected on one processor.| | |
| - | :!: Before trying to parallelize any codes, please make sure your code works as expected on one processor. | + | |matlab versions prior to 2007 do not have the features discussed here.| |
| - | + | ||
| - | :!: matlab versions prior to 2007 do not have the features discussed here. | + | |
| ===== Parallel Computing Toolbox aka matlabpool ===== | ===== Parallel Computing Toolbox aka matlabpool ===== | ||
| Line 60: | Line 58: | ||
| In matlab2010 the max number of workers is set to 8 where as that limit ip brought to 12 in matlab R2011b. | In matlab2010 the max number of workers is set to 8 where as that limit ip brought to 12 in matlab R2011b. | ||
| - | If you wanted to use 64 workers (for instance on one of the maris nodes), you will need a 64-node MDCS licence | + | If you wanted to use 64 workers (for instance on one of the maris nodes), you will need a 64-node MDCS licence ((Leiden University has an unlimited access license for everybody, see https:// |
| - | (you can buy it through our procurement office, email '' | + | and you will also need to create a `scheduler' |
| To modify the local configuration | To modify the local configuration | ||