← Back to team overview

dolfin team mailing list archive

Re: [HG DOLFIN] Merge update to IntersectionDetector and attempt to fix buildbot error.

 

DOLFIN wrote:
> One or more new changesets pushed to the primary dolfin repository.
> A short summary of the last three changesets is included below.
> 
> changeset:   5579:f90965f4a6e518162a8b0dc857228d8b8bbf1624
> tag:         tip
> parent:      5577:c4cd050190c69bad85e19f49ee57c1d973e42c7e
> parent:      5578:ce32197ca04ec1e1aeb52d73f6edaa3599332bd3
> user:        Anders Logg <logg@xxxxxxxxx>
> date:        Wed Jan 14 22:08:42 2009 +0100
> files:       dolfin/mesh/IntersectionDetector.cpp
> description:
> Merge update to IntersectionDetector and attempt to fix buildbot error.

Did you run into something like the following? Because that is what I am
seeing now when I try to compile DOLFIN. Does this need gcc 4.3+ to work?

mpic++ -o dolfin/mesh/IntervalCell.os -c -Wall -pipe -ansi -DNDEBUG -O3
-DHAS_MPI=1 -DMPICH_IGNORE_CXX_SEEK -DPACKAGE_VERSION=\"0.9.0\"
-DHAS_PETSC=1 -DHAS_SLEPC=1 -DHAS_SCOTCH=1 -DHAS_UMFPACK=1 -DHAS_GTS=1
-DHAS_TRILINOS=1 -DHAS_CHOLMOD=1 -DHAS_MTL4=1 -DHAS_PARMETIS=1
-DHAS_GMP=1 -fPIC -I. -I/Users/hnarayan/Work/FEniCS/build/include
-I/sw/include -I/usr/include/libxml2
-I/Users/hnarayan/Work/FEniCS/petsc-2.3.3-p15/bmake/darwin9.2.0-cxx-opt
-I/Users/hnarayan/Work/FEniCS/petsc-2.3.3-p15/include
-I/Users/hnarayan/Work/FEniCS/petsc-2.3.3-p15/bmake/darwin9.2.0-cxx-opt
-I/Users/hnarayan/Work/FEniCS/petsc-2.3.3-p15/include
-I/Users/hnarayan/Work/FEniCS/slepc-2.3.3
-I/Users/hnarayan/Work/FEniCS/slepc-2.3.3/include
-I/Users/hnarayan/Work/FEniCS/build/include -I/sw/include/suitesparse
-I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include
-I/Users/hnarayan/Work/FEniCS/build/include -I/sw/include/suitesparse
-I/Users/hnarayan/Work/FEniCS/mtl4
-I/Users/hnarayan/Work/FEniCS/build/include
-I/Users/hnarayan/Work/FEniCS/build/include dolfin/mesh/IntervalCell.cpp
dolfin/mesh/IntersectionDetector.cpp: In member function ‘void
dolfin::IntersectionDetector::new_intersection(const dolfin::Mesh&,
std::vector<dolfin::uint, std::allocator<dolfin::uint> >&)’:
dolfin/mesh/IntersectionDetector.cpp:128: error: ambiguous overload for
‘operator<<’ in ‘dolfin::cout. dolfin::LogStream::operator<<(((const
char*)"Found ")) << intersected_cells. std::vector<_Tp, _Alloc>::size
[with _Tp = dolfin::uint, _Alloc = std::allocator<dolfin::uint>]()’
./dolfin/log/LogStream.h:29: note: candidates are: dolfin::LogStream&
dolfin::LogStream::operator<<(const char*) <near match>
./dolfin/log/LogStream.h:30: note:                 dolfin::LogStream&
dolfin::LogStream::operator<<(const std::string&) <near match>
./dolfin/log/LogStream.h:31: note:                 dolfin::LogStream&
dolfin::LogStream::operator<<(int)
./dolfin/log/LogStream.h:32: note:                 dolfin::LogStream&
dolfin::LogStream::operator<<(unsigned int)
./dolfin/log/LogStream.h:33: note:                 dolfin::LogStream&
dolfin::LogStream::operator<<(double)
./dolfin/log/LogStream.h:34: note:                 dolfin::LogStream&
dolfin::LogStream::operator<<(dolfin::complex)
./dolfin/log/LogStream.h:35: note:                 dolfin::LogStream&
dolfin::LogStream::operator<<(const dolfin::LogStream&) <near match>
./dolfin/log/LogStream.h:37: note:                 dolfin::LogStream&
dolfin::LogStream::operator<<(dolfin::real)
dolfin/mesh/Point.h:111: note:                 dolfin::LogStream&
dolfin::operator<<(dolfin::LogStream&, const dolfin::Point&)
mpic++ -o dolfin/mesh/LocalMeshCoarsening.os -c -Wall -pipe -ansi
-DNDEBUG -O3 -DHAS_MPI=1 -DMPICH_IGNORE_CXX_SEEK
-DPACKAGE_VERSION=\"0.9.0\" -DHAS_PETSC=1 -DHAS_SLEPC=1 -DHAS_SCOTCH=1
-DHAS_UMFPACK=1 -DHAS_GTS=1 -DHAS_TRILINOS=1 -DHAS_CHOLMOD=1
-DHAS_MTL4=1 -DHAS_PARMETIS=1 -DHAS_GMP=1 -fPIC -I.
-I/Users/hnarayan/Work/FEniCS/build/include -I/sw/include
-I/usr/include/libxml2
-I/Users/hnarayan/Work/FEniCS/petsc-2.3.3-p15/bmake/darwin9.2.0-cxx-opt
-I/Users/hnarayan/Work/FEniCS/petsc-2.3.3-p15/include
-I/Users/hnarayan/Work/FEniCS/petsc-2.3.3-p15/bmake/darwin9.2.0-cxx-opt
-I/Users/hnarayan/Work/FEniCS/petsc-2.3.3-p15/include
-I/Users/hnarayan/Work/FEniCS/slepc-2.3.3
-I/Users/hnarayan/Work/FEniCS/slepc-2.3.3/include
-I/Users/hnarayan/Work/FEniCS/build/include -I/sw/include/suitesparse
-I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include
-I/Users/hnarayan/Work/FEniCS/build/include -I/sw/include/suitesparse
-I/Users/hnarayan/Work/FEniCS/mtl4
-I/Users/hnarayan/Work/FEniCS/build/include
-I/Users/hnarayan/Work/FEniCS/build/include
dolfin/mesh/LocalMeshCoarsening.cpp
scons: *** [dolfin/mesh/IntersectionDetector.os] Error 1
scons: building terminated because of errors.

Harish


Follow ups

References