Excellent point. Hardly elegant, but definitely no portability
issues there -- so I like it better.
Many thanks!
On Jan 31, 2006, at 7:09 PM, Glenn Morris wrote:
Jeff Squyres wrote:
After sending this reply, I thought about this issue a bit more --
do you have any idea how portable the embedding of \n's in an ssh
command is? I.e., will this work everywhere?
On further reflection, if worried about portability, you could just
reverse the order of the "$?LD_LIBRARY_PATH" == "1" and == "0" tests
in the original (no newline) format. If L_L_P is unset, two copies of
the OpenMPI lib directory will get added; which is a little ugly, but
harmless.
_______________________________________________
users mailing list
us...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/users
--
{+} Jeff Squyres
{+} The Open MPI Project
{+} http://www.open-mpi.org/