[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #58811] [octave forge] (parallel) parcellfun m
From: |
Muhali |
Subject: |
[Octave-bug-tracker] [bug #58811] [octave forge] (parallel) parcellfun modifies load path |
Date: |
Thu, 23 Jul 2020 12:56:17 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0 |
URL:
<https://savannah.gnu.org/bugs/?58811>
Summary: [octave forge] (parallel) parcellfun modifies load
path
Project: GNU Octave
Submitted by: muhali
Submitted on: Thu 23 Jul 2020 09:56:15 AM PDT
Category: Octave Forge Package
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Release: 5.2.0
Discussion Lock: Any
Operating System: GNU/Linux
_______________________________________________________
Details:
Here is an example demonstrating that the parcellfun function modifies the
load path:
pkg load parallel
d = tempname ;
mkdir(d) ;
addpath(d) ;
p1 = length(path)
p2 = cellfun(@(i) length(path), {1})
p3 = parcellfun(1, @(i) length(path), {1})
If the last three lines are replaced by
p1 = regexp(path, d)
p2 = cellfun(@(i) regexp(path, i), {d})
p3 = parcellfun(1, @(i) regexp(path, i), {d})
the following error message is returned:
error: parcellfun: =: nonconformant arguments (op1 is 1x1, op2 is 1x7)
error: called from
parcellfun at line 209 column 23
I also noticed that with each (parallel) function call the octave init file
(~/.octaverc) is executed.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?58811>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #58811] [octave forge] (parallel) parcellfun modifies load path,
Muhali <=