Failed Teko_testdriver_tpetra with static libraries
Created by: bavier
At commit 9a211e06 on trilinos-release-12-6-branch with this configuration:
$ gcc --version | head -n1
gcc (GCC) 4.9.3
$ cmake \
-DCMAKE_C_COMPILER="gcc" \
-DCMAKE_CXX_COMPILER="g++" \
-DBUILD_SHARED_LIBS:BOOL=OFF \
-DTrilinos_ENABLE_ALL_PACKAGES:BOOL=OFF \
-DTrilinos_ENABLE_Teko:BOOL=ON \
-DTrilinos_ENABLE_TESTS:BOOL=ON \
..
I get the following error when running make test
$ make test
[...]
94% tests passed, 1 tests failed out of 17
Label Time Summary:
Teko = 10.97 sec
Total Test time (real) = 6.20 sec
The following tests FAILED:
2 - Teko_testdriver_tpetra (SEGFAULT)
Errors while running CTest
Some relevant-looking output from Testing/Temporary/LastTest.log
:
Teko: Building LSC strategy "Basic Inverse"
Teko: Begin debug MSG
LSC Inverse Strategy Parameters:
inv type = "Amesos"
inv v type = "Ifpack"
inv p type = "Ifpack"
bndry rows = 1
use ldu = 1
use mass = 0
use w-scaling = 0
assume stable = 0
scale type = Diagonal
LSC Inverse Strategy Parameter list:
Inverse Type = Amesos
Inverse Velocity Type = Ifpack
Inverse Pressure Type = Ifpack
Ignore Boundary Rows = 1
Use LDU = 1
Teko: End debug MSG
Error: Allocation pool destroyed with the following memory leak(s):
{ Aligned Allocator } : "" ref_count(2) memory[ 0x3674200 + 81208 ]
{ Aligned Allocator } : "" ref_count(2) memory[ 0x36bdb00 + 81208 ]
{ Aligned Allocator } : "" ref_count(2) memory[ 0x3721b00 + 81208 ]
{ Aligned Allocator } : "" ref_count(2) memory[ 0x3745d80 + 16536 ]
{ Aligned Allocator } : "" ref_count(2) memory[ 0x3776080 + 16536 ]
{ Aligned Allocator } : "" ref_count(2) memory[ 0x37f0b00 + 81208 ]
{ Aligned Allocator } : "" ref_count(2) memory[ 0x3853600 + 81208 ]
{ Aligned Allocator } : "" ref_count(3) memory[ 0x366a300 + 40604 ]
{ Aligned Allocator } : "" ref_count(3) memory[ 0x36b3b80 + 40604 ]
{ Aligned Allocator } : "" ref_count(3) memory[ 0x370e300 + 8268 ]
{ Aligned Allocator } : "" ref_count(3) memory[ 0x3717b80 + 40604 ]
{ Aligned Allocator } : "" ref_count(3) memory[ 0x3773f80 + 8268 ]
{ Aligned Allocator } : "" ref_count(3) memory[ 0x37e6c00 + 40604 ]
Teko: Inverse "Ifpack" is of type strat prec = 1, strat solv = 0, block prec = 0
Teko: Begin debug MSG
Looked up "NS LSC"
Built Teuchos::RCP<Teko::PreconditionerFactory>{ptr=0x3dbdb68,node=0x35fcfe0,strong_count=1,weak_count=0}
Teko: End debug MSG
Teko: Building LSC strategy "Basic Inverse"
Teko: Begin debug MSG
LSC Inverse Strategy Parameters:
inv type = "Amesos"
inv v type = "Ifpack"
inv p type = "Ifpack"
bndry rows = 1
use ldu = 1
use mass = 0
use w-scaling = 0
assume stable = 0
scale type = Diagonal
LSC Inverse Strategy Parameter list:
Inverse Type = Amesos
Inverse Velocity Type = Ifpack
Inverse Pressure Type = Ifpack
Ignore Boundary Rows = 1
Use LDU = 1
Teko: End debug MSG
Teko: Inverse "Ifpack" is of type strat prec = 1, strat solv = 0, block prec = 0
Teko: Begin debug MSG
Looked up "NS LSC"
{ Aligned Allocator } : "" ref_count(3) memory[ 0x3849700 + 40604 ]
{ Aligned Allocator } : "DualView::modified_device" ref_count(1) memory[ 0x359cb00 + 4 ]
{ Aligned Allocator } : "DualView::modified_device" ref_count(1) memory[ 0x359e080 + 4 ]
{ Aligned Allocator } : "DualView::modified_device" ref_count(1) memory[ 0x359ea00 + 4 ]
{ Aligned Allocator } : "DualView::modified_device" ref_count(1) memory[ 0x359f400 + 4 ]
{ Aligned Allocator } : "DualView::modified_device" ref_count(1) memory[ 0x359fe00 + 4 ]
{ Aligned Allocator } : "DualView::modified_device" ref_count(1) memory[ 0x35a0880 + 4 ]
{ Aligned Allocator } : "DualView::modified_device" ref_count(1) memory[ 0x35a1900 + 4 ]
{ Aligned Allocator } : "DualView::modified_device" ref_count(1) memory[ 0x35a2180 + 4 ]
{ Aligned Allocator } : "DualView::modified_device" ref_count(1) memory[ 0x35a2900 + 4 ]
{ Aligned Allocator } : "DualView::modified_device" ref_count(1) memory[ 0x35a3080 + 4 ]
I see no error when the build and tests are configured with -DBUILD_SHARED_LIBS:BOOL=ON
.