Heat PDE Fortran example never computed anything
Throughout its lifetime the Fortran-based heat example was always faster than its counterpart in C (checkout Job 373284). And it printed less.
Truncated output of TestHeatcBase
:
Start 8: TestHeatcBase
8: Test command: /tmp/tmp.RKtGSbepzA/prefix.melissa-sa/share/melissa/examples/heat_example_base/bin/heatc_base "5"
8: Test timeout computed to be: 1500
8: Time step: 0.01
8: Time step: 0.02
8: Time step: 0.03
[snip]
8: Time step: 0.99
8: Time step: 1
8: Calcul time: 3.606 sec
1/1 Test #8: TestHeatcBase .................... Passed 4.13 sec
Output of TestHeatfBase
:
Start 9: TestHeatfBase
9: Test command: /tmp/tmp.RKtGSbepzA/prefix.melissa-sa/share/melissa/examples/heat_example_base/bin/heatf_base "5"
9: Test timeout computed to be: 1500
9: Missing parameter
1/1 Test #9: TestHeatfBase .................... Passed 0.27 sec
Problems:
- The test counts the number of parameters incorrectly in
heat_base.f90
, line 38 - The program exits with code zero indicating success
heat_base.f90
, line 40
Attention:
- The problems occur in
examples/heat_example_base/heat_base.f90
and its near-cloneexamples/heat_example/src/heat.f90
.
Edited by Christoph Conrads