[Dune] [#390] mpihelper changes path, where the program is executed

Patrick Leidenberger leidenberger at ifh.ee.ethz.ch
Thu May 1 20:27:02 CEST 2008


> Thid id not a problem of DUNE. It happens during the MPI_Init call of
> MPI bacause it is not specified the working directory,
> 
> If you start your program with "mpirun <program>" it works as exspected.
That is right! Thanks a lot!
> 
> I am wondering whether there is a portable way of querying the working
> directory. Is there?
I do not now, perhaps boost/filesystem provides this:
http://www.boost.org/doc/libs/1_35_0/libs/filesystem/doc/index.htm
I have to read the manual.

Best regards Patrick




More information about the Dune mailing list