On Thu, Apr 8, 2010 at 10:31 AM, Jeff Squyres <jsquyres_at_[hidden]> wrote:
> Yes. There is usually a difference between interactive logins and non-interactive logins on which paths, etc. get set. Look in your shell startup and see if there is somewhere that it exits early (or otherwise doesn't process) for non-interactive logins.
> In short: you need to ensure that your paths (etc.) are setup properly for both interactive and non-interactive logins.
Here's a tip: take a look at your shell's man page. If I recall
correctly, bash only reads .bashrc on interative shells, .bash_profile
on all shells, or something like that. So you might want to export
LD_LIBRARY_PATH on .bash_profile too.