[torqueusers] torque with Matlab

Naveed Near-Ansari naveed at caltech.edu
Wed Jun 24 11:26:16 MDT 2009


the qsub filter issue was that the matlab pbs integration script uses
sed to parse some things.  When using the qsub_filter example which
contains a read command, i needed to add the -r flag. not a big deal,
but took a little while to figure out.

Naveed

On Wed, 2009-06-24 at 09:38 +0000, Anil Thapa wrote:
> Hello Naveed,
> 
> Thanks, yes I am using general purpose cluster for mpi, matlab and some 
> other applications.
> 
> Naveed Near-Ansari wrote:
> > We are using it on a general use cluster, not just for matlab, so we use
> > torque/maui as the RM/scheduler.  I do not have a step by step doc, but
> > what i sent will get you most of the way there.  I did have some trouble
> > when implementing a qsub filter, so if you use this function, keep that
> > in mind (though i figured it out and reimplemented).
> >   
> Thanks for this info for qsub filter.
> > Are you using a general purpose cluster for mpi and matlab, or single
> > use only for matlab?  If it is only for matlab, the built in scheduler
> > would be simpler, but for a multipurpose cluster, you will likely need
> > to use torque or something else seperate.
> >
> > Mathworks was actually pretty good at helping deal with the issues i did
> > have.
> >
> > We did find we had to increase our Parallel toolbox licenses was it was
> > actually in production use since it does check that out when doing the
> > job submission from within matlab
> >
> > Naveed
> >   
> 
> 
> Regards,
> Anil
> 
> > On Mon, 2009-06-22 at 21:19 +0000, Anil Thapa wrote:
> >   
> >> Thanks, Matlab distribution comes with its own scheduler - I was 
> >> thinking whether I should use that or the torque. I have hands on with 
> >> torque. I am just in pre-phase to deploy MDCS. Do you have any step by 
> >> step doc from your deployments ?
> >>
> >> Anil
> >>
> >>
> >>
> >> Naveed Near-Ansari wrote:
> >>     
> >>> Yes, we have it working. How you do it depends on whether it is a shared
> >>> filesystem or not.  It is much easier if it is and is what we are doing
> >>>  
> >>> you will need cp the pbs integration scripts from
> >>> MATLAB_ROOT//toolbox/distcomp/examples/integration/pbs/ to
> >>> MATLAB_ROOT//toolbox/local.  you will also need to go to the parallel
> >>> menu in matlab and set up a configuration for it.
> >>>
> >>> use the torque default, set your matlab root, set the DataLocation to ~,
> >>> set RshCommand to ssh, and set the maximum number od procs to run.  You
> >>> should then be able to run validation and see if it works.
> >>>
> >>> Naveed
> >>>
> >>> On Sun, 2009-06-21 at 20:49 +0000, Anil Thapa wrote:
> >>>   
> >>>       
> >>>> Hello all,
> >>>>
> >>>> Has anyone has successful integration torque with Matlab distribution 
> >>>> cluster ? Any tips would help.
> >>>>
> >>>> Anil
> >>>>
> >>>> _______________________________________________
> >>>> torqueusers mailing list
> >>>> torqueusers at supercluster.org
> >>>> http://www.supercluster.org/mailman/listinfo/torqueusers
> >>>>
> >>>>     
> >>>>         
> >>>   
> >>>       
> >
> >   
> 



More information about the torqueusers mailing list