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 15:35:16 +0000
Organization: The Mathworks, Ltd.
Lines: 42
Message-ID: <ytwr5sefgln.fsf@uk-eellis-deb5-64.mathworks.co.uk>
References: <hcrjih$ep5$1@fred.mathworks.com> <ytwvdhqfude.fsf@uk-eellis-deb5-64.mathworks.co.uk> <hcrsl6$8d9$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 1257348916 20386 172.16.27.232 (4 Nov 2009 15:35:16 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 4 Nov 2009 15:35:16 +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:4VocMH25tChciV7fKTqR8+BMiuo=
Xref: news.mathworks.com comp.soft-sys.matlab:582415


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

>> 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.
>
> So, I've tried this code and found submission and start of Matlab at the
> working nodes. But there has been no workload for the whole running time I
> configured (20min).  Then I interrupted with strg+c and looked for the logfile
> but didn't get one.  Here some output:
>
> "Submitting task 1
> Job output will be written to: /home/fritzra/matlab/hello_test_files/Job16_Task1.out
> QSUB output: Your job 1858617 ("Job16.1") has been submitted
> Submitting task 2
> Job output will be written to: /home/fritzra/matlab/hello_test_files/Job16_Task2.out
> QSUB output: Your job 1858618 ("Job16.2") has been submitted
> ??? Error using ==> distcomp.abstractjob.wait at 45 
>>> s.getDebugLog( j )
> ??? No appropriate method, property, or field getDebugLog for class
> distcomp.genericscheduler."

Sorry, my mistake - I forgot that the generic scheduler doesn't have a
getDebugLog method - all it would do is print the contents of the output files,
like these:

/home/fritzra/matlab/hello_test_files/Job16_Task1.out

Is there anything interesting in there?

Cheers,

Edric.