Rob, I do not know how Debian packaged openmpi, and they should be asked instead of openmpi.
an other option to get things work is to add the path to openmpi libraries in the ld conf. for example, append /opt/openmpi/lib to /etc/ld.so.conf (or into a new file called /etc/ld.so.conf.d/openmpi, that works at least on redhat) and run ldconfig that works for all users, but should be used if there is only one openmpi version available on the system. as far as I am concerned, configure with --enable-mpirun-prefix-by-default is a much better option. Cheers, Gilles On Saturday, May 14, 2016, Rob Malpass <l...@getiton.myzen.co.uk> wrote: > Hi all > > > > I posted about a fortnight ago to this list as I was having some trouble > getting my nodes to be controlled by my master node. Perceived wisdom at > the time was to compile with the –enable-orterun-prefix-by-default. > > > > For some time I’d been getting cannot open libopen-rte.so.7 which points > to a problem with LD_LIBRARY_PATH. I had been able to run it on nodes 3 > and 4 even though (from headnode) if I do > > > > ssh node4 ‘echo $LD_LIBRARY_PATH’ > > > > returns a blank line. However – as I say it’s working on nodes 3 and 4. > > > > I had been hacking for ages on nodes 1 and 2 getting the same error but > still with LD_LIBRARY_PATH apparently not set for an interactive login. > > > > Almost in desperation, I cheated: > > > > sudo apt-get install openmpi-bin > > > > and hey presto. I can now do (from head node) > > > > mpirun –H node2,node3,node4 –n 10 foo > > > > and it works fine. So clearly apt-get install has set something that I’d > not done (and it’s seemingly not LD_LIBRARY_PATH) as ssh node2 ‘echo > $LD_LIBRARY_PATH’ still returns a blank line. > > > > Can anyone tell me what might be in the install script so I can get a clue? > > > > Thanks >