[Dune] Notification from Dune
Flyspray
dune at hal.iwr.uni-heidelberg.de
Fri Jul 7 17:21:36 CEST 2006
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#140 - DGFParser does not work with Lam-mpi
User who did this: - Markus Blatt (mblatt)
----------
I just tried to get dgfparser running for lam-mpi by simply
substituting int with MPI_Comm and -1 with MPI_COMM_WORLD.
Now I have the problem that HAVE_MPI_CPP is not set in my case (should
it be?) and therefore it is assumed that I do not have
MPI and a nonexistent constructor of YaspGrid is called.
Even with this changes the tests do not compile, when I try to build
tester I get:
In file included from main.cc:2:
../gridtype.hh:141:4: warning: #warning --- No GRIDTYPE defined,
defaulting to YASPGRID
../gridtype.hh:159:1: warning: "MPI_COMM_WORLD" redefined
In file included from ../../../../../dune/grid/yaspgrid/grids.hh:13,
from ../../../../../dune/grid/yaspgrid.hh:10,
from ../dgfyasp.hh:3,
from ../gridtype.hh:138,
from main.cc:2:
/usr/lib/lam/include/mpi.h:356:1: warning: this is the location of the
previous definition
main.cc: In function 'int main(int, char**, char**)':
main.cc:20: error: invalid conversion from 'int' to '_comm*'
main.cc:20: error: initializing argument 2 of
'Dune::GridPtr<GridType>::GridPtr(const char*, _comm*) [with GridType
= Dune::YaspGrid<2, 2>]'
../dgfyasp.cc: In static member function 'static Dune::YaspGrid<dim,
dimworld>* Dune::MacroGrid::Impl<Dune::YaspGrid<dim, dimworld>
>::generate(Dune::MacroGrid&, const char*, _comm*) [with int dim = 2,
int dimworld = 2]':
../dgfparser.hh:104: instantiated from 'Dune::MacroGrid::operator
GridType*() [with GridType =
Dune::YaspGrid<2, 2>]'
../dgfparser.hh:123: instantiated from
'Dune::GridPtr<GridType>::GridPtr(const char*, _comm*) [with GridType
= Dune::YaspGrid<2, 2>]'
main.cc:20: instantiated from here
../dgfyasp.cc:39: error: no matching function for call to
'Dune::YaspGrid<2, 2>::YaspGrid(Dune::FieldVector<double, 2>&,
Dune::FieldVector<int, 2>&, Dune::FieldVector<bool, 2>&, int)'
../../../../../dune/grid/yaspgrid.hh:2175: note: candidates are:
Dune::YaspGrid<dim, dimworld>::YaspGrid(_comm*,
Dune::FieldVector<double, dim>, Dune::FieldVector<int, d>,
Dune::FieldVector<bool, d>, int) [with int dim = 2, int dimworld = 2]
../../../../../dune/grid/yaspgrid.hh:2133: note:
Dune::YaspGrid<2, 2>::YaspGrid(const Dune::YaspGrid<2, 2>&)
make[1]: *** [tester-main.o] Fehler 1
make[1]: Leaving directory
`/home/mblatt/dune/dune-grid/grid/io/file/dgfparser/test'
make: *** [check-am] Fehler 2
There seem to be some serious bugs (not depenedant on lam-mpi).
----------
More information can be found at the following URL:
http://hal.iwr.uni-heidelberg.de/flyspray/?do=details&id=140#comment104
You are receiving this message because you have requested it from the
Flyspray bugtracking system. You can be removed from future
notifications by visiting the URL shown above.
More information about the Dune
mailing list