"Rob Malpass" <l...@getiton.myzen.co.uk> writes:

> Almost in desperation, I cheated:

Why is that cheating?  Unless you specifically want a different version,
it seems sensible to me, especially as you then have access to packaged
versions of at least some MPI programs.  Likewise with rpm-based
systems, which I'm afraid I know more about.

Also the package system ensures that things don't break by inadvertently
removing their dependencies; the hwloc libraries might be an example.

> 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.

No.  As I said recently, Debian installs a default MPI (via the
alternatives system) with libraries in the system search path.  Check
the library contents.

Reply via email to