[Dune] using metis & parmetis creates a build problem

Benedikt Oswald benedikt.oswald at lspr.ch
Mon May 19 10:24:30 CEST 2014


Hello Markus, thanks.

No, in fact we wish to use parmetis.
Perhaps I was not precise enough, the problem occurs when compiling HADE3D with
the autotools build system. HADES is not yet switched to cmake.
I do not know if this makes a difference ?
Greetings,Benedikt



On 19 May 2014, at 10:19, Markus Blatt <markus at dr-blatt.de> wrote:

> Hi Benedikt,
> 
> On Fri, May 16, 2014 at 01:37:13PM +0200, Benedikt Oswald wrote:
>> Dear Dune, it seems that we are still plagued by this ‘old’ problem;
>> 
>> mpicxx -std=c++11 -DHAVE_CONFIG_H -I. -I../../..  -I/Users/oswald/gitwork/hades-pure-dune/dune-common -I/Users/oswald/gitwork/hades-pure-dune/dune-common -I/Users/oswald/gitwork/hades-pure-dune/dune-geometry -I/Users/oswald/gitwork/hades-pure-dune/dune-geometry -I/Users/oswald/gitwork/hades-pure-dune/dune-grid -I/Users/oswald/gitwork/hades-pure-dune/dune-grid -I/Users/oswald/gitwork/hades-pure-dune/dune-istl -I/Users/oswald/gitwork/hades-pure-dune/dune-istl -DMPICH_IGNORE_CXX_SEEK -O2 -g0 -DHAVE_SUPERLU_DIST -I/Users/oswald/extlib/superludist/3.3/openmpi/1.6.5/gcc/4.8.1/SRC  -I/Users/oswald/extlib/boost/1.55.0/gcc/4.8.1/include -I/Users/oswald/extlib/petsc/3.4.2/openmpi/1.6.5/gcc/4.8.1/include -DHAVE_PETSC -I/Users/oswald/gitwork/hades-pure-dune/dune-common -I/Users/oswald/gitwork/hades-pure-dune/dune-common -I/Users/oswald/gitwork/hades-pure-dune/dune-geometry -I/Users/oswald/gitwork/hades-pure-dune/dune-geometry -I/Users/oswald/gitwork/hades-pure-dune/dune-grid -I/Users/oswald/gitwork/hades-pure-dune/dune-grid -I/Users/oswald/gitwork/hades-pure-dune/dune-istl -I/Users/oswald/gitwork/hades-pure-dune/dune-istl -I/Users/oswald/extlib/openmpi/1.6.5/gcc/4.8.1/include -DMPIPP_H -DENABLE_MPI=1 -DWITH_INDEX_SETS -DMPICH_IGNORE_CXX_SEEK -O2 -g0 --no-strict-aliasing  -MT pamgtest1-pamgtest1.o -MD -MP -MF .deps/pamgtest1-pamgtest1.Tpo -c -o pamgtest1-pamgtest1.o `test -f 'pamgtest1.cc' || echo './'`pamgtest1.cc
>> In file included from /Users/oswald/gitwork/hades-pure-dune/dune-istl/dune/istl/matrixredistribute.hh:5:0,
>>                 from /Users/oswald/gitwork/hades-pure-dune/dune-istl/dune/istl/paamg/transfer.hh:7,
>>                 from /Users/oswald/gitwork/hades-pure-dune/dune-istl/dune/istl/paamg/amg.hh:10,
>>                 from pamgtest1.cc:23:
>> /Users/oswald/gitwork/hades-pure-dune/dune-istl/dune/istl/repartition.hh:791:67: error: ‘idxtype’ has not been declared
>>   inline bool isValidGraph(std::size_t noVtx, std::size_t gnoVtx, idxtype noEdges, idxtype* xadj,
>> 
> 
> This should be fixed now. The weired thing is, that I had to deinstall
> parmetis/scotch to reproduce this error. This means that in your case
> the compilation is done without ParMETIS, which seems weired. Is that
> intended?
> 
> If not, you might want to check the comilation flags (with CMAKE, do "make
> VERBOSE=1 pamgtest" in dune/istl/paamg/test.
> 
> Markus
> -- 
> Do you need more support with DUNE or HPC in general? 
> 
> Dr. Markus Blatt - HPC-Simulation-Software & Services http://www.dr-blatt.de
> Hans-Bunte-Str. 8-10, 69123 Heidelberg, Germany
> Tel.: +49 (0) 160 97590858
> _______________________________________________
> Dune mailing list
> Dune at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20140519/680a2f7b/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20140519/680a2f7b/attachment.sig>


More information about the Dune mailing list