Well, there are some other rather simple ways to do it too.
1. Follow the FAQs and setup your remote login environment properly
http://www.open-mpi.org/faq/?category=running#adding-ompi-to-path
2. add "-x LD_LIBRARY_PATH" to your mpirun cmd line, as explained in this FAQ
http://www.open-mpi.org
I'm surprised that there are users still reporting issues getting this to
work, but as I'm still seeing notes in the digest I wanted to share (what I
believe the issue is) and how I've fixed it.
If you don't take special measures, OpenMPI will be dynamically linked and
have runtime dependencies on