Path: news.mathworks.com!not-for-mail
From: Edric M Ellis <eellis@mathworks.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Parallel configuration validation in SGE env
Date: Wed, 04 Nov 2009 10:37:49 +0000
Organization: The Mathworks, Ltd.
Lines: 24
Message-ID: <ytwvdhqfude.fsf@uk-eellis-deb5-64.mathworks.co.uk>
References: <hcrjih$ep5$1@fred.mathworks.com>
NNTP-Posting-Host: uk-eellis-deb5-64.mathworks.co.uk
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: fred.mathworks.com 1257331069 19013 172.16.27.232 (4 Nov 2009 10:37:49 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 4 Nov 2009 10:37:49 +0000 (UTC)
X-Face: $Ahg}Iylezql"r1WV1Me5&)ng"a4v%D>==KMs-elCfj"o}$bh-VOt7lVXgLWsC?9mZ`mINT
 G6PDvca;nrgs$lfcr0l1ew'N]>nXKl}m|Zpg>,6*gLp~-N0N2*+b.iwv=u>@R$L4SEG&NYUU;lSR@u
 IHphdAy
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)
Cancel-Lock: sha1:ZZ4GlQTuYkuxfXrpopl06dqCo9w=
Xref: news.mathworks.com comp.soft-sys.matlab:582318


"Rafael " <rafael.fritz@physik.uni-marburg.de> writes:

> I've been able to find the right configurations for the parallel Matlab
> computing on our linux cluster, using the sun grid engine SGE scheduler.  Now,
> if I try to validate these configurations the findResource part passes and
> also the parallel part and the matlabpool.  But there always occurs a failure
> with distributed jobs!  Why?  Thanks very much for your suggestions!

Very strange - usually if parallel and matlabpool jobs are working, that's the
hardest part. Is there any output from the validation that you could post here?
Or perhaps you could try something like this:

s = findResource( .... ); % get your scheduler
j = s.createJob;
j.createTask( @matlabroot, 1 );
j.createTask( @matlabroot, 1 );
j.submit;
j.wait(); s.getDebugLog( j )

and post the output.

Cheers,

Edric.