On Mon, Nov 05, 2007 at 04:57:19PM -0500, Brian W. Barrett wrote: > This is extremely tricky to do. How do you know which environment > variables to forward (foo in this case) and which not to (hostname). > SLURM has a better chance, since it's linux only and generally only run on > tightly controlled clusters. But there's a whole variety of things that > shouldn't be forwarded and that list differs from OS to OS. > > I believe we toyed around with the "right thing" in LAM and early on with > OPen MPI and decided that it was too hard to meet expected behavior. Some applications rely on this (I know at least two right away, Gamess and Abinit) and they work without problems with Lam/Mpich{1,2} but not with Open MPI. I am *not* arguing that those applications are correct (I agree that this way of passing arguments is ugly, but it's done).
I know it's not defined in the standard but I think it's a nice convenient functionality. E.g., setting the LD_LIBRARY_PATH to find libmpi.so in the .bashrc is also a pain if you have multiple (Open) MPIs installed. Just my two cents, Torsten -- bash$ :(){ :|:&};: --------------------- http://www.unixer.de/ ----- "You should never bet against anything in science at odds of more than about 10^12 to 1." Ernest Rutherford