Running large numbers of Matlab jobs is complicated, because each concurrent job ordinarily requires a separate licence, and only a limited number of licenses are available locally. To get around this, you can compile your Matlab job, as described below, and the compiled code will then not use up the licenses. Alternatively, you can try running your code under Octave; most Matlab code that doesn't use toolboxes should run as-is. Or you can use other numerical packages, such as R or SciPy (for Python).

The ECDF machine eddie currently (10/2007) has a trial version of matlab, but a full version is planned to be installed.

- General information on how to submit a job can be found on: Matlab on EDDIE
- If you need to run a job that requires more than 2GB of memory, use @sgeMemSubmitFcn rather than @sgeSubmitFcn e.g memory_slots = '2'; set(sched, 'SubmitFcn', {@sgeMemSubmitFcn, time_limit, memory_slots});
- If you want to check whether your job finished with errors look under the directory where you store your log files. Find the job directory and load the out.mat file for a given task. This will load the errorstruct structure, which holds the relevant information. e.g. in matlab load $logdir/Job1/Task1.out.mat
- If you have many functions to run within a job, specify 'PathDependencies' rather than 'FileDependencies'. e.g. file_dep ={'dir1' 'dir2'}; createJob(sched,'PathDependencies',file_dep);
- UPDATE: Eddie is now accessible for NFS mount to DICE machines. Please contact dice support for access.

- testfunction.sub: A sample Condor submit file for a compiled Matlab program

- slides.pdf: Parallel Computing with MPI

- matEddie.ppt: Running matlab on Eddie

I | Attachment | Action | Size | Date | Who | Comment |
---|---|---|---|---|---|---|

ppt | matEddie.ppt | manage | 80.0 K | 31 Oct 2007 - 17:37 | Main.s0234516 | Running matlab on Eddie |

slides.pdf | manage | 273.6 K | 31 Oct 2007 - 12:09 | Main.s0565918 | Parallel Computing with MPI, slides from Lawrence Murray | |

sub | testfunction.sub | manage | 2.7 K | 30 Oct 2007 - 21:58 | JimBednar | A sample Condor submit file for a compiled Matlab program |

Topic revision: r4 - 12 Nov 2007 - 14:27:26 - Main.s0234516

Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.

Ideas, requests, problems regarding TWiki? Send feedback

This Wiki uses Cookies

Ideas, requests, problems regarding TWiki? Send feedback

This Wiki uses Cookies