Re: [OMPI users] mpirun won't find programs from the PATH environment variable that are in directories that are relative paths

2016-08-13 Thread Schneider, David A.
he path with $PWD like you say, yes, I agree that is a >> good defensive practice, but it is more cumbersome, the actually path looks >> >> mpirun -n 1 $PWD/arch/x86_64-rhel7-gcc48-opt/bin/psana >> >> best, >> >> David Schneider >> SLAC/LCLS >&

Re: [OMPI users] mpirun won't find programs from the PATH environment variable that are in directories that are relative paths

2016-08-12 Thread Reuti
defensive practice, but it is more cumbersome, the actually path looks >> >> mpirun -n 1 $PWD/arch/x86_64-rhel7-gcc48-opt/bin/psana >> >> best, >> >> David Schneider >> SLAC/LCLS >> >> From: users

Re: [OMPI users] mpirun won't find programs from the PATH environment variable that are in directories that are relative paths

2016-08-12 Thread r...@open-mpi.org
na > > best, > > David Schneider > SLAC/LCLS > > From: users [users-boun...@lists.open-mpi.org > <mailto:users-boun...@lists.open-mpi.org>] on behalf of Phil Regier > [preg...@penguincomputing.com <mailto:preg...@penguincomput

Re: [OMPI users] mpirun won't find programs from the PATH environment variable that are in directories that are relative paths

2016-07-29 Thread Phil Regier
n -n 1 $PWD/arch/x86_64-rhel7-gcc48-opt/bin/psana > > best, > > David Schneider > SLAC/LCLS > > From: users [users-boun...@lists.open-mpi.org] on behalf of Phil Regier [ > preg...@penguincomputing.com] > Sent: Friday, July 29, 2016 5:12 PM > To: Open MPI Users > Subject

Re: [OMPI users] mpirun won't find programs from the PATH environment variable that are in directories that are relative paths

2016-07-29 Thread Ralph Castain
> David Schneider > SLAC/LCLS > > From: users [users-boun...@lists.open-mpi.org] on behalf of Ralph Castain > [r...@open-mpi.org] > Sent: Friday, July 29, 2016 5:19 PM > To: Open MPI Users > Subject: Re: [OMPI users] mpirun won't find programs from the PATH > environ

Re: [OMPI users] mpirun won't find programs from the PATH environment variable that are in directories that are relative paths

2016-07-29 Thread Schneider, David A.
Open MPI Users Subject: Re: [OMPI users] mpirun won't find programs from the PATH environment variable that are in directories that are relative paths Typical practice would be to put a ./myprogram in there to avoid any possible confusion with a “myprogram” sitting in your $PATH. We should

Re: [OMPI users] mpirun won't find programs from the PATH environment variable that are in directories that are relative paths

2016-07-29 Thread Schneider, David A.
/LCLS From: users [users-boun...@lists.open-mpi.org] on behalf of Phil Regier [preg...@penguincomputing.com] Sent: Friday, July 29, 2016 5:12 PM To: Open MPI Users Subject: Re: [OMPI users] mpirun won't find programs from the PATH environment variable t

Re: [OMPI users] mpirun won't find programs from the PATH environment variable that are in directories that are relative paths

2016-07-29 Thread Ralph Castain
Typical practice would be to put a ./myprogram in there to avoid any possible confusion with a “myprogram” sitting in your $PATH. We should search the PATH to find your executable, but the issue might be that it isn’t your PATH on a remote node. So the question is: are you launching strictly lo

Re: [OMPI users] mpirun won't find programs from the PATH environment variable that are in directories that are relative paths

2016-07-29 Thread Phil Regier
I might be three steps behind you here, but does "mpirun pwd" show that all your launched processes are running in the same directory as the mpirun command? I assume that "mpirun env" would show that your PATH variable is being passed along correctly, since you don't have any problems with absol

[OMPI users] mpirun won't find programs from the PATH environment variable that are in directories that are relative paths

2016-07-29 Thread Schneider, David A.
I am finding, on linux, rhel7, with openmpi 1.8.8 and 1.10.3, that mpirun won't find apps that are specified on a relative path, i.e, if I have PATH=dir/bin and I am in a directory which has dir/bin as a subdirectory, and an executable bir/bin/myprogram, I can't do mpirun myprogram I get the