octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #43231] error in parcellfun: empty file-id


From: Moritz
Subject: [Octave-bug-tracker] [bug #43231] error in parcellfun: empty file-id
Date: Tue, 16 Sep 2014 07:46:55 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36

URL:
  <http://savannah.gnu.org/bugs/?43231>

                 Summary: error in parcellfun: empty file-id
                 Project: GNU Octave
            Submitted by: moritzk
            Submitted on: Di 16 Sep 2014 07:46:53 GMT
                Category: Octave Forge Package
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Crash
                  Status: None
             Assigned to: None
         Originator Name: moritzk
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.8.1
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Hello,

I am using the octave package parallel and have had increasingly
problems. Quite a lot of my last test runs aborted with the following error:

parcellfun: 9/13 jobs doneerror: invalid conversion from real matrix to real
scalar
error: file id must be a file object, std::string, or integer value
warning: broken pipe
warning: broken pipe
warning: broken pipe
warning: broken pipe
error: called from:
error: /home/hpc/t1313/di34koy/octave/parallel-2.2.0/parcellfun.m at line 334,
column 11

The error is not replicable (running the same program again won't
necessarily produce the error at the same iteration) and has appeared in
different pipes.

I use octave 3.8.1 and parallel 2.2.0. The problem might be, that I am running
several octave processes each of which generates subprocesses using parallel.
As a concrete example I am starting 3 octave processes, each of which forks
into 13 subprocesses on a 32 core engine. Ok stupid of me, that's not very
efficient somehow I had in mind that I have more cores available. Anyway it
should not lead to a crash.

The function pararrayfun is called like this:

p.ArmijoBeta = 0.5;
p.nArmijoProc = 13;
...
     parTs = deltaT * p.ArmijoBeta.^(0 : p.nArmijoProc - 1);
     errorHandler = @(s, curT) deal (NA, s);
     handler = @(curT) getCostForStep (curT, input);

     [output] = pararrayfun (p.nArmijoProc, handler, parTs, ...
                                   "UniformOutput", false, ...
                                   "ErrorHandler", errorHandler);


Thanks in advance for any help!




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?43231>

_______________________________________________
  Nachricht gesendet von/durch Savannah
  http://savannah.gnu.org/




reply via email to

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