bugGNU Octave - Bugs: bug #59394, [octave forge] (parallel) integers...

 
 

bug #59394: [octave forge] (parallel) integers returned instead of error

Submitter:  Olaf Till <i7tiol>
Submitted:  Sun 01 Nov 2020 04:26:37 PM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Missed Error or Warning
Status:  Invalid / Not an Octave Bug Assigned to:  i7tiol
Originator Name:  Muhali <muhali> Open/Closed:  * Closed
Release:  * other Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 02 Nov 2020 08:11:18 PM UTC, comment #3: 

Assuming that the problem was caused by not having the last revision installed, I'll close this report. If necessary it can be re-opened.

Olaf Till <i7tiol>
Group Member
Sun 01 Nov 2020 05:37:12 PM UTC, comment #2: 

It turned out that for Octave-6.0.... I made a mistake and had not installed the current development revision of the parallel package
(https://sourceforge.net/p/octave/parallel/ci/039d79e52726414572bd043a728e12b310f6b9cd/).

With the above revision of 'parallel', the issue is not present even with Octave-6.0...., i.e. an error is thrown as expected:

octave:1> pkg load parallel
octave:2> w = parcellfun(1, @foo, {1, 2})
execution error
error: __parcellfun_get_next_result__: could not receive result
error: called from
    parcellfun at line 201 column 16
octave:3>


So, as in bug #59328, @OP: Which revision of 'parallel' did you use and how did you install it?

Olaf Till <i7tiol>
Group Member
Sun 01 Nov 2020 04:42:40 PM UTC, comment #1: 

The issue is present with Octave between 6.0.90 and 6.0.92, used Octave changeset was a927fe30358d. The issue is not present if 'parallel' was compiled against Octave 5.2.0.

Olaf Till <i7tiol>
Group Member
Sun 01 Nov 2020 04:26:37 PM UTC, original submission:  

Split off from bug report 59328.

Integer returned and no error reported by parcellfun in some cases in which an error is expected.

Example with calling a function which is not present (foo()):

octave:1> pkg load parallel
octave:2> w = parcellfun(1, @foo, {1, 2})
w =

  -1  -1

octave:3>


Olaf Till <i7tiol>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by i7tiol (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-11-02 i7tiol StatusConfirmed Invalid / Not an Octave Bug
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code