For a shell independent method use env:
/usr/bin/env LAMRSH='ssh -x' mpirun...
Martin Dimitrov wrote:
> I want to setup LAM to use ssh instead of rsh.
> I read that there is an option to do it at startup by
> setenv LAMRSH "ssh -x"
>
> However I am a newbe to Linux and LAM and I am not sure where exactly to
> put this command.
> If I simply execute it at my bash shell I get an error: setenv command not
> found (or something like that)
> Can you please tell me how exactly to do this.
|