Skip to content

#390 mpihelper changes path, where the program is executed

Metadata

Property Value
Reported by Patrick Leidenberger (mailings.pl@gmail.com)
Reported at May 1, 2008 12:57
Type Bug Report
Version Git (pre2.4) [autotools]
Operating System Unspecified / All
Last edited by Markus Blatt (markus@dr-blatt.de)
Last edited at Jul 10, 2008 16:20
Closed by Markus Blatt (markus@dr-blatt.de)
Closed at Jul 10, 2008 16:20
Closed in version Unknown
Resolution Won't fix
Comment Not aproblem of DUNE. use mpirun to run parallel programs

Description

I have my DUNE application on a parallel and a serial machine and discover that the two versions handle relative paths different. The problem is, that the mpihandler changes the path, where a my programm is executed. I modified the dune-common/common/test/mpihelpertest.cc to show you the problem (code attatched). If you compile this and change the directory, say to common/exprtmpl and execute: ../test/mpihelpertest you get:

/home/patrick/dune/dune-common/common /home/patrick/dune/dune-common/common/test

I think this strange behaviour is a bug. If it's not, it would be nice if somebody can explain it to me.

Thanks a lot, with best regars, Patrick

Attachments