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.
thanks for the reply. unfortunately i havent managed to get this to work on xgrid. it would've been superb for processing simulations.
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.
this might just be what i'm looking for! does this work on xgrid on mac osx server?
Remove duplicate files.
Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.