Code covered by the BSD License  

Highlights from
Submit MATLAB functions to a cluster

Be the first to rate this file! 22 Downloads (last 30 days) File Size: 13.9 KB File ID: #24512

Submit MATLAB functions to a cluster

by

 

22 Jun 2009 (Updated )

Run MATLAB functions on a gridengine/torque/PBS cluster

| Watch this File

File Information
Description

Using qsub_submit_cm, one can submit a MATLAB computation into a cluster. The inputs are passed on a shared network drive, and the outputs are collected there as well. Optionally, a callback can be executed on the submit host once computation has finished.

In http://www.mathworks.com/matlabcentral/fileexchange/24545, this code is optionally used to demonstrate how MATLAB handle objects, events and timers can be used to construct a scheduler that automatically resolves dependencies between computations.

MATLAB release MATLAB 7.8 (R2009a)
Other requirements Linux/UNIX only - modifications needed for Windows. Cluster software not included. Shared network storage required - same paths on all cluster nodes.
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (3)
08 Oct 2009 Jveer

thanks for the reply. unfortunately i havent managed to get this to work on xgrid. it would've been superb for processing simulations.

23 Jun 2009 Volkmar Glauche

Hi Jveer,
the MATLAB code should work on mac osx. However, you will need to modify qsub_submit_cm.m and qsub_check_finish.m. You will have to replace the qsub and qstat calls with their xgrid equivalents.
In qsub_submit_cm, you will have to replace the qsub command line call with the appropriate call to "xgrid ... -job submit ...", and in qsub_check_finish.m you would replace the qstat calls with "xgrid ... -job status ..." or something like this.
I do not have any experience with mac osx or xgrid, but it should be fairly straightforward to adapt these calls. If you have any questions, feel free to ask. If you get this code to run, it would be nice to let me know about the appropriate xgrid commands.

22 Jun 2009 Jveer

this might just be what i'm looking for! does this work on xgrid on mac osx server?

Updates
22 Jun 2009

Remove duplicate files.

25 Jun 2009

Updated documentation.

Contact us