Re: [OMPI users] Working directory isn't set properly on Linux cluster

2008-06-23 Thread Todd Gamblin
-) Looks like this is easy enough to put into v1.3, though. On Jun 23, 2008, at 9:52 AM, Todd Gamblin wrote: Thanks for pointing this out (I'm not sure how I got that wrong in the test) -- making the test program do the right thing gives: (merle):test$ mpirun -np 4 test before MPI_In

Re: [OMPI users] Working directory isn't set properly on Linux cluster

2008-06-23 Thread Todd Gamblin
un -np 1 -wdir ~/mpi ~/tmp/foo CWD is /home/jsquyres/mpi [5:01] svbu-mpi:~/tmp % On Jun 22, 2008, at 12:14 AM, Todd Gamblin wrote: I'm having trouble getting OpenMPI to set the working directory properly when running jobs on a Linux cluster. I made a test program (at end of post) t

[OMPI users] Working directory isn't set properly on Linux cluster

2008-06-22 Thread Todd Gamblin
I'm having trouble getting OpenMPI to set the working directory properly when running jobs on a Linux cluster. I made a test program (at end of post) that recreates the problem pretty well by just printing out the results of getcwd(). Here's output both with and without using -wdir: (m