[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #45831] parallel package: parcellfun cannot ha
From: |
Olaf Till |
Subject: |
[Octave-bug-tracker] [bug #45831] parallel package: parcellfun cannot handle objects as return value |
Date: |
Thu, 27 Aug 2015 08:06:37 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0 Iceweasel/38.2.0 |
Follow-up Comment #3, bug #45831 (project octave):
For transfering values between processes, `parcellfun' uses the save/load
funtionality implemented in Octave separately for each type of value.
The classdef object type is still rather new, and save/load does not seem to
be implemented for it as yet (Octave-4.0.0):
octave:1> a = cin(2)
a =
<object cin>
octave:2> save ("-binary", "test.dat", "a")
error: octave_base_value::save_binary(): wrong type argument 'object'
...
Trying to rewrite parcellfun to use threads, not processes, would be a major
effort, and without a strong reason probably nobody will attempt it. So as
long as the above `save ...' does not work, `parcellfun' has no chance to work
with classdef objects.
So that's rather a bug in Octave than in the `parallel' package. But I'd guess
JWE already knows about this issue.
Olaf
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?45831>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #45831] parallel package: parcellfun cannot handle objects as return value, anonymous, 2015/08/26
- [Octave-bug-tracker] [bug #45831] parallel package: parcellfun cannot handle objects as return value, Carnë Draug, 2015/08/26
- [Octave-bug-tracker] [bug #45831] parallel package: parcellfun cannot handle objects as return value, A.R. Burgers, 2015/08/27
- [Octave-bug-tracker] [bug #45831] parallel package: parcellfun cannot handle objects as return value,
Olaf Till <=
- [Octave-bug-tracker] [bug #45831] parallel package: parcellfun cannot handle objects as return value, Philip Nienhuis, 2015/08/27
- [Octave-bug-tracker] [bug #45831] parallel package: parcellfun cannot handle objects as return value, Mike Miller, 2015/08/27
- [Octave-bug-tracker] [bug #45831] parallel package: parcellfun cannot handle objects as return value, Mike Miller, 2015/08/27
- [Octave-bug-tracker] [bug #45831] parallel package: parcellfun cannot handle objects as return value, Philip Nienhuis, 2015/08/27
- [Octave-bug-tracker] [bug #45831] parallel package: parcellfun cannot handle objects as return value, Mike Miller, 2015/08/27