50% tests passed, 39 tests failed out of 78

0 views
Skip to first unread message

Valmor de Almeida

unread,
Aug 10, 2010, 8:22:17 PM8/10/10
to herm...@googlegroups.com

Hello,

Just installed hermes2d and tried the make test-quick. Is there a place
I could check why 50% failed?

Thanks,

--
Valmor

-> make test-quick
Scanning dependencies of target test-quick
Start processing tests
Test project /home/dealmeida/codes-tryout/hermes2d
1/ 78 Testing python-in-cpp Passed
2/ 78 Testing numpy-in-cpp Passed
3/ 78 Testing matrix Passed
4/ 78 Testing vector Passed
5/ 78 Testing matrix-hb Passed
6/ 78 Testing solvers ***Failed
7/ 78 Testing leaks Passed
8/ 78 Testing cpp-callbacks Passed
9/ 78 Testing timer-1 Passed
10/ 78 Testing quadrature-1 Passed
11/ 78 Testing bubbles_quads Passed
12/ 78 Testing convert_triangles_to_quads-1 Passed
13/ 78 Testing convert_triangles_to_quads-2 Passed
14/ 78 Testing convert_triangles_to_quads-3 Passed
15/ 78 Testing convert_triangles_to_quads-4 Passed
16/ 78 Testing convert_quads_to_triangles-1 Passed
17/ 78 Testing convert_quads_to_triangles-2 Passed
18/ 78 Testing convert_quads_to_triangles-3 Passed
19/ 78 Testing convert_quads_to_triangles-4 Passed
20/ 78 Testing refinements-1 Passed
21/ 78 Testing refinements-2 Passed
22/ 78 Testing refinements-3 Passed
23/ 78 Testing refinements-4 Passed
24/ 78 Testing copy-1 Passed
25/ 78 Testing copy-2 Passed
26/ 78 Testing copy-3 Passed
27/ 78 Testing copy-4 Passed
28/ 78 Testing copy_base-1 Passed
29/ 78 Testing copy_base-2 Passed
30/ 78 Testing copy_base-3 Passed
31/ 78 Testing copy_base-4 Passed
32/ 78 Testing copy_refine-1 Passed
33/ 78 Testing copy_refine-2 Passed
34/ 78 Testing copy_refine-3 Passed
35/ 78 Testing copy_refine-4 Passed
36/ 78 Testing mesh-loader-h2d-1 Passed
37/ 78 Testing mesh-loader-h2d-old-1 Passed
38/ 78 Testing mesh-loader-h2d-str-1 Passed
39/ 78 Testing tutorial-01-mesh Passed
40/ 78 Testing tutorial-02-space Passed
41/ 78 Testing tutorial-03-poisson ***Exception: Other
42/ 78 Testing tutorial-04-bc-dirichlet ***Exception: Other
43/ 78 Testing tutorial-05-bc-neumann ***Exception: Other
44/ 78 Testing tutorial-06-bc-newton ***Exception: Other
45/ 78 Testing tutorial-07-general ***Exception: Other
46/ 78 Testing tutorial-08-system ***Exception: Other
47/ 78 Testing tutorial-09-timedep ***Exception: Other
48/ 78 Testing tutorial-10-adapt-projection ***Exception: Other
49/ 78 Testing tutorial-10-adapt-coarse ***Exception: Other
50/ 78 Testing tutorial-11-system-adapt-proje***Exception: Other
51/ 78 Testing tutorial-11-system-adapt-coars***Exception: Other
52/ 78 Testing tutorial-12-general-adapt-proj***Exception: Other
53/ 78 Testing tutorial-12-general-adapt-coar***Exception: Other
54/ 78 Testing tutorial-13-newton-elliptic-1 ***Exception: Other
55/ 78 Testing benchmark-layer-projection ***Exception: Other
56/ 78 Testing benchmark-layer-coarse ***Exception: Other
57/ 78 Testing benchmark-lshape-projection ***Exception: Other
58/ 78 Testing benchmark-lshape-coarse ***Exception: Other
59/ 78 Testing benchmark-smooth-iso-projectio***Exception: Other
60/ 78 Testing benchmark-smooth-iso-coarse ***Exception: Other
61/ 78 Testing benchmark-smooth-aniso-x-proje***Exception: Other
62/ 78 Testing benchmark-smooth-aniso-x-coars***Exception: Other
63/ 78 Testing benchmark-smooth-aniso-y-proje***Exception: Other
64/ 78 Testing benchmark-smooth-aniso-y-coars***Exception: Other
65/ 78 Testing benchmark-bessel-projection ***Exception: Other
66/ 78 Testing benchmark-bessel-coarse ***Exception: Other
67/ 78 Testing benchmark-screen-projection ***Exception: Other
68/ 78 Testing benchmark-screen-coarse ***Exception: Other
69/ 78 Testing example-np ***Exception: Other
70/ 78 Testing example-saphir-projection ***Exception: Other
71/ 78 Testing example-saphir-coarse ***Exception: Other
72/ 78 Testing example-bracket-projection ***Exception: Other
73/ 78 Testing example-bracket-coarse ***Exception: Other
74/ 78 Testing example-singular-perturbation-***Exception: Other
75/ 78 Testing example-singular-perturbation-***Exception: Other
76/ 78 Testing candidate_projection-quads ***Exception: Other
77/ 78 Testing candidate_projection-tris ***Exception: Other
78/ 78 Testing python-tests ***Failed

