Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

From: Galen M. Shipman (gshipman_at_[hidden])
Date: 2006-03-16 09:44:51


Thanks for the tip on this issue, we will be adding it to the FAQ

- Galen

On Mar 15, 2006, at 4:29 PM, Emanuel Ziegler wrote:

> Hi Davide!
> You are using the -prefix option. I guess this is due to the fact
> that You
> cannot set the paths appropriately. Most likely You are using rsh for
> starting remote processes.
> This causes some trouble since the environment offered by rsh lacks
> many
> things that a usual login environment offers (e.g. the path is
> hardcoded
> and cannot be changed).
> Checking with
> mpirun -np 2 -prefix /usr/local /bin/bash -c ulimit -l
> may result in reporting plenty of memory (according to Your
> settings) but
> this is not reliable since the new bash instance sets the limits
> differently.
> Unfortunately
> mpirun -np 2 -prefix /usr/local ulimit -l
> does not work, since mpirun expects an executable. So the only way to
> check is to run rsh directly like
> rsh remotenode ulimit -l
> (where remotenode has to be replaced by the name of the remote
> host). This
> may give a different result (e.g. 32 which is way too small). In my
> case
> this problem was solved by adding
> session required
> at the end of the file "/etc/pam.d/rsh".
> In case of ssh check the file "/etc/pam.d/ssh" for a line similar
> to the
> one above and add it if it does not yet exist.
> Hope that helps,
> Emanuel
> _______________________________________________
> users mailing list
> users_at_[hidden]