On Apr 7, 2014, at 4:36 PM, Blosch, Edwin L <edwin.l.blo...@lmco.com> wrote:
> I guess this is not OpenMPI related anymore. I can repeat the essential > problem interactively: > > % echo $SHELL > /bin/csh > > % echo $SHLVL > 1 > > % cat hello > echo Hello > > % /bin/bash hello > Hello > > % /bin/csh hello > Hello > > % . hello > /bin/.: Permission denied . is a bash internal which evaluates the contents of the file in the current shell. Since you’re running csh, it’s just looking for an executable named ., which does not exist (the csh analog of bash’s . is source). /bin/. _is_ in your path, but it’s a directory (namely /bin itself), which cannot be executed, hence the error. Perhaps you meant to do ./hello which means (both in bash and csh) run the script hello in the current working directory (.), rather than looking for it in the list of directories in $PATH Noam