Why do I receive a segmentation violation when using FINDOBJ to find a Distributed Computing job created using the Distributed Computing Toolbox 1.0 (R14SP1+)?

1 view (last 30 days)
When I use the FINDOBJ function
findobj(job,Tag,jobnumber');
to locate a job created using the Distributed Computing Toolbox 1.0 (R14SP1+), I receive the following error:
Assertion failed: hdr->in_use != 0, at line 736 of file ".\memmgr\memcache.cpp".
Attempt to free previously freed memory
This error is then followed by a segmentation violation.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
The Distributed Computing Toolbox 1.0 (R14SP1+) does not support finding jobs or tasks through the FINDOBJ function. Below are the supported methods for finding jobs and tasks:
Given an array of jobmanagers, "jm", each of which contains a number of jobs, to find the one with tag 'thisTag', you would use the following command:
jobs = findJob (jm, 'Tag', 'thisTag');
Similarly, to find a task with tag t from within an array of jobs, you would use the following command:
tasks = findTask (jobs, 'Tag', 'thisTag');

More Answers (0)

Categories

Find more on MATLAB Parallel Server in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!