Parallel toolbox "Couldn't find process 570"

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 件のコメント

Walter Roberson
Walter Roberson 2013 年 6 月 23 日
Please check to see if your linux has /bin/ps and if it does not, then at the linux prompt please check what
which ps
indicates.
Tyler
Tyler 2013 年 6 月 24 日
ps works fine.
[~]$ which ps
/usr/bin/ps
I assume Matlab is using ps to get the process id of something, but that something isn't showing up in the ps output. At least, not in the expected format.
Walter Roberson
Walter Roberson 2013 年 6 月 25 日
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
Tyler 2013 年 6 月 25 日
/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
Walter Roberson 2013 年 6 月 25 日
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.

サインインしてコメントする。

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeGet Started with MATLAB についてさらに検索

質問済み:

2013 年 6 月 23 日

Community Treasure Hunt

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

Start Hunting!

Translated by