Newsgroups: comp.parallel.mpi
From: gdburns@osc.edu (Greg Burns)
Subject: Re: xmpi: reading from current directory
Organization: Ohio Supercomputer Center
Date: 13 Aug 1996 11:52:19 -0400
Message-ID: <4uq8bj$ras@tbag.osc.edu>

In article <32109EAF.41C6@cranfield.ac.uk> Yon Han Chong <Y.H.Chong@cranfield.ac.uk> writes:
>I am using "xmpi" to run a program containing LAM version of mpi. 
>
>The program is written so that it has to read and write files. At the
>moment only way to specify a file is to give a full directory and name.
>Is there a way to read and write files in the current directory?

The default cwd for direct UNIX file operations is the directory in which you
typed lamboot(1) on the origin node and the home directory of the accounts
you are using on remote nodes.

The (mistakenly undocumented) -D option to mpirun(1) causes the cwd
for all processes to be the pathname of the executable program.

We are working at this moment on new I/O features for LAM 6.1, including
improved control of the cwd.

-=-
Greg Burns				gdburns@osc.edu
Ohio Supercomputer Center		http://www.osc.edu/lam.html

