[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #41148] parallel package: fails to build in wi
From: |
Tatsuro MATSUOKA |
Subject: |
[Octave-bug-tracker] [bug #41148] parallel package: fails to build in windows/mingw |
Date: |
Sun, 01 May 2016 12:08:48 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 10.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.112 Safari/537.36 |
Follow-up Comment #26, bug #41148 (project octave):
>> dbstop parcellfun
ans = 81
>> res = pararrayfun (4, @ (x) x, 1:15)
stopped in C:OctaveOctave-4.0.2shareoctavepackagesparallel-3.1.0parcellfun.m
at line 81
81: persistent random_func_list = address@hidden, @randn, @rande, @randp,
@randg};
debug> dbstep
stopped in C:OctaveOctave-4.0.2shareoctavepackagesparallel-3.1.0parcellfun.m
at line 83
83: if (nargin < 3 || ! isscalar (nproc) || nproc <= 0)
debug> dbstep
stopped in C:OctaveOctave-4.0.2shareoctavepackagesparallel-3.1.0parcellfun.m
at line 87
87: if (ischar (fun))
debug> dbstep
stopped in C:OctaveOctave-4.0.2shareoctavepackagesparallel-3.1.0parcellfun.m
at line 89
89: elseif (! isa (fun, "function_handle"))
debug> dbstep
stopped in C:OctaveOctave-4.0.2shareoctavepackagesparallel-3.1.0parcellfun.m
at line 94
94: chunks_per_proc, cumfunc] = parcellfun_opts ("parcellfun", varargin);
debug> dbstep
stopped in C:OctaveOctave-4.0.2shareoctavepackagesparallel-3.1.0parcellfun.m
at line 96
96: accumulate = ifelse (isempty (cumfunc), false, true);
debug> dbstep
stopped in C:OctaveOctave-4.0.2shareoctavepackagesparallel-3.1.0parcellfun.m
at line 98
98: args = varargin(1:nargs);
debug> dbstep
stopped in C:OctaveOctave-4.0.2shareoctavepackagesparallel-3.1.0parcellfun.m
at line 99
99: if (! all (cellfun ("isclass", args, "cell")))
debug> dbstep
stopped in C:OctaveOctave-4.0.2shareoctavepackagesparallel-3.1.0parcellfun.m
at line 103
103: if (nargs == 0)
debug> dbstep
stopped in C:OctaveOctave-4.0.2shareoctavepackagesparallel-3.1.0parcellfun.m
at line 105
105: elseif (nargs > 1)
debug> dbstep
stopped in C:OctaveOctave-4.0.2shareoctavepackagesparallel-3.1.0parcellfun.m
at line 112
112: njobs = numel (args{1});
debug> dbstep
stopped in C:OctaveOctave-4.0.2shareoctavepackagesparallel-3.1.0parcellfun.m
at line 114
114: if (chunks_per_proc > 0 && chunks_per_proc < njobs / nproc)
debug> dbstep
stopped in C:OctaveOctave-4.0.2shareoctavepackagesparallel-3.1.0parcellfun.m
at line 144
144: nproc = min (nproc, numel (args{1}));
debug> dbstep
stopped in C:OctaveOctave-4.0.2shareoctavepackagesparallel-3.1.0parcellfun.m
at line 147
147: cmdr = cmdw = resr = resw = zeros (nproc, 1);
debug> dbstep
stopped in C:OctaveOctave-4.0.2shareoctavepackagesparallel-3.1.0parcellfun.m
at line 148
148: err = 0;
debug> dbstep
stopped in C:OctaveOctave-4.0.2shareoctavepackagesparallel-3.1.0parcellfun.m
at line 149
149: for i = 1:nproc
debug> dbstep
stopped in C:OctaveOctave-4.0.2shareoctavepackagesparallel-3.1.0parcellfun.m
at line 151
151: [cmdr(i), cmdw(i), err, msg] = pipe ();
debug> dbstep
stopped in C:OctaveOctave-4.0.2shareoctavepackagesparallel-3.1.0parcellfun.m
at line 152
152: if (err)
debug> dbstep
stopped in C:OctaveOctave-4.0.2shareoctavepackagesparallel-3.1.0parcellfun.m
at line 156
156: [resr(i), resw(i), err, msg] = pipe ();
debug> dbstep
stopped in C:OctaveOctave-4.0.2shareoctavepackagesparallel-3.1.0parcellfun.m
at line 157
157: if (err)
debug> dbstep
stopped in C:OctaveOctave-4.0.2shareoctavepackagesparallel-3.1.0parcellfun.m
at line 151
151: [cmdr(i), cmdw(i), err, msg] = pipe ();
debug> dbstep
stopped in C:OctaveOctave-4.0.2shareoctavepackagesparallel-3.1.0parcellfun.m
at line 152
152: if (err)
debug> dbstep
stopped in C:OctaveOctave-4.0.2shareoctavepackagesparallel-3.1.0parcellfun.m
at line 156
156: [resr(i), resw(i), err, msg] = pipe ();
debug> dbstep
stopped in C:OctaveOctave-4.0.2shareoctavepackagesparallel-3.1.0parcellfun.m
at line 157
157: if (err)
debug> dbstep
stopped in C:OctaveOctave-4.0.2shareoctavepackagesparallel-3.1.0parcellfun.m
at line 151
151: [cmdr(i), cmdw(i), err, msg] = pipe ();
debug> dbstep
stopped in C:OctaveOctave-4.0.2shareoctavepackagesparallel-3.1.0parcellfun.m
at line 152
152: if (err)
debug> dbstep
stopped in C:OctaveOctave-4.0.2shareoctavepackagesparallel-3.1.0parcellfun.m
at line 156
156: [resr(i), resw(i), err, msg] = pipe ();
debug> dbstep
stopped in C:OctaveOctave-4.0.2shareoctavepackagesparallel-3.1.0parcellfun.m
at line 157
157: if (err)
debug> dbstep
stopped in C:OctaveOctave-4.0.2shareoctavepackagesparallel-3.1.0parcellfun.m
at line 151
151: [cmdr(i), cmdw(i), err, msg] = pipe ();
debug> dbstep
stopped in C:OctaveOctave-4.0.2shareoctavepackagesparallel-3.1.0parcellfun.m
at line 152
152: if (err)
debug> dbstep
stopped in C:OctaveOctave-4.0.2shareoctavepackagesparallel-3.1.0parcellfun.m
at line 156
156: [resr(i), resw(i), err, msg] = pipe ();
debug> dbstep
stopped in C:OctaveOctave-4.0.2shareoctavepackagesparallel-3.1.0parcellfun.m
at line 157
157: if (err)
debug> dbstep
stopped in C:OctaveOctave-4.0.2shareoctavepackagesparallel-3.1.0parcellfun.m
at line 161
161: if (! err)
debug> dbstep
stopped in C:OctaveOctave-4.0.2shareoctavepackagesparallel-3.1.0parcellfun.m
at line 163
163: [statr, statw, err, msg] = pipe ();
debug> dbstep
stopped in C:OctaveOctave-4.0.2shareoctavepackagesparallel-3.1.0parcellfun.m
at line 165
165: if (err)
debug> dbstep
stopped in C:OctaveOctave-4.0.2shareoctavepackagesparallel-3.1.0parcellfun.m
at line 169
169: iproc = 0; # the parent process
debug> dbstep
stopped in C:OctaveOctave-4.0.2shareoctavepackagesparallel-3.1.0parcellfun.m
at line 170
170: nsuc = 0; # number of processes succesfully forked.
debug> dbstep
stopped in C:OctaveOctave-4.0.2shareoctavepackagesparallel-3.1.0parcellfun.m
at line 172
172: fflush (stdout); # prevent subprocesses from inheriting buffered
output
debug> dbstep
stopped in C:OctaveOctave-4.0.2shareoctavepackagesparallel-3.1.0parcellfun.m
at line 175
175: seed = rand;
debug> dbstep
stopped in C:OctaveOctave-4.0.2shareoctavepackagesparallel-3.1.0parcellfun.m
at line 177
177: pids = zeros (nproc, 1);
debug> dbstep
stopped in C:OctaveOctave-4.0.2shareoctavepackagesparallel-3.1.0parcellfun.m
at line 180
180: for i = 1:nproc
debug> dbstep
stopped in C:OctaveOctave-4.0.2shareoctavepackagesparallel-3.1.0parcellfun.m
at line 181
181: [pid, msg] = fork ();
debug> dbstep
stopped in C:OctaveOctave-4.0.2shareoctavepackagesparallel-3.1.0parcellfun.m
at line 182
182: if (pid > 0)
debug> dbstep
stopped in C:OctaveOctave-4.0.2shareoctavepackagesparallel-3.1.0parcellfun.m
at line 190
190: elseif (pid == 0)
debug> dbstep
stopped in C:OctaveOctave-4.0.2shareoctavepackagesparallel-3.1.0parcellfun.m
at line 194
194: elseif (pid < 0)
debug> dbstep
stopped in C:OctaveOctave-4.0.2shareoctavepackagesparallel-3.1.0parcellfun.m
at line 196
196: err = 1;
debug> dbstep
stopped in C:OctaveOctave-4.0.2shareoctavepackagesparallel-3.1.0parcellfun.m
at line 197
197: break;
debug> dbstep
stopped in C:OctaveOctave-4.0.2shareoctavepackagesparallel-3.1.0parcellfun.m
at line 201
201: if (iproc)
debug> dbstep
stopped in C:OctaveOctave-4.0.2shareoctavepackagesparallel-3.1.0parcellfun.m
at line 216
216: fclose (statw);
debug> dbstep
stopped in C:OctaveOctave-4.0.2shareoctavepackagesparallel-3.1.0parcellfun.m
at line 217
217: for i = 1:nproc
debug> dbstep
stopped in C:OctaveOctave-4.0.2shareoctavepackagesparallel-3.1.0parcellfun.m
at line 219
219: fclose (cmdr (i));
debug> dbstep
stopped in C:OctaveOctave-4.0.2shareoctavepackagesparallel-3.1.0parcellfun.m
at line 220
220: fclose (resw (i));
debug> dbstep
stopped in C:OctaveOctave-4.0.2shareoctavepackagesparallel-3.1.0parcellfun.m
at line 219
219: fclose (cmdr (i));
debug> dbstep
stopped in C:OctaveOctave-4.0.2shareoctavepackagesparallel-3.1.0parcellfun.m
at line 220
220: fclose (resw (i));
debug> dbstep
stopped in C:OctaveOctave-4.0.2shareoctavepackagesparallel-3.1.0parcellfun.m
at line 219
219: fclose (cmdr (i));
debug> dbstep
stopped in C:OctaveOctave-4.0.2shareoctavepackagesparallel-3.1.0parcellfun.m
at line 220
220: fclose (resw (i));
debug> dbstep
stopped in C:OctaveOctave-4.0.2shareoctavepackagesparallel-3.1.0parcellfun.m
at line 219
219: fclose (cmdr (i));
debug> dbstep
stopped in C:OctaveOctave-4.0.2shareoctavepackagesparallel-3.1.0parcellfun.m
at line 220
220: fclose (resw (i));
debug> dbstep
stopped in C:OctaveOctave-4.0.2shareoctavepackagesparallel-3.1.0parcellfun.m
at line 223
223: if (nsuc)
debug> dbstep
stopped in C:OctaveOctave-4.0.2shareoctavepackagesparallel-3.1.0parcellfun.m
at line 232
232: error ("parcellfun: failed to fork processes");
debug> dbstep
error: parcellfun: failed to fork processes
error: called from
parcellfun at line 232 column 7
pararrayfun at line 85 column 26
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?41148>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #41148] parallel package: fails to build in windows/mingw, Olaf Till, 2016/05/01
- [Octave-bug-tracker] [bug #41148] parallel package: fails to build in windows/mingw, Tatsuro MATSUOKA, 2016/05/01
- [Octave-bug-tracker] [bug #41148] parallel package: fails to build in windows/mingw, Tatsuro MATSUOKA, 2016/05/01
- [Octave-bug-tracker] [bug #41148] parallel package: fails to build in windows/mingw, Olaf Till, 2016/05/01
- [Octave-bug-tracker] [bug #41148] parallel package: fails to build in windows/mingw, Tatsuro MATSUOKA, 2016/05/01
- [Octave-bug-tracker] [bug #41148] parallel package: fails to build in windows/mingw, Tatsuro MATSUOKA, 2016/05/01
- [Octave-bug-tracker] [bug #41148] parallel package: fails to build in windows/mingw,
Tatsuro MATSUOKA <=
- [Octave-bug-tracker] [bug #41148] parallel package: fails to build in windows/mingw, Olaf Till, 2016/05/01
- [Octave-bug-tracker] [bug #41148] parallel package: fails to build in windows/mingw, Tatsuro MATSUOKA, 2016/05/01
- [Octave-bug-tracker] [bug #41148] parallel package: fails to build in windows/mingw, Tatsuro MATSUOKA, 2016/05/01
- [Octave-bug-tracker] [bug #41148] parallel package: fails to build in windows/mingw, Mike Miller, 2016/05/01
- [Octave-bug-tracker] [bug #41148] parallel package: fails to build in windows/mingw, Tatsuro MATSUOKA, 2016/05/01
- [Octave-bug-tracker] [bug #41148] parallel package: fails to build in windows/mingw, Olaf Till, 2016/05/04