octave-maintainers
[Top][All Lists]
Advanced

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

Re: [octave-forge] (parallel) request help for testing at Windows


From: Olaf Till
Subject: Re: [octave-forge] (parallel) request help for testing at Windows
Date: Sun, 1 Dec 2019 18:48:44 +0100
User-agent: NeoMutt/20170113 (1.7.2)

On Sat, Nov 30, 2019 at 11:02:46PM +0100, "Markus Mützel" wrote:
> Am 30. November 2019 um 21:19 Uhr schrieb "Olaf Till"
> > At least we are one step further, the child process at least started
> > (and then exited with an error).
> >
> > I may have to let 'pkg load ...' called on the commandline of the
> > child process, but for now, could you insert a:
> >
> > pkg load parallel
> >
> > into your '.octaverc' file and re-run the test? The file may be named
> > slightly differently on Windows...
> >
> > > could not load variable
> > > error: could not initialize function handle
> > >
> >
> > These errors won't probably disappear by this, though...
> 
> That seems to have done the trick:
> 
> >> test("__test_rfeval__.cc", "verbose")
> >>>>> D:\Repositories\Octave\of-parallel\src\__test_rfeval__.cc
> ***** test
>  __test_rfeval__ (@ (x) sqrt (x), 1, @ (info, x) info.message);
>  assert (__test_rfeval__ (9, 1, @ (info, x) info.message){1}, 3);
>  assert (iscellstr (__test_rfeval__ ("a", 1, @ (info, x) info.message)));
> error: sqrt: argument must be numeric
> ***** test
>  __test_rfeval__ (@ (x) sqrt (x), 1, 1);
>  assert (__test_rfeval__ (9, 1, 1){1}, 3);
>  assert (__test_rfeval__ ("a", 1, 1), int32 (-1));
> error: sqrt: argument must be numeric
> PASSES 2 out of 2 tests
> >>
> 
> Markus

I'm delighted! Thanks very much for testing. So process creation and
process communication seem to work. I've not yet requested a test for
process termination, but this can probably be postponed till the rest
is ready, so that should be all for now.

Thanks again,

Olaf

-- 
public key id EAFE0591, e.g. on x-hkp://pool.sks-keyservers.net

Attachment: signature.asc
Description: PGP signature


reply via email to

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