Newsgroups: comp.parallel.mpi
From: Jaroslaw Tuszynski <jarek>
Subject: How do you set current directory for programs running MPI?
Organization: George Mason University, Fairfax, Virginia, USA
Date: 16 May 1996 22:15:42 GMT
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <4ng9ee$em0@portal.gmu.edu>

I am not sure if it is an MPI question or LAM question (LAM is the
implementation of MPI I use), but I can not figure out how to open local files
on each node. I always get a file not found problem. I solved the problem quite
easly when runing PVM by using WD host file option, which let me specify what
will be current directory on each node, but I can not find an equivalent option
in MPI (on LAM). All the computers I run MPI on, share the file system so the
path will always be the same. The same problem with the output files, I create
them in the "current" subdirectory but each node puts them somewhere else on my
system: sometimes in my home directory, sometimes where I start my program
from.
I would greatly appriciate any help I can get. And if you know how to do it
with other implementations (like MPICH) please let me know too, becouse if I
donot figure it out on the LAM than I will try other implementations.
Thanks in advance
jarek
-- 
---------------------------------------   \
 Jarek Tuszynski                       o / | 
 jarek@chopin.gmu.edu                  <\__,\  
 http://www.science.gmu.edu/~jtuszyns/  ">   |
                                         `


