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.