50% tests passed, 39 tests failed out of 78

The following tests FAILED:
6 - solvers (Failed)
41 - tutorial-03-poisson (OTHER_FAULT)
42 - tutorial-04-bc-dirichlet (OTHER_FAULT)
43 - tutorial-05-bc-neumann (OTHER_FAULT)
44 - tutorial-06-bc-newton (OTHER_FAULT)
45 - tutorial-07-general (OTHER_FAULT)
46 - tutorial-08-system (OTHER_FAULT)
47 - tutorial-09-timedep (OTHER_FAULT)
48 - tutorial-10-adapt-projection (OTHER_FAULT)
49 - tutorial-10-adapt-coarse (OTHER_FAULT)
50 - tutorial-11-system-adapt-projection (OTHER_FAULT)
51 - tutorial-11-system-adapt-coarse (OTHER_FAULT)
52 - tutorial-12-general-adapt-projection (OTHER_FAULT)
53 - tutorial-12-general-adapt-coarse (OTHER_FAULT)
54 - tutorial-13-newton-elliptic-1 (OTHER_FAULT)
55 - benchmark-layer-projection (OTHER_FAULT)
56 - benchmark-layer-coarse (OTHER_FAULT)
57 - benchmark-lshape-projection (OTHER_FAULT)
58 - benchmark-lshape-coarse (OTHER_FAULT)
59 - benchmark-smooth-iso-projection (OTHER_FAULT)
60 - benchmark-smooth-iso-coarse (OTHER_FAULT)
61 - benchmark-smooth-aniso-x-projection (OTHER_FAULT)
62 - benchmark-smooth-aniso-x-coarse (OTHER_FAULT)
63 - benchmark-smooth-aniso-y-projection (OTHER_FAULT)
64 - benchmark-smooth-aniso-y-coarse (OTHER_FAULT)
65 - benchmark-bessel-projection (OTHER_FAULT)
66 - benchmark-bessel-coarse (OTHER_FAULT)
67 - benchmark-screen-projection (OTHER_FAULT)
68 - benchmark-screen-coarse (OTHER_FAULT)
69 - example-np (OTHER_FAULT)
70 - example-saphir-projection (OTHER_FAULT)
71 - example-saphir-coarse (OTHER_FAULT)
72 - example-bracket-projection (OTHER_FAULT)
73 - example-bracket-coarse (OTHER_FAULT)
74 - example-singular-perturbation-projection (OTHER_FAULT)
75 - example-singular-perturbation-coarse (OTHER_FAULT)
76 - candidate_projection-quads (OTHER_FAULT)
77 - candidate_projection-tris (OTHER_FAULT)
78 - python-tests (Failed)
Errors while running CTest
make[3]: *** [CMakeFiles/test-quick] Error 8
make[2]: *** [CMakeFiles/test-quick.dir/all] Error 2
make[1]: *** [CMakeFiles/test-quick.dir/rule] Error 2
make: *** [test-quick] Error 2


Ondrej Certik

unread,
Aug 10, 2010, 8:42:24 PM8/10/10
to herm...@googlegroups.com
Hi Valmore,

On Tue, Aug 10, 2010 at 5:22 PM, Valmor de Almeida <val....@gmail.com> wrote:
>
> Hello,
>
> Just installed hermes2d and tried the make test-quick. Is there a place
> I could check why 50% failed?

Yes, just execute some particular test by hand, e.g. something like

cd tests/some/test
./some_test

and it would tell you exactly why it failed.

From the test, I would be that you don't have the python-scipy package
installed.

Ondrej

Valmor de Almeida

unread,
Aug 10, 2010, 8:48:57 PM8/10/10
to herm...@googlegroups.com

Hi Ondrej,

Indeed, I am in the process of installing scipy and its required
packages (I have a gentoo box). I found plenty of errors in
hermes2d/Testing/Temporary/LastTest.log. During the

cmake .

step, the following packages were not identified as missing:

cython
scipy

The first was needed in the make step. The second is needed for the tests.

Thanks,

--
Valmor

Ondrej Certik

unread,
Aug 10, 2010, 9:51:55 PM8/10/10
to herm...@googlegroups.com

Yes, we need to improve our cmake scripts to tell the user that some
particular package is missing.

If you know how to do it, maybe you can help us with it.

Ondrej

Pavel Solin

unread,
Aug 11, 2010, 3:36:00 AM8/11/10
to herm...@googlegroups.com
Hi Valmor,
  sorry for the problems with Scipy, this concept is relatively new in
H2D and your experience shows clearly that the cmake scripts have
to be improved.
  On the other I would suggest that you try to use the new version
of H2D in the branch change at my github address

