← Back to team overview

dolfin team mailing list archive

Re: Buildbot failure

 

On Tue, Feb 16, 2010 at 3:06 PM, Anders Logg <logg@xxxxxxxxx> wrote:
> On Tue, Feb 16, 2010 at 01:32:35PM +0100, Johannes Ring wrote:
>> On Fri, Feb 12, 2010 at 2:28 PM, Johannes Ring <johannr@xxxxxxxxx> wrote:
>> > Hi,
>> >
>> > The buildbot linux64-exp now fails with the following error:
>> >
>> > mpic++ -o dolfin/graph/ParMETIS.os -c -Wall -pipe -ansi
>> > -BOOST_UBLAS_NDEBUG -DDEBUG -g -O2 -Werror -DHAS_MPI=1
>> > -DMPICH_IGNORE_CXX_SEEK -DPACKAGE_VERSION=\"0.9.6\" -DHAS_LAPACK=1
>> > -DHAS_ZLIB=1 -DHAS_UMFPACK=1 -DHAS_MTL4=1 -DHAS_CHOLMOD=1
>> > -DHAS_SCOTCH=1 -DHAS_PARMETIS=1 -fno-strict-aliasing -fPIC -I.
>> > -I/work/jhbuildbot/fenics/include -I/usr/include -I/usr/include
>> > -I/usr/include -I/usr/include/libxml2 -I/usr/include
>> > -I/usr/include/suitesparse -I/work/jhbuildbot/src/mtl4 -I/usr/include
>> > -I/usr/include/suitesparse -I/work/jhbuildbot/src/scotch_5.1/include
>> > -I/usr/include dolfin/graph/ParMETIS.cpp
>> > dolfin/graph/ParMETIS.cpp: In static member function 'static void
>> > dolfin::ParMETIS::compute_partition(std::vector<unsigned int,
>> > std::allocator<unsigned int> >&, const dolfin::LocalMeshData&)':
>> > dolfin/graph/ParMETIS.cpp:100: error: 'ParMETIS_V3_PartMeshKway' was
>> > not declared in this scope
>> > scons: *** [dolfin/graph/ParMETIS.os] Error 1
>> > scons: building terminated because of errors.
>> > dolfin/graph/ParMETIS.os failed: Error 1
>> >
>> > This happened after I built the PT-SCOTCH libraries. Any ideas?
>>
>> The same error is now reported by the jaunty-amd64 slave:
>>
>> http://fenics.org:8080/builders/dolfin-jaunty-amd64/builds/244/steps/dolfin%20build/logs/stdio
>
> Can you check parmetis.h on the buildbot if ParMETIS_V3_PartMeshKway
> is defined? The build includes -DHAS_PARMETIS=1 so it should be there.

Yes, it is defined in /usr/include/parmetis.h but I see that SCOTCH
also comes with a parmetis.h file and ParMETIS_V3_PartMeshKway is not
defined there. I guess that this parmetis.h is used instead since it
is in SCOTCH_DIR/include.

Johannes



Follow ups

References