From: Jorian on
"Raymond Norris" <raymond.norris(a)mathworks.com> wrote in message <hgr0ol$qtf$1(a)fred.mathworks.com>...
> Sam,
>
> The TORQUE scheduler object has two properties: ResourceTemplate and SubmitArguments. Either of these should address most of your requirements. In the case of nodes and ppn, I would just assign as follows:
>
> s = findResource();
> % Cluster has 2 nodes and 4 processors per node
> s.ResourceTemplate = '-l nodes=2:ppn=4';
>
> Alternatively, if you have a TORQUE configuration, you can specify the ResourceTemplate there as well.
>
> Raymond
>
> "Lee Samuel Finn" <lsfinn+matlab(a)psu.edu> wrote in message <hgepr5$db9$1(a)fred.mathworks.com>...
> > Hi,
> >
> > I'm working on a cluster whose schedule requires separate specification of the number of nodes to be assigned to a job, and the number of cores per node to be allocated to the job. (The scheduler is torque and the syntax is "-l nodes=X:ppn=Y", where X is the number of nodes and Y is the cores per node.)
> >
> > I would like to be able to submit to this cluster parallel jobs that take advantage of the multi-core nodes. To do so, however, it seems I need to be able to specify separately the number of workers, cores and nodes. Is there a way to do so?
> >
> > Thanks in advance for any and all help that you can provide.
> >
> > Best,
> >
> > Sam

Thanks Raymond!

Best regards, Jorian Seokaner!

http://www.mathworks.com/matlabcentral/newsreader/author/126323