g...@github.com:solin/hermes2d.git

Of course it depends what plans you have with Hermes. The new
version is not yet official but it contains some important changes. It is
not yet finished in the sense that not all examples and benchmarks
have been updated. The majority already passes and I am working on
the rest as hard as I can. Or at least look at the differences in the API.
The new version is more explicit in the treatment of matrices and vectors,
has simplified treatment of nonlinear problems, and it is virtually identical
to H3D.

Best,

Pavel



--
You received this message because you are subscribed to the Google Groups "hermes2d" group.
To post to this group, send email to herm...@googlegroups.com.
To unsubscribe from this group, send email to hermes2d+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/hermes2d?hl=en.




--
Pavel Solin
University of Nevada, Reno
http://hpfem.math.unr.edu/people/pavel/
Hermes project: http://hpfem.org/
FEMhub project: http://femhub.org/

Valmor de Almeida

unread,
Aug 11, 2010, 11:40:22 AM8/11/10
to herm...@googlegroups.com
On 08/10/2010 09:51 PM, Ondrej Certik wrote:
[snip]

>
> Yes, we need to improve our cmake scripts to tell the user that some
> particular package is missing.
>
> If you know how to do it, maybe you can help us with it.
>
> Ondrej
>

I don't use cmake but do use make extensively. Depending how it goes I
may look at the cmake scripts and try to improve.

For the record, after installing scipy and matplotlib (the latter is
needed for the python tests), I get the last three tests failing.

-> make test-quick
Start processing tests
....
74/ 78 Testing example-singular-perturbation- Passed
75/ 78 Testing example-singular-perturbation- Passed
76/ 78 Testing candidate_projection-quads ***Exception: SegFault
77/ 78 Testing candidate_projection-tris ***Exception: SegFault


78/ 78 Testing python-tests ***Failed

96% tests passed, 3 tests failed out of 78

The following tests FAILED:
76 - candidate_projection-quads (SEGFAULT)
77 - candidate_projection-tris (SEGFAULT)


78 - python-tests (Failed)
Errors while running CTest
make[3]: *** [CMakeFiles/test-quick] Error 8
make[2]: *** [CMakeFiles/test-quick.dir/all] Error 2
make[1]: *** [CMakeFiles/test-quick.dir/rule] Error 2
make: *** [test-quick] Error 2


Looking closely in the LastTest.log at the python test section (below)
only the hermes2d/_hermes2d.pyx is failing.


============================ test process start
============================
executable: /usr/bin/python2.6 (2.6.5-final-0)
hermes2d/__init__.py[0]
[OK]
hermes2d/_hermes2d.pyx[12] [?1034h..F....F....
[FAIL]
hermes2d/convert_api.py[0]
[OK]
hermes2d/demos.py[0]
[OK]
hermes2d/examples/__init__.py[0]
[OK]
hermes2d/examples/c03.pyx[0]
[OK]
hermes2d/examples/c04.pyx[0]
[OK]
hermes2d/examples/c05.pyx[0]
[OK]
hermes2d/examples/c06.pyx[0]
[OK]
hermes2d/examples/c07.pyx[0]
[OK]
hermes2d/examples/c08.pyx[0]
[OK]
hermes2d/examples/c09.pyx[0]
[OK]
hermes2d/examples/c10.pyx[0]
[OK]
hermes2d/examples/c11.pyx[0]
[OK]
hermes2d/examples/c12.pyx[0]
[OK]
hermes2d/examples/c22.pyx[0]
[OK]
hermes2d/forms.pyx[0]
[OK]
hermes2d/mesh.py[1] .
[OK]
hermes2d/plot.py[1] .
[OK]
hermes2d/run.py[0]
[OK]
hermes2d/runtests.py[0]
[OK]


The other two tests, 76 and 77, is segfault problem.

Thanks,

--
Valmor

Valmor de Almeida

unread,
Aug 11, 2010, 11:44:15 AM8/11/10
to herm...@googlegroups.com
On 08/11/2010 03:36 AM, Pavel Solin wrote:
> Hi Valmor,
> sorry for the problems with Scipy, this concept is relatively new in
> H2D and your experience shows clearly that the cmake scripts have
> to be improved.
> On the other I would suggest that you try to use the new version
> of H2D in the branch change at my github address
>
> g...@github.com:solin/hermes2d.git
>
> Of course it depends what plans you have with Hermes. The new
> version is not yet official but it contains some important changes. It is
> not yet finished in the sense that not all examples and benchmarks
> have been updated. The majority already passes and I am working on
> the rest as hard as I can. Or at least look at the differences in the API.
> The new version is more explicit in the treatment of matrices and vectors,
> has simplified treatment of nonlinear problems, and it is virtually
> identical
> to H3D.
>
> Best,
>
> Pavel
>
>

Hi Pavel,

Thanks for the update. I will switch to your branch. I am giving hermes
a try in the area of image processing and microthermal conduction. Will
see how it goes and let you know.

Thanks,

--
Valmor

Reply all
Reply to author
Forward
0 new messages