← Back to team overview

dolfin team mailing list archive

Re: [Branch ~dolfin-core/dolfin/main] Rev 4689: Added unittest for barycenter quadrature.

 

Hi Andre,

I still have problems with the quadrature unit test on the Mac
buildbot slave. However, I found out that linking with -lmpfr and
-lboost_thread resolves the problem. I'm therefore planning to add
these two flags to the CGAL pkg-config generator. I would also like to
add a minimal test program (in the pkg-config generator) that tests
the CGAL functionality used in DOLFIN, for example based on the
quadrature unit test. Could I possible ask you to write such a test
program? I'm no good at CGAL programming myself ;-)

Johannes

On Tue, Apr 13, 2010 at 5:38 PM, Johannes Ring <johannr@xxxxxxxxx> wrote:
> On Tue, Apr 13, 2010 at 5:29 PM, Andre Massing <massing@xxxxxxxxx> wrote:
>> Hi Johannes!
>>
>> Copypaste induced missing semicolon.
>> Should be
>> };
>
> Fixed.
>
> Johannes
>
>> at line 604. Could you please so kind and add it? I have no push permission
>> and a merge request would probably an overkill :)
>>
>> Whole code snippet starting from line 600 (:
>>
>> class BaryCenter : public CppUnit::TestFixture
>> {
>>  CPPUNIT_TEST_SUITE(BaryCenter);
>>  CPPUNIT_TEST_SUITE_END();
>> };
>>
>>
>>
>>
>> Johannes Ring wrote:
>>>
>>> Hi,
>>>
>>> Some of the buildbot slaves fails to build the quadrature cpp unittest
>>> when CGAL is missing:
>>>
>>> mpic++ -o test/unit/quadrature/cpp/test.o -c -Wall -pipe -ansi
>>> -BOOST_UBLAS_NDEBUG -DDEBUG -g -O2 -Werror -DHAS_MPI=1
>>> -DMPICH_IGNORE_CXX_SEEK -DPACKAGE_VERSION=\"0.9.7\" -DHAS_LAPACK=1
>>> -DHAS_SLEPC=1 -DHAS_TRILINOS=1 -DHAS_ZLIB=1 -DHAS_UMFPACK=1
>>> -DHAS_PETSC=1 -DHAS_CHOLMOD=1 -DHAS_SCOTCH=1 -DHAS_PARMETIS=1
>>> -fno-strict-aliasing -fno-strict-aliasing -I. -I. -Idolfin
>>> -I/opt/fenics/include -I/usr/include -I/usr/include -I/usr/include
>>> -I/usr/include/libxml2 -I/usr/local/src/slepc-3.0.0-p5
>>> -I/usr/local/src/slepc-3.0.0-p5/linux-gnu-cxx-debug/include
>>> -I/usr/local/src/slepc-3.0.0-p5/include
>>> -I/usr/local/src/petsc-3.0.0-p8/linux-gnu-cxx-debug/include
>>> -I/usr/local/src/petsc-3.0.0-p8/include -I/usr/lib/openmpi/include
>>> -I/usr/lib/openmpi/lib -I/opt/local/include/trilinos -I/usr/include
>>> -I/usr/include/suitesparse
>>> -I/usr/local/src/petsc-3.0.0-p8/linux-gnu-cxx-debug/include
>>> -I/usr/local/src/petsc-3.0.0-p8/include -I/usr/lib/openmpi/include
>>> -I/usr/lib/openmpi/lib -I/usr/include/suitesparse -I/opt/local/include
>>> -I/usr/include test/unit/quadrature/cpp/test.cpp
>>> test/unit/quadrature/cpp/test.cpp:608: error: invalid declarator
>>> before 'autoRegisterRegistry__608'
>>>
>>> See also:
>>>
>>>
>>> http://fenics.org:8080/builders/dolfin-hardy-i386/builds/439/steps/dolfin%20build/logs/stdio
>>>
>>> http://fenics.org:8080/builders/dolfin-jaunty-amd64/builds/433/steps/dolfin%20build/logs/stdio
>>>
>>> The mac buildslave fails to build the same unittest but with a
>>> different error message:
>>>
>>>
>>> http://fenics.org:8080/builders/dolfin-mac-osx/builds/281/steps/dolfin%20build/logs/stdio
>>>
>>> Johannes
>>>
>>>
>>> On Mon, Apr 12, 2010 at 5:38 PM,  <noreply@xxxxxxxxxxxxx> wrote:
>>>>
>>>> ------------------------------------------------------------
>>>> revno: 4689
>>>> committer: Andre Massing <massing@xxxxxxxxx>
>>>> branch nick: dolfin
>>>> timestamp: Fri 2010-04-09 13:34:00 +0200
>>>> message:
>>>>  Added unittest for barycenter quadrature.
>>>> added:
>>>>  test/unit/quadrature/
>>>>  test/unit/quadrature/cpp/
>>>>  test/unit/quadrature/cpp/test.cpp
>>>>  test/unit/quadrature/python/
>>>>  test/unit/quadrature/python/test.py
>>>> modified:
>>>>  .bzrignore
>>>>  demo/mesh/intersection/meshintersection/3D/python/demo.py
>>>>  dolfin/quadrature/dolfin_quadrature.h
>>>>  scons/simula-scons/simula_scons/pkgconfiggenerators/cgal.py
>>>>  test/unit/test.py
>>>>
>>>>
>>>> --
>>>> lp:dolfin
>>>> https://code.launchpad.net/~dolfin-core/dolfin/main
>>>>
>>>> Your team DOLFIN Core Team is subscribed to branch lp:dolfin.
>>>> To unsubscribe from this branch go to
>>>> https://code.launchpad.net/~dolfin-core/dolfin/main/+edit-subscription
>>>
>>> [snip]
>>>
>>> _______________________________________________
>>> Mailing list: https://launchpad.net/~dolfin
>>> Post to     : dolfin@xxxxxxxxxxxxxxxxxxx
>>> Unsubscribe : https://launchpad.net/~dolfin
>>> More help   : https://help.launchpad.net/ListHelp
>>
>



References