Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Parallel toolbox "Couldn't find process 570"

Asked by Tyler on 23 Jun 2013

I'm setting up Matlab on a new linux laptop. When I try to use the parallel toolbox via

>> matlabpool 4

I get the following error:

Error using matlabpool (line 134)
The following error occurred while retrieving the name of process 570:
Matlab/toolbox/distcomp/bin/util/psname.sh: line 12: /bin/ps: No such file
or directory
Couldn't find process 570

What could be causing this? I've used this setup on several other computers without this problem.

5 Comments

Walter Roberson on 25 Jun 2013

Notice your ps is /usr/bin/ps but psname.sh is looking for /bin/ps

Is there a /bin/ps on your system? If not, then try linking /usr/bin/ps to /bin/ps

Tyler on 25 Jun 2013

/bin/ps is already linked to /usr/bin/ps.

[~]$ ls -al /bin
lrwxrwxrwx 1 root root 7 Jun   1 03:40 /bin -> usr/bin

Just typing "/bin/ps" at the prompt gives the normal ps output.

Walter Roberson on 25 Jun 2013

I do not have that toolbox so I cannot examine the code. I would have a look at Matlab/toolbox/distcomp/bin/util/psname.sh and in particular I would check what is going on on line 12 in that file.

Tyler

Products

No products are associated with this question.

0 Answers

Contact us