How about instead of all the patches (r25758, r25762 and r25763) we just set both LD_LIBRARY_PATH and DYLD_LIBRARY_PATH everywhere? One will get ignored on Unix while the other on Darwin?
Another benefit will be to have a significantly cleaner...
On Jan 21, 2012, at 18:48 , rhc_at_[hidden] wrote:
> Author: rhc
> Date: 2012-01-21 18:48:42 EST (Sat, 21 Jan 2012)
> New Revision: 25762
> URL: https://svn.open-mpi.org/trac/ompi/changeset/25762
> Expand the coverage a little when looking at remote shells for rsh. Prior patch (r25758) works only if both ends of the rsh/ssh connection are Mac. What we really want is to use the Mac version of ld_library_path when the remote end is Mac, regardless of the OS where mpirun is executing. So add a test for system type to the remote_shell test, and set the ld_library_path name to match the remote system type.