Jalel Chergui (LIMSI-CNRS) <Jalel.Chergui_at_[hidden]> wrote:
>Dear friends,
>
>My default shell on all the machines is the KornShell and ssh cannot find the
>LAM installation PATH defined in my ~/.profile because it simply doesn't
>explore that configuration file before launching any command as lamboot, etc.
>
>Any idea ?
>
>
Hi, Jalel
For bash, when you execute a command using ssh, you may put PATH
variables in .bashrc. There is a .bash_profile, but it not read while
executing a remote command. So you may solve the problem by putting your
PATH variables in equivalent to .bash_profile in KornShell. More details
at FAQ's [1].
[1] http://www.lam-mpi.org/faq/category4.php3#question16
--Aamir
>Thanks
>
>
|