Back to the main page.

Bug 1962 - qsubcellfun fails when function name is specified as string

Status CLOSED FIXED
Reported 2013-01-28 15:32:00 +0100
Modified 2019-08-10 12:02:56 +0200
Product: FieldTrip
Component: qsub
Version: unspecified
Hardware: PC
Operating System: Windows
Importance: P3 normal
Assigned to:
URL:
Tags:
Depends on:
Blocks:
See also:

Eelke Spaak - 2013-01-28 15:32:55 +0100

To reproduce: qsubcellfun('plus',{1 2 3},{1 2 3},'memreq',100e6,'timreq',10)


Robert Oostenveld - 2013-01-29 16:17:13 +0100

can reproduce with >> qsubcellfun('plus',{1 2 3},{1 2 3},'memreq',100e6,'timreq',10, 'backend', 'local') stacking 3 matlab jobs in each qsub job Error using cellfun function_handle output type is not currently implemented. Error in qsubcellfun (line 267) stackargin{1} = cellfun(@str2func, stackargin{1}); whereas >> qsubcellfun('plus',{1 2 3},{1 2 3},'memreq',100e6,'timreq',10, 'backend', 'local') works fine. Note that to reproduce I did not use qsub but local execution. Assuming that you get the same error, the problem is in the stacking. I guess it was introduced


Robert Oostenveld - 2013-01-29 16:18:39 +0100

(In reply to comment #1) (sorry, pressed enter too soon) ... when implementing the private/subfunction stuff for Tim.


Robert Oostenveld - 2013-01-29 16:24:24 +0100

This should fix it. mac001> svn commit Sending qsub/qsubcellfun.m Transmitting file data . Committed revision 7422.


Robert Oostenveld - 2019-08-10 12:02:56 +0200

This closes a whole series of bugs that have been resolved (either FIXED/WONTFIX/INVALID) for quite some time. If you disagree, please file a new issue describing the issue on https://github.com/fieldtrip/fieldtrip/issues.