Back to the main page.

Bug 362 - peer2peer: not starting the engine of one the peerslaves causes peercellfun to given an error when using stoponerror = false

Reported 2011-01-05 15:11:00 +0100
Modified 2011-03-31 14:13:59 +0200
Product: FieldTrip
Component: peer
Version: unspecified
Hardware: PC
Operating System: Windows
Importance: P1 normal
Assigned to: Robert Oostenveld
Depends on:
See also:

Arjen Stolk - 2011-01-05 15:11:27 +0100

Warning: error during remote execution: could not start the matlab engine > In peerget at 114 In peercellfun at 296 In peerrun at 250 submitted 3/87, collected 1/87, busy 0, speedup 0.0 ??? Error using ==> gt Matrix dimensions must agree. Error in ==> peercellfun at 447 sel = find(submitted & ~collected & (elapsed>estimated)); the specific call used is: peercellfun(@function, input, 'memreq', 2*(1024^3), 'timreq', .5*3600, 'StopOnError', false); Avoiding (short-term solution) this error can be done by distributing pauses (for example) to make the unlicensed peerslaves 'shut down'. peercellfun(@pause, repmat({20}, 1, 1000)); A long-term solution needs to be created.

Robert Oostenveld - 2011-03-01 20:42:31 +0100

This is solved by the explicit error that is now returned by the peerslave in case it cannot get a license (i.e. cannot engOpen).

Robert Oostenveld - 2011-03-31 14:13:59 +0200

changed the status of most recently resolved/fixed bugs into "CLOSED"