[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #58238] Octave forge parallel 4.0.0 can't find
From: |
Mark van Rossum |
Subject: |
[Octave-bug-tracker] [bug #58238] Octave forge parallel 4.0.0 can't find local functions |
Date: |
Fri, 24 Apr 2020 18:13:38 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.122 Safari/537.36 |
URL:
<https://savannah.gnu.org/bugs/?58238>
Summary: Octave forge parallel 4.0.0 can't find local
functions
Project: GNU Octave
Submitted by: cosine
Submitted on: Fri 24 Apr 2020 10:13:37 PM UTC
Category: Octave Forge Package
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Unexpected Error
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Release: 5.2.0
Discussion Lock: Any
Operating System: GNU/Linux
_______________________________________________________
Details:
Hi
The latest iteration of the parallel forge package breaks scripts in which
the function to be called is defined in the same file.
A full script that shows the issue is attached, but the basic structure of the
file is:
function y=fun(x)
y=x
end
pararrayfun(nproc,@(x)fun(x),x_ar)
error: 'fun' undefined
Note 1, this worked ok in version 3.1.3.
Note 2, defining the function in separate file solves the problem.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?58238>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #58238] Octave forge parallel 4.0.0 can't find local functions,
Mark van Rossum <=