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 error message that 

mpirun was unable to find the specified executable file, and therefore
did not launch the job. 

whereas if I put an absolute path, something like 

PATH=/home/me/dir/bin

then it works.

This causes some problematic silent failure, sometimes we use relative 
directories to override a 'base' release, so if I had

PATH=dir/bin:/central/install/dir/bin

and myprogram was in both dir/bin and /central/install/dir/bin, through mpirun, 
I would be running myprogram from the central install, but otherwise I would 
run it from my own directory.

Do other people find this is the case? I wonder if it is a problem that got 
introduced through our installation of openmpi.  We do create relocatable 
rpm's, and I'm also trying openmpi from a conda package that is relocatable, I 
think all the prefix paths in the binary and text files were corrected properly 
for the install - at least everything else seems to work.

best,

David Schneider
SLAC/LCLS
_______________________________________________
users mailing list
users@lists.open-mpi.org
https://rfd.newmexicoconsortium.org/mailman/listinfo/users

Reply via email to