help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problem with multicore package


From: Martijn
Subject: Re: problem with multicore package
Date: Sat, 3 Jul 2010 11:57:28 +0200

Additional info: the master is running the jobs nicely, but a slave
reads the .mat file and fails with the message shwon below. Since the
master is running, the mat files are correct.
I tried this with the jobs in a local dir and in aan sshfs mounted
remote dir. No difference here (as it should be).

with kind regards,

Martijn


On Sat, 3 Jul 2010 00:49:51 +0200
Martijn <address@hidden> wrote:

> Today I did my first calculations with the multicore package. Since I
> used only the two cores of my own laptop, the results were not too
> spectacular but nevertheless very welcome.
> 
> I am now trying to go a step further, but in the slave session I get
> the message: "Warning: Either variable 'functionHandle' or
> 'parameters' not existing after loading file parameter_xxx.mat"
> 
> A few lines from my script
> 
> F = @myfunc;
> <code for creating a structure 'p' of parameter structures>
> result = startmulticoremaster(F, p, '/tmp/mydir');
> 
> In the slave session(s) I just run "startmulticoreslave('/tmp/mydir')
> p{1} = 
> {
>   [1] = 25
>   [2] = 0
>   [3] = 12500
> }
> F(p{1}) gives the expected result
> 
> If I look in the parameter_xxx.mat file, I see all sane values for
> both the 'functionHandle' and the 'parameters'. 
> 
> What can be wrong here?
> 
> with kind regards,
> 
> Martijn
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://www-old.cae.wisc.edu/mailman/listinfo/help-octave


reply via email to

[Prev in Thread] Current Thread [Next in Thread]