Re: [O-MPI users] mpirun tcsh LD_LIBRARY_PATH problem

2006-02-02 Thread Glenn Morris
Jeff Squyres wrote: > Excellent point. Hardly elegant, but definitely no portability > issues there -- so I like it better. Last word on this trivial issue I promise - if you don't want two copies added to L_L_P, you could use a temporary variable, e.g.: tcsh -c 'if ( "$?LD_LIBRARY_PATH" == 1

Re: [O-MPI users] mpirun tcsh LD_LIBRARY_PATH problem

2006-02-02 Thread Jeff Squyres
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 e

Re: [O-MPI users] mpirun tcsh LD_LIBRARY_PATH problem

2006-01-31 Thread Glenn Morris
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

Re: [O-MPI users] mpirun tcsh LD_LIBRARY_PATH problem

2006-01-30 Thread Glenn Morris
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? :) I almost commented the last time "I don't know how portable this is". I would imagine it's

Re: [O-MPI users] mpirun tcsh LD_LIBRARY_PATH problem

2006-01-30 Thread Jeff Squyres
On Jan 30, 2006, at 10:03 AM, Jeff Squyres wrote: Sorry for the lengthy delay on this reply -- thanks for submitting this bug report. I can confirm that it is broken. That's a neat trick -- I didn't know that you could embed \n's in an ssh command line. Thanks! I'll commit this to the trunk

Re: [O-MPI users] mpirun tcsh LD_LIBRARY_PATH problem

2006-01-30 Thread Glenn Morris
Jeff Squyres wrote: > I'll commit this to the trunk and v1.0 branch shortly; it'll be > included in v1.0.2. Thanks.

Re: [O-MPI users] mpirun tcsh LD_LIBRARY_PATH problem

2006-01-30 Thread Jeff Squyres
Sorry for the lengthy delay on this reply -- thanks for submitting this bug report. I can confirm that it is broken. That's a neat trick -- I didn't know that you could embed \n's in an ssh command line. Thanks! I'll commit this to the trunk and v1.0 branch shortly; it'll be included in

[O-MPI users] mpirun tcsh LD_LIBRARY_PATH problem

2006-01-19 Thread Glenn Morris
Using openmpi-1.0.1. attemping to launch programs via 'mpirun --mca pls_rsh_agent ssh' fails if the user login shell is tcsh, and LD_LIBRARY_PATH is unset at startup. if ($?FOO) setenv BAR $FOO is an error in tcsh if $FOO is unset, because it expands the whole line at once. Instead one has t