From: Johannes Zellner <johannes@zellner.org>
Newsgroups: comp.parallel.mpi
Subject: mpich and getcwd()
Date: Wed, 14 Jul 1999 10:40:19 +0200
Organization: University of Karlsruhe
Message-Id: <Pine.LNX.4.10.9907141037060.26522-100000@krispc6.physik.uni-karlsruhe.de>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Xref: ukc comp.parallel.mpi:5336


recently I observed that mpich (Linux) changes the working directory.
if I Invoke ../My_program, getcwd()
   - returns the correct working directory if I call it before MPI::Init()
   - returns the wrong working directory if I call it *after* MPI::Init().

Any comments ?

--
   Johannes

