This needs more investigations, but the issue seems to be a peculiar setup within the test.
For debug/test cases, rand_mat
in RandomizedSVD::computeSVD
is a matrix of 1.
As a result, the projected snapshot matrix rand_proj
becomes 1-rank matrix.
The resulting Q
matrix from qr factorization can have arbitrary orthonormal column basis except one column.
The result of SVD will depend on these arbitrary column basis of Q
, although the answer is fixed to one case.
[==========] Running 5 tests from 2 test suites.
[----------] Global test environment set-up.
[----------] 1 test from GoogleTestFramework
[ RUN ] GoogleTestFramework.GoogleTestFrameworkFound
[ OK ] GoogleTestFramework.GoogleTestFrameworkFound (0 ms)
[----------] 1 test from GoogleTestFramework (0 ms total)
[----------] 4 tests from RandomizedSVDTest
[ RUN ] RandomizedSVDTest.Test_RandomizedSVD
Distribution of sampler's A and U:
Local data: ( 0.5377 -1.3077 -1.3499
1.8339 -0.4336 3.0349
-2.2588 0.3426 0.7254
0.8622 3.5784 -0.0631
0.3188 2.7694 0.7147
)
Process rank 0
=================
A->ctxt = 1
A->(m, n) = (5, 3)
A->(nprow, npcol) = (1, 1)
A->(pi, pj) = (0, 0)
A->(mb, nb) = (5, 5)
A->(mm, mn) = (5, 3)
Distribution of sampler's V:
Local data: ( -0.9093 -0.1798 -0.3752
0.4131 -0.2823 -0.8658
-0.0498 0.9423 -0.3310
)
Process rank 0
=================
A->ctxt = 2
A->(m, n) = (3, 3)
A->(nprow, npcol) = (1, 1)
A->(pi, pj) = (0, 0)
A->(mb, nb) = (5, 5)
A->(mm, mn) = (3, 3)
Computed singular values: 4.7698E+00 3.6011E+00 1.4576E+00
/g/g92/chung28/libROM/unit_tests/test_RandomizedSVD.cpp:111: Failure
The difference between abs(d_basis_vals[i]) and abs(basis_true_ans[row_offset[d_rank] * 3 + i]) is 0.1654678695838297, which exceeds 1e-7, where
abs(d_basis_vals[i]) evaluates to 0.29609110552784845,
abs(basis_true_ans[row_offset[d_rank] * 3 + i]) evaluates to 0.46155897511167815, and
1e-7 evaluates to 9.9999999999999995e-08.
/g/g92/chung28/libROM/unit_tests/test_RandomizedSVD.cpp:111: Failure
The difference between abs(d_basis_vals[i]) and abs(basis_true_ans[row_offset[d_rank] * 3 + i]) is 0.30832233292278777, which exceeds 1e-7, where
abs(d_basis_vals[i]) evaluates to 0.12904302167895709,
abs(basis_true_ans[row_offset[d_rank] * 3 + i]) evaluates to 0.43736535460174486, and
1e-7 evaluates to 9.9999999999999995e-08.
/g/g92/chung28/libROM/unit_tests/test_RandomizedSVD.cpp:111: Failure
The difference between abs(d_basis_vals[i]) and abs(basis_true_ans[row_offset[d_rank] * 3 + i]) is 0.77882650318085811, which exceeds 1e-7, where
abs(d_basis_vals[i]) evaluates to 0.94545421529976204,
abs(basis_true_ans[row_offset[d_rank] * 3 + i]) evaluates to 0.16662771211890387, and
1e-7 evaluates to 9.9999999999999995e-08.
/g/g92/chung28/libROM/unit_tests/test_RandomizedSVD.cpp:111: Failure
The difference between abs(d_basis_vals[i]) and abs(basis_true_ans[row_offset[d_rank] * 3 + i]) is 0.13884202231635007, which exceeds 1e-7, where
abs(d_basis_vals[i]) evaluates to 0.18626762787368634,
abs(basis_true_ans[row_offset[d_rank] * 3 + i]) evaluates to 0.3251096501900364, and
1e-7 evaluates to 9.9999999999999995e-08.
/g/g92/chung28/libROM/unit_tests/test_RandomizedSVD.cpp:111: Failure
The difference between abs(d_basis_vals[i]) and abs(basis_true_ans[row_offset[d_rank] * 3 + i]) is 0.20455937598306617, which exceeds 1e-7, where
abs(d_basis_vals[i]) evaluates to 0.9622878546191842,
abs(basis_true_ans[row_offset[d_rank] * 3 + i]) evaluates to 0.75772847863611803, and
1e-7 evaluates to 9.9999999999999995e-08.
/g/g92/chung28/libROM/unit_tests/test_RandomizedSVD.cpp:111: Failure
The difference between abs(d_basis_vals[i]) and abs(basis_true_ans[row_offset[d_rank] * 3 + i]) is 0.26120084453304221, which exceeds 1e-7, where
abs(d_basis_vals[i]) evaluates to 0.19065741811692377,
abs(basis_true_ans[row_offset[d_rank] * 3 + i]) evaluates to 0.45185826264996598, and
1e-7 evaluates to 9.9999999999999995e-08.
/g/g92/chung28/libROM/unit_tests/test_RandomizedSVD.cpp:111: Failure
The difference between abs(d_basis_vals[i]) and abs(basis_true_ans[row_offset[d_rank] * 3 + i]) is 0.17518683713505692, which exceeds 1e-7, where
abs(d_basis_vals[i]) evaluates to 0.18257233495826697,
abs(basis_true_ans[row_offset[d_rank] * 3 + i]) evaluates to 0.0073854978232100466, and
1e-7 evaluates to 9.9999999999999995e-08.
/g/g92/chung28/libROM/unit_tests/test_RandomizedSVD.cpp:111: Failure
The difference between abs(d_basis_vals[i]) and abs(basis_true_ans[row_offset[d_rank] * 3 + i]) is 0.44415745273978052, which exceeds 1e-7, where
abs(d_basis_vals[i]) evaluates to 0.037611622210901322,
abs(basis_true_ans[row_offset[d_rank] * 3 + i]) evaluates to 0.48176907495068183, and
1e-7 evaluates to 9.9999999999999995e-08.
/g/g92/chung28/libROM/unit_tests/test_RandomizedSVD.cpp:111: Failure
The difference between abs(d_basis_vals[i]) and abs(basis_true_ans[row_offset[d_rank] * 3 + i]) is 0.78549822817264658, which exceeds 1e-7, where
abs(d_basis_vals[i]) evaluates to 0.085985452566386622,
abs(basis_true_ans[row_offset[d_rank] * 3 + i]) evaluates to 0.87148368073903315, and
1e-7 evaluates to 9.9999999999999995e-08.
/g/g92/chung28/libROM/unit_tests/test_RandomizedSVD.cpp:111: Failure
The difference between abs(d_basis_vals[i]) and abs(basis_true_ans[row_offset[d_rank] * 3 + i]) is 0.088751412265948515, which exceeds 1e-7, where
abs(d_basis_vals[i]) evaluates to 0.71182477196996774,
abs(basis_true_ans[row_offset[d_rank] * 3 + i]) evaluates to 0.62307335970401923, and
1e-7 evaluates to 9.9999999999999995e-08.
/g/g92/chung28/libROM/unit_tests/test_RandomizedSVD.cpp:111: Failure
The difference between abs(d_basis_vals[i]) and abs(basis_true_ans[row_offset[d_rank] * 3 + i]) is 0.17705237494593254, which exceeds 1e-7, where
abs(d_basis_vals[i]) evaluates to 0.21447709666524431,
abs(basis_true_ans[row_offset[d_rank] * 3 + i]) evaluates to 0.037424721719311764, and
1e-7 evaluates to 9.9999999999999995e-08.
/g/g92/chung28/libROM/unit_tests/test_RandomizedSVD.cpp:111: Failure
The difference between abs(d_basis_vals[i]) and abs(basis_true_ans[row_offset[d_rank] * 3 + i]) is 0.135703802018661, which exceeds 1e-7, where
abs(d_basis_vals[i]) evaluates to 0.20561196161382506,
abs(basis_true_ans[row_offset[d_rank] * 3 + i]) evaluates to 0.069908159595164068, and
1e-7 evaluates to 9.9999999999999995e-08.
/g/g92/chung28/libROM/unit_tests/test_RandomizedSVD.cpp:111: Failure
The difference between abs(d_basis_vals[i]) and abs(basis_true_ans[row_offset[d_rank] * 3 + i]) is 0.039752393551045428, which exceeds 1e-7, where
abs(d_basis_vals[i]) evaluates to 0.58103981322401277,
abs(basis_true_ans[row_offset[d_rank] * 3 + i]) evaluates to 0.54128741967296734, and
1e-7 evaluates to 9.9999999999999995e-08.
/g/g92/chung28/libROM/unit_tests/test_RandomizedSVD.cpp:111: Failure
The difference between abs(d_basis_vals[i]) and abs(basis_true_ans[row_offset[d_rank] * 3 + i]) is 0.067161817549816108, which exceeds 1e-7, where
abs(d_basis_vals[i]) evaluates to 0.0996740903599522,
abs(basis_true_ans[row_offset[d_rank] * 3 + i]) evaluates to 0.032512272810136092, and
1e-7 evaluates to 9.9999999999999995e-08.
/g/g92/chung28/libROM/unit_tests/test_RandomizedSVD.cpp:111: Failure
The difference between abs(d_basis_vals[i]) and abs(basis_true_ans[row_offset[d_rank] * 3 + i]) is 0.081029550084531832, which exceeds 1e-7, where
abs(d_basis_vals[i]) evaluates to 0.14176141533283554,
abs(basis_true_ans[row_offset[d_rank] * 3 + i]) evaluates to 0.0607318652483037, and
1e-7 evaluates to 9.9999999999999995e-08.
/g/g92/chung28/libROM/unit_tests/test_RandomizedSVD.cpp:116: Failure
The difference between abs(d_basis_right_vals[i]) and abs(basis_right_true_ans[i]) is 0.072827062654433949, which exceeds 1e-7, where
abs(d_basis_right_vals[i]) evaluates to 0.29220118965151742,
abs(basis_right_true_ans[i]) evaluates to 0.21937412699708347, and
1e-7 evaluates to 9.9999999999999995e-08.
/g/g92/chung28/libROM/unit_tests/test_RandomizedSVD.cpp:116: Failure
The difference between abs(d_basis_right_vals[i]) and abs(basis_right_true_ans[i]) is 0.4337083177025543, which exceeds 1e-7, where
abs(d_basis_right_vals[i]) evaluates to 0.38701827790664817,
abs(basis_right_true_ans[i]) evaluates to 0.82072659560920247, and
1e-7 evaluates to 9.9999999999999995e-08.
/g/g92/chung28/libROM/unit_tests/test_RandomizedSVD.cpp:116: Failure
The difference between abs(d_basis_right_vals[i]) and abs(basis_right_true_ans[i]) is 0.34702342589123303, which exceeds 1e-7, where
abs(d_basis_right_vals[i]) evaluates to 0.8745486363447208,
abs(basis_right_true_ans[i]) evaluates to 0.52752521045348777, and
1e-7 evaluates to 9.9999999999999995e-08.
/g/g92/chung28/libROM/unit_tests/test_RandomizedSVD.cpp:116: Failure
The difference between abs(d_basis_right_vals[i]) and abs(basis_right_true_ans[i]) is 0.038844274799944456, which exceeds 1e-7, where
abs(d_basis_right_vals[i]) evaluates to 0.92250639604755147,
abs(basis_right_true_ans[i]) evaluates to 0.88366212124760701, and
1e-7 evaluates to 9.9999999999999995e-08.
/g/g92/chung28/libROM/unit_tests/test_RandomizedSVD.cpp:116: Failure
The difference between abs(d_basis_right_vals[i]) and abs(basis_right_true_ans[i]) is 0.041121452159888772, which exceeds 1e-7, where
abs(d_basis_right_vals[i]) evaluates to 0.35520511662783122,
abs(basis_right_true_ans[i]) evaluates to 0.39632656878771999, and
1e-7 evaluates to 9.9999999999999995e-08.
/g/g92/chung28/libROM/unit_tests/test_RandomizedSVD.cpp:116: Failure
The difference between abs(d_basis_right_vals[i]) and abs(basis_right_true_ans[i]) is 0.098097486849904242, which exceeds 1e-7, where
abs(d_basis_right_vals[i]) evaluates to 0.15103401727017279,
abs(basis_right_true_ans[i]) evaluates to 0.24913150412007704, and
1e-7 evaluates to 9.9999999999999995e-08.
/g/g92/chung28/libROM/unit_tests/test_RandomizedSVD.cpp:116: Failure
The difference between abs(d_basis_right_vals[i]) and abs(basis_right_true_ans[i]) is 0.16134988274320927, which exceeds 1e-7, where
abs(d_basis_right_vals[i]) evaluates to 0.25219122510031233,
abs(basis_right_true_ans[i]) evaluates to 0.4135411078435216, and
1e-7 evaluates to 9.9999999999999995e-08.
/g/g92/chung28/libROM/unit_tests/test_RandomizedSVD.cpp:116: Failure
The difference between abs(d_basis_right_vals[i]) and abs(basis_right_true_ans[i]) is 0.43940798994975394, which exceeds 1e-7, where
abs(d_basis_right_vals[i]) evaluates to 0.85090903020686104,
abs(basis_right_true_ans[i]) evaluates to 0.4115010402571071, and
1e-7 evaluates to 9.9999999999999995e-08.
/g/g92/chung28/libROM/unit_tests/test_RandomizedSVD.cpp:116: Failure
The difference between abs(d_basis_right_vals[i]) and abs(basis_right_true_ans[i]) is 0.35137060506876022, which exceeds 1e-7, where
abs(d_basis_right_vals[i]) evaluates to 0.46081819440514998,
abs(basis_right_true_ans[i]) evaluates to 0.81218879947391021, and
1e-7 evaluates to 9.9999999999999995e-08.
/g/g92/chung28/libROM/unit_tests/test_RandomizedSVD.cpp:120: Failure
The difference between sv->item(i) and sv_true_ans[i] is 0.023920151572226267, which exceeds 1e-7, where
sv->item(i) evaluates to 4.7698410058819114,
sv_true_ans[i] evaluates to 4.7459208543096851, and
1e-7 evaluates to 9.9999999999999995e-08.
/g/g92/chung28/libROM/unit_tests/test_RandomizedSVD.cpp:120: Failure
The difference between sv->item(i) and sv_true_ans[i] is 0.34746642981073617, which exceeds 1e-7, where
sv->item(i) evaluates to 3.6011164288318369,
sv_true_ans[i] evaluates to 3.2536499990211007, and
1e-7 evaluates to 9.9999999999999995e-08.
/g/g92/chung28/libROM/unit_tests/test_RandomizedSVD.cpp:120: Failure
The difference between sv->item(i) and sv_true_ans[i] is 0.68429221224446657, which exceeds 1e-7, where
sv->item(i) evaluates to 1.4575672872210159,
sv_true_ans[i] evaluates to 2.1418594994654825, and
1e-7 evaluates to 9.9999999999999995e-08.
[ FAILED ] RandomizedSVDTest.Test_RandomizedSVD (7 ms)
[ RUN ] RandomizedSVDTest.Test_RandomizedSVDTransposed
Distribution of sampler's A and U:
Local data: ( 0.5377 1.8339 -2.2588 0.8622 0.3188
-1.3077 -0.4336 0.3426 3.5784 2.7694
-1.3499 3.0349 0.7254 -0.0631 0.7147
)
Process rank 0
=================
A->ctxt = 1
A->(m, n) = (3, 5)
A->(nprow, npcol) = (1, 1)
A->(pi, pj) = (0, 0)
A->(mb, nb) = (3, 3)
A->(mm, mn) = (3, 5)
Distribution of sampler's V:
Local data: ( -0.9093 -0.1798 -0.3752
0.4131 -0.2823 -0.8658
-0.0498 0.9423 -0.3310
)
Process rank 0
=================
A->ctxt = 2
A->(m, n) = (3, 3)
A->(nprow, npcol) = (1, 1)
A->(pi, pj) = (0, 0)
A->(mb, nb) = (3, 3)
A->(mm, mn) = (3, 3)
Computed singular values: 4.7698E+00 3.6011E+00 1.4576E+00
/g/g92/chung28/libROM/unit_tests/test_RandomizedSVD.cpp:228: Failure
The difference between abs(d_basis_right_vals[i]) and abs(basis_right_true_ans[row_offset[d_rank] * 3 + i]) is 0.1654678695838297, which exceeds 1e-7, where
abs(d_basis_right_vals[i]) evaluates to 0.29609110552784845,
abs(basis_right_true_ans[row_offset[d_rank] * 3 + i]) evaluates to 0.46155897511167815, and
1e-7 evaluates to 9.9999999999999995e-08.
/g/g92/chung28/libROM/unit_tests/test_RandomizedSVD.cpp:228: Failure
The difference between abs(d_basis_right_vals[i]) and abs(basis_right_true_ans[row_offset[d_rank] * 3 + i]) is 0.30832233292278777, which exceeds 1e-7, where
abs(d_basis_right_vals[i]) evaluates to 0.12904302167895709,
abs(basis_right_true_ans[row_offset[d_rank] * 3 + i]) evaluates to 0.43736535460174486, and
1e-7 evaluates to 9.9999999999999995e-08.
/g/g92/chung28/libROM/unit_tests/test_RandomizedSVD.cpp:228: Failure
The difference between abs(d_basis_right_vals[i]) and abs(basis_right_true_ans[row_offset[d_rank] * 3 + i]) is 0.77882650318085811, which exceeds 1e-7, where
abs(d_basis_right_vals[i]) evaluates to 0.94545421529976204,
abs(basis_right_true_ans[row_offset[d_rank] * 3 + i]) evaluates to 0.16662771211890387, and
1e-7 evaluates to 9.9999999999999995e-08.
/g/g92/chung28/libROM/unit_tests/test_RandomizedSVD.cpp:228: Failure
The difference between abs(d_basis_right_vals[i]) and abs(basis_right_true_ans[row_offset[d_rank] * 3 + i]) is 0.13884202231635007, which exceeds 1e-7, where
abs(d_basis_right_vals[i]) evaluates to 0.18626762787368634,
abs(basis_right_true_ans[row_offset[d_rank] * 3 + i]) evaluates to 0.3251096501900364, and
1e-7 evaluates to 9.9999999999999995e-08.
/g/g92/chung28/libROM/unit_tests/test_RandomizedSVD.cpp:228: Failure
The difference between abs(d_basis_right_vals[i]) and abs(basis_right_true_ans[row_offset[d_rank] * 3 + i]) is 0.20455937598306617, which exceeds 1e-7, where
abs(d_basis_right_vals[i]) evaluates to 0.9622878546191842,
abs(basis_right_true_ans[row_offset[d_rank] * 3 + i]) evaluates to 0.75772847863611803, and
1e-7 evaluates to 9.9999999999999995e-08.
/g/g92/chung28/libROM/unit_tests/test_RandomizedSVD.cpp:228: Failure
The difference between abs(d_basis_right_vals[i]) and abs(basis_right_true_ans[row_offset[d_rank] * 3 + i]) is 0.26120084453304221, which exceeds 1e-7, where
abs(d_basis_right_vals[i]) evaluates to 0.19065741811692377,
abs(basis_right_true_ans[row_offset[d_rank] * 3 + i]) evaluates to 0.45185826264996598, and
1e-7 evaluates to 9.9999999999999995e-08.
/g/g92/chung28/libROM/unit_tests/test_RandomizedSVD.cpp:228: Failure
The difference between abs(d_basis_right_vals[i]) and abs(basis_right_true_ans[row_offset[d_rank] * 3 + i]) is 0.17518683713505692, which exceeds 1e-7, where
abs(d_basis_right_vals[i]) evaluates to 0.18257233495826697,
abs(basis_right_true_ans[row_offset[d_rank] * 3 + i]) evaluates to 0.0073854978232100466, and
1e-7 evaluates to 9.9999999999999995e-08.
/g/g92/chung28/libROM/unit_tests/test_RandomizedSVD.cpp:228: Failure
The difference between abs(d_basis_right_vals[i]) and abs(basis_right_true_ans[row_offset[d_rank] * 3 + i]) is 0.44415745273978052, which exceeds 1e-7, where
abs(d_basis_right_vals[i]) evaluates to 0.037611622210901322,
abs(basis_right_true_ans[row_offset[d_rank] * 3 + i]) evaluates to 0.48176907495068183, and
1e-7 evaluates to 9.9999999999999995e-08.
/g/g92/chung28/libROM/unit_tests/test_RandomizedSVD.cpp:228: Failure
The difference between abs(d_basis_right_vals[i]) and abs(basis_right_true_ans[row_offset[d_rank] * 3 + i]) is 0.78549822817264658, which exceeds 1e-7, where
abs(d_basis_right_vals[i]) evaluates to 0.085985452566386622,
abs(basis_right_true_ans[row_offset[d_rank] * 3 + i]) evaluates to 0.87148368073903315, and
1e-7 evaluates to 9.9999999999999995e-08.
/g/g92/chung28/libROM/unit_tests/test_RandomizedSVD.cpp:228: Failure
The difference between abs(d_basis_right_vals[i]) and abs(basis_right_true_ans[row_offset[d_rank] * 3 + i]) is 0.088751412265948515, which exceeds 1e-7, where
abs(d_basis_right_vals[i]) evaluates to 0.71182477196996774,
abs(basis_right_true_ans[row_offset[d_rank] * 3 + i]) evaluates to 0.62307335970401923, and
1e-7 evaluates to 9.9999999999999995e-08.
/g/g92/chung28/libROM/unit_tests/test_RandomizedSVD.cpp:228: Failure
The difference between abs(d_basis_right_vals[i]) and abs(basis_right_true_ans[row_offset[d_rank] * 3 + i]) is 0.17705237494593254, which exceeds 1e-7, where
abs(d_basis_right_vals[i]) evaluates to 0.21447709666524431,
abs(basis_right_true_ans[row_offset[d_rank] * 3 + i]) evaluates to 0.037424721719311764, and
1e-7 evaluates to 9.9999999999999995e-08.
/g/g92/chung28/libROM/unit_tests/test_RandomizedSVD.cpp:228: Failure
The difference between abs(d_basis_right_vals[i]) and abs(basis_right_true_ans[row_offset[d_rank] * 3 + i]) is 0.135703802018661, which exceeds 1e-7, where
abs(d_basis_right_vals[i]) evaluates to 0.20561196161382506,
abs(basis_right_true_ans[row_offset[d_rank] * 3 + i]) evaluates to 0.069908159595164068, and
1e-7 evaluates to 9.9999999999999995e-08.
/g/g92/chung28/libROM/unit_tests/test_RandomizedSVD.cpp:228: Failure
The difference between abs(d_basis_right_vals[i]) and abs(basis_right_true_ans[row_offset[d_rank] * 3 + i]) is 0.039752393551045428, which exceeds 1e-7, where
abs(d_basis_right_vals[i]) evaluates to 0.58103981322401277,
abs(basis_right_true_ans[row_offset[d_rank] * 3 + i]) evaluates to 0.54128741967296734, and
1e-7 evaluates to 9.9999999999999995e-08.
/g/g92/chung28/libROM/unit_tests/test_RandomizedSVD.cpp:228: Failure
The difference between abs(d_basis_right_vals[i]) and abs(basis_right_true_ans[row_offset[d_rank] * 3 + i]) is 0.067161817549816108, which exceeds 1e-7, where
abs(d_basis_right_vals[i]) evaluates to 0.0996740903599522,
abs(basis_right_true_ans[row_offset[d_rank] * 3 + i]) evaluates to 0.032512272810136092, and
1e-7 evaluates to 9.9999999999999995e-08.
/g/g92/chung28/libROM/unit_tests/test_RandomizedSVD.cpp:228: Failure
The difference between abs(d_basis_right_vals[i]) and abs(basis_right_true_ans[row_offset[d_rank] * 3 + i]) is 0.081029550084531832, which exceeds 1e-7, where
abs(d_basis_right_vals[i]) evaluates to 0.14176141533283554,
abs(basis_right_true_ans[row_offset[d_rank] * 3 + i]) evaluates to 0.0607318652483037, and
1e-7 evaluates to 9.9999999999999995e-08.
/g/g92/chung28/libROM/unit_tests/test_RandomizedSVD.cpp:233: Failure
The difference between abs(d_basis_vals[i]) and abs(basis_true_ans[i]) is 0.072827062654433949, which exceeds 1e-7, where
abs(d_basis_vals[i]) evaluates to 0.29220118965151742,
abs(basis_true_ans[i]) evaluates to 0.21937412699708347, and
1e-7 evaluates to 9.9999999999999995e-08.
/g/g92/chung28/libROM/unit_tests/test_RandomizedSVD.cpp:233: Failure
The difference between abs(d_basis_vals[i]) and abs(basis_true_ans[i]) is 0.4337083177025543, which exceeds 1e-7, where
abs(d_basis_vals[i]) evaluates to 0.38701827790664817,
abs(basis_true_ans[i]) evaluates to 0.82072659560920247, and
1e-7 evaluates to 9.9999999999999995e-08.
/g/g92/chung28/libROM/unit_tests/test_RandomizedSVD.cpp:233: Failure
The difference between abs(d_basis_vals[i]) and abs(basis_true_ans[i]) is 0.34702342589123303, which exceeds 1e-7, where
abs(d_basis_vals[i]) evaluates to 0.8745486363447208,
abs(basis_true_ans[i]) evaluates to 0.52752521045348777, and
1e-7 evaluates to 9.9999999999999995e-08.
/g/g92/chung28/libROM/unit_tests/test_RandomizedSVD.cpp:233: Failure
The difference between abs(d_basis_vals[i]) and abs(basis_true_ans[i]) is 0.038844274799944456, which exceeds 1e-7, where
abs(d_basis_vals[i]) evaluates to 0.92250639604755147,
abs(basis_true_ans[i]) evaluates to 0.88366212124760701, and
1e-7 evaluates to 9.9999999999999995e-08.
/g/g92/chung28/libROM/unit_tests/test_RandomizedSVD.cpp:233: Failure
The difference between abs(d_basis_vals[i]) and abs(basis_true_ans[i]) is 0.041121452159888772, which exceeds 1e-7, where
abs(d_basis_vals[i]) evaluates to 0.35520511662783122,
abs(basis_true_ans[i]) evaluates to 0.39632656878771999, and
1e-7 evaluates to 9.9999999999999995e-08.
/g/g92/chung28/libROM/unit_tests/test_RandomizedSVD.cpp:233: Failure
The difference between abs(d_basis_vals[i]) and abs(basis_true_ans[i]) is 0.098097486849904242, which exceeds 1e-7, where
abs(d_basis_vals[i]) evaluates to 0.15103401727017279,
abs(basis_true_ans[i]) evaluates to 0.24913150412007704, and
1e-7 evaluates to 9.9999999999999995e-08.
/g/g92/chung28/libROM/unit_tests/test_RandomizedSVD.cpp:233: Failure
The difference between abs(d_basis_vals[i]) and abs(basis_true_ans[i]) is 0.16134988274320927, which exceeds 1e-7, where
abs(d_basis_vals[i]) evaluates to 0.25219122510031233,
abs(basis_true_ans[i]) evaluates to 0.4135411078435216, and
1e-7 evaluates to 9.9999999999999995e-08.
/g/g92/chung28/libROM/unit_tests/test_RandomizedSVD.cpp:233: Failure
The difference between abs(d_basis_vals[i]) and abs(basis_true_ans[i]) is 0.43940798994975394, which exceeds 1e-7, where
abs(d_basis_vals[i]) evaluates to 0.85090903020686104,
abs(basis_true_ans[i]) evaluates to 0.4115010402571071, and
1e-7 evaluates to 9.9999999999999995e-08.
/g/g92/chung28/libROM/unit_tests/test_RandomizedSVD.cpp:233: Failure
The difference between abs(d_basis_vals[i]) and abs(basis_true_ans[i]) is 0.35137060506876022, which exceeds 1e-7, where
abs(d_basis_vals[i]) evaluates to 0.46081819440514998,
abs(basis_true_ans[i]) evaluates to 0.81218879947391021, and
1e-7 evaluates to 9.9999999999999995e-08.
/g/g92/chung28/libROM/unit_tests/test_RandomizedSVD.cpp:237: Failure
The difference between sv->item(i) and sv_true_ans[i] is 0.023920151572226267, which exceeds 1e-7, where
sv->item(i) evaluates to 4.7698410058819114,
sv_true_ans[i] evaluates to 4.7459208543096851, and
1e-7 evaluates to 9.9999999999999995e-08.
/g/g92/chung28/libROM/unit_tests/test_RandomizedSVD.cpp:237: Failure
The difference between sv->item(i) and sv_true_ans[i] is 0.34746642981073617, which exceeds 1e-7, where
sv->item(i) evaluates to 3.6011164288318369,
sv_true_ans[i] evaluates to 3.2536499990211007, and
1e-7 evaluates to 9.9999999999999995e-08.
/g/g92/chung28/libROM/unit_tests/test_RandomizedSVD.cpp:237: Failure
The difference between sv->item(i) and sv_true_ans[i] is 0.68429221224446657, which exceeds 1e-7, where
sv->item(i) evaluates to 1.4575672872210159,
sv_true_ans[i] evaluates to 2.1418594994654825, and
1e-7 evaluates to 9.9999999999999995e-08.
[ FAILED ] RandomizedSVDTest.Test_RandomizedSVDTransposed (1 ms)
[ RUN ] RandomizedSVDTest.Test_RandomizedSVDSmallerSubspace
Distribution of sampler's A and U:
Local data: ( 0.5377 -1.3077 -1.3499
1.8339 -0.4336 3.0349
-2.2588 0.3426 0.7254
0.8622 3.5784 -0.0631
0.3188 2.7694 0.7147
)
Process rank 0
=================
A->ctxt = 1
A->(m, n) = (5, 3)
A->(nprow, npcol) = (1, 1)
A->(pi, pj) = (0, 0)
A->(mb, nb) = (5, 5)
A->(mm, mn) = (5, 3)
Distribution of sampler's V:
Local data: ( -0.9929 -0.1187
0.1187 -0.9929
)
Process rank 0
=================
A->ctxt = 2
A->(m, n) = (2, 2)
A->(nprow, npcol) = (1, 1)
A->(pi, pj) = (0, 0)
A->(mb, nb) = (5, 5)
A->(mm, mn) = (2, 2)
Computed singular values: 4.6133E+00 1.8448E+00
/g/g92/chung28/libROM/unit_tests/test_RandomizedSVD.cpp:319: Failure
The difference between abs(d_basis_vals[i]) and abs(basis_true_ans[row_offset[d_rank] * 2 + i]) is 0.043123229337106217, which exceeds 1e-7, where
abs(d_basis_vals[i]) evaluates to 0.38134513245650903,
abs(basis_true_ans[row_offset[d_rank] * 2 + i]) evaluates to 0.42446836179361525, and
1e-7 evaluates to 9.9999999999999995e-08.
/g/g92/chung28/libROM/unit_tests/test_RandomizedSVD.cpp:319: Failure
The difference between abs(d_basis_vals[i]) and abs(basis_true_ans[row_offset[d_rank] * 2 + i]) is 0.39115063109136156, which exceeds 1e-7, where
abs(d_basis_vals[i]) evaluates to 0.86860933316093525,
abs(basis_true_ans[row_offset[d_rank] * 2 + i]) evaluates to 0.47745870206957369, and
1e-7 evaluates to 9.9999999999999995e-08.
/g/g92/chung28/libROM/unit_tests/test_RandomizedSVD.cpp:319: Failure
The difference between abs(d_basis_vals[i]) and abs(basis_true_ans[row_offset[d_rank] * 2 + i]) is 0.1738629884761187, which exceeds 1e-7, where
abs(d_basis_vals[i]) evaluates to 0.52271104896021103,
abs(basis_true_ans[row_offset[d_rank] * 2 + i]) evaluates to 0.34884806048409234, and
1e-7 evaluates to 9.9999999999999995e-08.
/g/g92/chung28/libROM/unit_tests/test_RandomizedSVD.cpp:319: Failure
The difference between abs(d_basis_vals[i]) and abs(basis_true_ans[row_offset[d_rank] * 2 + i]) is 0.38702243794322316, which exceeds 1e-7, where
abs(d_basis_vals[i]) evaluates to 0.48328714680626988,
abs(basis_true_ans[row_offset[d_rank] * 2 + i]) evaluates to 0.87030958474949305, and
1e-7 evaluates to 9.9999999999999995e-08.
/g/g92/chung28/libROM/unit_tests/test_RandomizedSVD.cpp:319: Failure
The difference between abs(d_basis_vals[i]) and abs(basis_true_ans[row_offset[d_rank] * 2 + i]) is 0.018878134545858322, which exceeds 1e-7, where
abs(d_basis_vals[i]) evaluates to 0.14919936487725943,
abs(basis_true_ans[row_offset[d_rank] * 2 + i]) evaluates to 0.16807749942311775, and
1e-7 evaluates to 9.9999999999999995e-08.
/g/g92/chung28/libROM/unit_tests/test_RandomizedSVD.cpp:319: Failure
The difference between abs(d_basis_vals[i]) and abs(basis_true_ans[row_offset[d_rank] * 2 + i]) is 0.031391206376244291, which exceeds 1e-7, where
abs(d_basis_vals[i]) evaluates to 0.055692772119600151,
abs(basis_true_ans[row_offset[d_rank] * 2 + i]) evaluates to 0.02430156574335586, and
1e-7 evaluates to 9.9999999999999995e-08.
/g/g92/chung28/libROM/unit_tests/test_RandomizedSVD.cpp:319: Failure
The difference between abs(d_basis_vals[i]) and abs(basis_true_ans[row_offset[d_rank] * 2 + i]) is 0.053612574412784442, which exceeds 1e-7, where
abs(d_basis_vals[i]) evaluates to 0.56425713815414369,
abs(basis_true_ans[row_offset[d_rank] * 2 + i]) evaluates to 0.61786971256692813, and
1e-7 evaluates to 9.9999999999999995e-08.
/g/g92/chung28/libROM/unit_tests/test_RandomizedSVD.cpp:319: Failure
The difference between abs(d_basis_vals[i]) and abs(basis_true_ans[row_offset[d_rank] * 2 + i]) is 0.016596178215956006, which exceeds 1e-7, where
abs(d_basis_vals[i]) evaluates to 0.072738810062126166,
abs(basis_true_ans[row_offset[d_rank] * 2 + i]) evaluates to 0.089334988278082172, and
1e-7 evaluates to 9.9999999999999995e-08.
/g/g92/chung28/libROM/unit_tests/test_RandomizedSVD.cpp:319: Failure
The difference between abs(d_basis_vals[i]) and abs(basis_true_ans[row_offset[d_rank] * 2 + i]) is 0.04615242321809554, which exceeds 1e-7, where
abs(d_basis_vals[i]) evaluates to 0.49061439115558148,
abs(basis_true_ans[row_offset[d_rank] * 2 + i]) evaluates to 0.53676681437367701, and
1e-7 evaluates to 9.9999999999999995e-08.
/g/g92/chung28/libROM/unit_tests/test_RandomizedSVD.cpp:319: Failure
The difference between abs(d_basis_vals[i]) and abs(basis_true_ans[row_offset[d_rank] * 2 + i]) is 0.017953505050804619, which exceeds 1e-7, where
abs(d_basis_vals[i]) evaluates to 0.059655181853300182,
abs(basis_true_ans[row_offset[d_rank] * 2 + i]) evaluates to 0.077608686904104801, and
1e-7 evaluates to 9.9999999999999995e-08.
/g/g92/chung28/libROM/unit_tests/test_RandomizedSVD.cpp:324: Failure
The difference between abs(d_basis_right_vals[i]) and abs(basis_right_true_ans[i]) is 0.057201541154882296, which exceeds 1e-7, where
abs(d_basis_right_vals[i]) evaluates to 0.37575362437256643,
abs(basis_right_true_ans[i]) evaluates to 0.31855208321768413, and
1e-7 evaluates to 9.9999999999999995e-08.
/g/g92/chung28/libROM/unit_tests/test_RandomizedSVD.cpp:324: Failure
The difference between abs(d_basis_right_vals[i]) and abs(basis_right_true_ans[i]) is 0.28294848190315069, which exceeds 1e-7, where
abs(d_basis_right_vals[i]) evaluates to 0.84610008880356791,
abs(basis_right_true_ans[i]) evaluates to 0.56315160690041721, and
1e-7 evaluates to 9.9999999999999995e-08.
/g/g92/chung28/libROM/unit_tests/test_RandomizedSVD.cpp:324: Failure
The difference between abs(d_basis_right_vals[i]) and abs(basis_right_true_ans[i]) is 0.081541634825927578, which exceeds 1e-7, where
abs(d_basis_right_vals[i]) evaluates to 0.78008150233388607,
abs(basis_right_true_ans[i]) evaluates to 0.86162313715981365, and
1e-7 evaluates to 9.9999999999999995e-08.
/g/g92/chung28/libROM/unit_tests/test_RandomizedSVD.cpp:324: Failure
The difference between abs(d_basis_right_vals[i]) and abs(basis_right_true_ans[i]) is 0.0016730274655981647, which exceeds 1e-7, where
abs(d_basis_right_vals[i]) evaluates to 0.50900770764497449,
abs(basis_right_true_ans[i]) evaluates to 0.50733468017937633, and
1e-7 evaluates to 9.9999999999999995e-08.
/g/g92/chung28/libROM/unit_tests/test_RandomizedSVD.cpp:328: Failure
The difference between sv->item(i) and sv_true_ans[i] is 0.079844118486406934, which exceeds 1e-7, where
sv->item(i) evaluates to 4.6133218692500302,
sv_true_ans[i] evaluates to 4.6931659877364371, and
1e-7 evaluates to 9.9999999999999995e-08.
/g/g92/chung28/libROM/unit_tests/test_RandomizedSVD.cpp:328: Failure
The difference between sv->item(i) and sv_true_ans[i] is 1.1670580542149882, which exceeds 1e-7, where
sv->item(i) evaluates to 1.8447981099375361,
sv_true_ans[i] evaluates to 3.0118561641525243, and
1e-7 evaluates to 9.9999999999999995e-08.
[ FAILED ] RandomizedSVDTest.Test_RandomizedSVDSmallerSubspace (1 ms)
[ RUN ] RandomizedSVDTest.Test_RandomizedSVDTransposedSmallerSubspace
Distribution of sampler's A and U:
Local data: ( 0.5377 1.8339 -2.2588 0.8622 0.3188
-1.3077 -0.4336 0.3426 3.5784 2.7694
-1.3499 3.0349 0.7254 -0.0631 0.7147
)
Process rank 0
=================
A->ctxt = 1
A->(m, n) = (3, 5)
A->(nprow, npcol) = (1, 1)
A->(pi, pj) = (0, 0)
A->(mb, nb) = (3, 3)
A->(mm, mn) = (3, 5)
Distribution of sampler's V:
Local data: ( -0.9929 -0.1187
0.1187 -0.9929
)
Process rank 0
=================
A->ctxt = 2
A->(m, n) = (2, 2)
A->(nprow, npcol) = (1, 1)
A->(pi, pj) = (0, 0)
A->(mb, nb) = (3, 3)
A->(mm, mn) = (2, 2)
Computed singular values: 4.6133E+00 1.8448E+00
/g/g92/chung28/libROM/unit_tests/test_RandomizedSVD.cpp:435: Failure
The difference between abs(d_basis_right_vals[i]) and abs(basis_right_true_ans[row_offset[d_rank] * 2 + i]) is 0.043123229337106217, which exceeds 1e-7, where
abs(d_basis_right_vals[i]) evaluates to 0.38134513245650903,
abs(basis_right_true_ans[row_offset[d_rank] * 2 + i]) evaluates to 0.42446836179361525, and
1e-7 evaluates to 9.9999999999999995e-08.
/g/g92/chung28/libROM/unit_tests/test_RandomizedSVD.cpp:435: Failure
The difference between abs(d_basis_right_vals[i]) and abs(basis_right_true_ans[row_offset[d_rank] * 2 + i]) is 0.39115063109136156, which exceeds 1e-7, where
abs(d_basis_right_vals[i]) evaluates to 0.86860933316093525,
abs(basis_right_true_ans[row_offset[d_rank] * 2 + i]) evaluates to 0.47745870206957369, and
1e-7 evaluates to 9.9999999999999995e-08.
/g/g92/chung28/libROM/unit_tests/test_RandomizedSVD.cpp:435: Failure
The difference between abs(d_basis_right_vals[i]) and abs(basis_right_true_ans[row_offset[d_rank] * 2 + i]) is 0.1738629884761187, which exceeds 1e-7, where
abs(d_basis_right_vals[i]) evaluates to 0.52271104896021103,
abs(basis_right_true_ans[row_offset[d_rank] * 2 + i]) evaluates to 0.34884806048409234, and
1e-7 evaluates to 9.9999999999999995e-08.
/g/g92/chung28/libROM/unit_tests/test_RandomizedSVD.cpp:435: Failure
The difference between abs(d_basis_right_vals[i]) and abs(basis_right_true_ans[row_offset[d_rank] * 2 + i]) is 0.38702243794322316, which exceeds 1e-7, where
abs(d_basis_right_vals[i]) evaluates to 0.48328714680626988,
abs(basis_right_true_ans[row_offset[d_rank] * 2 + i]) evaluates to 0.87030958474949305, and
1e-7 evaluates to 9.9999999999999995e-08.
/g/g92/chung28/libROM/unit_tests/test_RandomizedSVD.cpp:435: Failure
The difference between abs(d_basis_right_vals[i]) and abs(basis_right_true_ans[row_offset[d_rank] * 2 + i]) is 0.018878134545858322, which exceeds 1e-7, where
abs(d_basis_right_vals[i]) evaluates to 0.14919936487725943,
abs(basis_right_true_ans[row_offset[d_rank] * 2 + i]) evaluates to 0.16807749942311775, and
1e-7 evaluates to 9.9999999999999995e-08.
/g/g92/chung28/libROM/unit_tests/test_RandomizedSVD.cpp:435: Failure
The difference between abs(d_basis_right_vals[i]) and abs(basis_right_true_ans[row_offset[d_rank] * 2 + i]) is 0.031391206376244291, which exceeds 1e-7, where
abs(d_basis_right_vals[i]) evaluates to 0.055692772119600151,
abs(basis_right_true_ans[row_offset[d_rank] * 2 + i]) evaluates to 0.02430156574335586, and
1e-7 evaluates to 9.9999999999999995e-08.
/g/g92/chung28/libROM/unit_tests/test_RandomizedSVD.cpp:435: Failure
The difference between abs(d_basis_right_vals[i]) and abs(basis_right_true_ans[row_offset[d_rank] * 2 + i]) is 0.053612574412784442, which exceeds 1e-7, where
abs(d_basis_right_vals[i]) evaluates to 0.56425713815414369,
abs(basis_right_true_ans[row_offset[d_rank] * 2 + i]) evaluates to 0.61786971256692813, and
1e-7 evaluates to 9.9999999999999995e-08.
/g/g92/chung28/libROM/unit_tests/test_RandomizedSVD.cpp:435: Failure
The difference between abs(d_basis_right_vals[i]) and abs(basis_right_true_ans[row_offset[d_rank] * 2 + i]) is 0.016596178215956006, which exceeds 1e-7, where
abs(d_basis_right_vals[i]) evaluates to 0.072738810062126166,
abs(basis_right_true_ans[row_offset[d_rank] * 2 + i]) evaluates to 0.089334988278082172, and
1e-7 evaluates to 9.9999999999999995e-08.
/g/g92/chung28/libROM/unit_tests/test_RandomizedSVD.cpp:435: Failure
The difference between abs(d_basis_right_vals[i]) and abs(basis_right_true_ans[row_offset[d_rank] * 2 + i]) is 0.04615242321809554, which exceeds 1e-7, where
abs(d_basis_right_vals[i]) evaluates to 0.49061439115558148,
abs(basis_right_true_ans[row_offset[d_rank] * 2 + i]) evaluates to 0.53676681437367701, and
1e-7 evaluates to 9.9999999999999995e-08.
/g/g92/chung28/libROM/unit_tests/test_RandomizedSVD.cpp:435: Failure
The difference between abs(d_basis_right_vals[i]) and abs(basis_right_true_ans[row_offset[d_rank] * 2 + i]) is 0.017953505050804619, which exceeds 1e-7, where
abs(d_basis_right_vals[i]) evaluates to 0.059655181853300182,
abs(basis_right_true_ans[row_offset[d_rank] * 2 + i]) evaluates to 0.077608686904104801, and
1e-7 evaluates to 9.9999999999999995e-08.
/g/g92/chung28/libROM/unit_tests/test_RandomizedSVD.cpp:440: Failure
The difference between abs(d_basis_vals[i]) and abs(basis_true_ans[i]) is 0.057201541154882296, which exceeds 1e-7, where
abs(d_basis_vals[i]) evaluates to 0.37575362437256643,
abs(basis_true_ans[i]) evaluates to 0.31855208321768413, and
1e-7 evaluates to 9.9999999999999995e-08.
/g/g92/chung28/libROM/unit_tests/test_RandomizedSVD.cpp:440: Failure
The difference between abs(d_basis_vals[i]) and abs(basis_true_ans[i]) is 0.28294848190315069, which exceeds 1e-7, where
abs(d_basis_vals[i]) evaluates to 0.84610008880356791,
abs(basis_true_ans[i]) evaluates to 0.56315160690041721, and
1e-7 evaluates to 9.9999999999999995e-08.
/g/g92/chung28/libROM/unit_tests/test_RandomizedSVD.cpp:440: Failure
The difference between abs(d_basis_vals[i]) and abs(basis_true_ans[i]) is 0.081541634825927578, which exceeds 1e-7, where
abs(d_basis_vals[i]) evaluates to 0.78008150233388607,
abs(basis_true_ans[i]) evaluates to 0.86162313715981365, and
1e-7 evaluates to 9.9999999999999995e-08.
/g/g92/chung28/libROM/unit_tests/test_RandomizedSVD.cpp:440: Failure
The difference between abs(d_basis_vals[i]) and abs(basis_true_ans[i]) is 0.0016730274655981647, which exceeds 1e-7, where
abs(d_basis_vals[i]) evaluates to 0.50900770764497449,
abs(basis_true_ans[i]) evaluates to 0.50733468017937633, and
1e-7 evaluates to 9.9999999999999995e-08.
/g/g92/chung28/libROM/unit_tests/test_RandomizedSVD.cpp:444: Failure
The difference between sv->item(i) and sv_true_ans[i] is 0.079844118486406934, which exceeds 1e-7, where
sv->item(i) evaluates to 4.6133218692500302,
sv_true_ans[i] evaluates to 4.6931659877364371, and
1e-7 evaluates to 9.9999999999999995e-08.
/g/g92/chung28/libROM/unit_tests/test_RandomizedSVD.cpp:444: Failure
The difference between sv->item(i) and sv_true_ans[i] is 1.1670580542149882, which exceeds 1e-7, where
sv->item(i) evaluates to 1.8447981099375361,
sv_true_ans[i] evaluates to 3.0118561641525243, and
1e-7 evaluates to 9.9999999999999995e-08.
[ FAILED ] RandomizedSVDTest.Test_RandomizedSVDTransposedSmallerSubspace (1 ms)
[----------] 4 tests from RandomizedSVDTest (11 ms total)
[----------] Global test environment tear-down
[==========] 5 tests from 2 test suites ran. (11 ms total)
[ PASSED ] 1 test.
[ FAILED ] 4 tests, listed below:
[ FAILED ] RandomizedSVDTest.Test_RandomizedSVD
[ FAILED ] RandomizedSVDTest.Test_RandomizedSVDTransposed
[ FAILED ] RandomizedSVDTest.Test_RandomizedSVDSmallerSubspace
[ FAILED ] RandomizedSVDTest.Test_RandomizedSVDTransposedSmallerSubspace
4 FAILED TESTS