Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tensor/oldtest fails on macOS with SEGFAULT #462

Open
barracuda156 opened this issue Feb 10, 2023 · 1 comment
Open

tensor/oldtest fails on macOS with SEGFAULT #462

barracuda156 opened this issue Feb 10, 2023 · 1 comment

Comments

@barracuda156
Copy link

26/65 Testing: madness/test/tensor/oldtest/run
26/65 Test: madness/test/tensor/oldtest/run
Command: "/opt/local/var/macports/build/_opt_PPCRosettaPorts_science_madness/madness/work/build/src/madness/tensor/oldtest"
Directory: /opt/local/var/macports/build/_opt_PPCRosettaPorts_science_madness/madness/work/build/src/madness/tensor
"madness/test/tensor/oldtest/run" start time: Feb 11 03:07 ICT
Output:
----------------------------------------------------------
bounds checking enabled = 0
made A
testing access
5.07861e-309
5.07861e-309
t
-1
0
q1
1
1
1
1
1
1
1
1
1
[*]   0.00000000
q2
[0,*]   0.12685417   0.72564454

t
[0,*]   0.12685417   0.72564454

Test1<double,double> OK
t
-1
0
q1
1
1
1
1
1
1
1
1
1
[*]   0.00000000
q2
[0,*]            0            1

t
[0,*]   0.00000000   1.00000000

Test1<double,long> OK
t
-1
0
q1
1
1
1
1
1
1
1
1
1
[*]            0
q2
[0,*]   0.41010767   0.35156220

t
[0,*]            0            0

Test1<long,double> OK
t
-1
0
q1
1
1
1
1
1
1
1
1
1
[*]   0.00000000
q2
[0,*]   0.38633969   0.52965903

t
[0,*]   0.38633969   0.52965903

Test1<double,float> OK
t
-1
0
q1
1
1
1
1
1
1
1
1
1
[*]   0.00000000
q2
[0,*]   0.92150242   0.74567955

t
[0,*]   0.92150241   0.74567956

Test1<float,double> OK
t
-1
0
q1
1
1
1
1
1
1
1
1
1
[*] (0.00000000,0.00000000)
q2
[0,*]   0.71732265   0.03471599

t
[0,*] (0.71732265,0.00000000) (0.03471599,0.00000000)

Test1<double_complex,double> OK
t
-1
0
q1
1
1
1
1
1
1
1
1
1
[*] (0.00000000,0.00000000)
q2
[0,*]            0            1

t
[0,*] (0.00000000,0.00000000) (1.00000000,0.00000000)

Test1<double_complex,long> OK
t
-1
0
q1
1
1
1
1
1
1
1
1
1
[*] (0.00000000,0.00000000)
q2
[0,*]   0.65278077   0.35110337

t
[0,*] (0.65278077,0.00000000) (0.35110337,0.00000000)

Test1<float_complex,float> OK

 after test1 count=0


[0,0,*]   0.00000000   1.00000000   2.00000000   3.00000000   4.00000000
[0,1,*] 100.00000000 101.00000000 102.00000000 103.00000000 104.00000000
[0,2,*] 200.00000000 201.00000000 202.00000000 203.00000000 204.00000000
[0,3,*] 300.00000000 301.00000000 302.00000000 303.00000000 304.00000000
[1,0,*] 10000.00000000 10001.00000000 10002.00000000 10003.00000000 10004.00000000
[1,1,*] 10100.00000000 10101.00000000 10102.00000000 10103.00000000 10104.00000000
[1,2,*] 10200.00000000 10201.00000000 10202.00000000 10203.00000000 10204.00000000
[1,3,*] 10300.00000000 10301.00000000 10302.00000000 10303.00000000 10304.00000000
[2,0,*] 20000.00000000 20001.00000000 20002.00000000 20003.00000000 20004.00000000
[2,1,*] 20100.00000000 20101.00000000 20102.00000000 20103.00000000 20104.00000000
[2,2,*] 20200.00000000 20201.00000000 20202.00000000 20203.00000000 20204.00000000
[2,3,*] 20300.00000000 20301.00000000 20302.00000000 20303.00000000 20304.00000000
Test3<double> ... verify elements are 10000*i + 100*j + k 

[0,0,*]            0            1            2            3            4
[0,1,*]          100          101          102          103          104
[0,2,*]          200          201          202          203          204
[0,3,*]          300          301          302          303          304
[1,0,*]        10000        10001        10002        10003        10004
[1,1,*]        10100        10101        10102        10103        10104
[1,2,*]        10200        10201        10202        10203        10204
[1,3,*]        10300        10301        10302        10303        10304
[2,0,*]        20000        20001        20002        20003        20004
[2,1,*]        20100        20101        20102        20103        20104
[2,2,*]        20200        20201        20202        20203        20204
[2,3,*]        20300        20301        20302        20303        20304
Test3<long> ... verify elements are 10000*i + 100*j + k 

[0,0,*]   0.00000000   1.00000000   2.00000000   3.00000000   4.00000000
[0,1,*] 100.00000000 101.00000000 102.00000000 103.00000000 104.00000000
[0,2,*] 200.00000000 201.00000000 202.00000000 203.00000000 204.00000000
[0,3,*] 300.00000000 301.00000000 302.00000000 303.00000000 304.00000000
[1,0,*] 10000.00000000 10001.00000000 10002.00000000 10003.00000000 10004.00000000
[1,1,*] 10100.00000000 10101.00000000 10102.00000000 10103.00000000 10104.00000000
[1,2,*] 10200.00000000 10201.00000000 10202.00000000 10203.00000000 10204.00000000
[1,3,*] 10300.00000000 10301.00000000 10302.00000000 10303.00000000 10304.00000000
[2,0,*] 20000.00000000 20001.00000000 20002.00000000 20003.00000000 20004.00000000
[2,1,*] 20100.00000000 20101.00000000 20102.00000000 20103.00000000 20104.00000000
[2,2,*] 20200.00000000 20201.00000000 20202.00000000 20203.00000000 20204.00000000
[2,3,*] 20300.00000000 20301.00000000 20302.00000000 20303.00000000 20304.00000000
Test3<float> ... verify elements are 10000*i + 100*j + k 

[0,0,*] (0.00000000,0.00000000) (1.00000000,0.00000000) (2.00000000,0.00000000) (3.00000000,0.00000000) (4.00000000,0.00000000)
[0,1,*] (100.00000000,0.00000000) (101.00000000,0.00000000) (102.00000000,0.00000000) (103.00000000,0.00000000) (104.00000000,0.00000000)
[0,2,*] (200.00000000,0.00000000) (201.00000000,0.00000000) (202.00000000,0.00000000) (203.00000000,0.00000000) (204.00000000,0.00000000)
[0,3,*] (300.00000000,0.00000000) (301.00000000,0.00000000) (302.00000000,0.00000000) (303.00000000,0.00000000) (304.00000000,0.00000000)
[1,0,*] (10000.00000000,0.00000000) (10001.00000000,0.00000000) (10002.00000000,0.00000000) (10003.00000000,0.00000000) (10004.00000000,0.00000000)
[1,1,*] (10100.00000000,0.00000000) (10101.00000000,0.00000000) (10102.00000000,0.00000000) (10103.00000000,0.00000000) (10104.00000000,0.00000000)
[1,2,*] (10200.00000000,0.00000000) (10201.00000000,0.00000000) (10202.00000000,0.00000000) (10203.00000000,0.00000000) (10204.00000000,0.00000000)
[1,3,*] (10300.00000000,0.00000000) (10301.00000000,0.00000000) (10302.00000000,0.00000000) (10303.00000000,0.00000000) (10304.00000000,0.00000000)
[2,0,*] (20000.00000000,0.00000000) (20001.00000000,0.00000000) (20002.00000000,0.00000000) (20003.00000000,0.00000000) (20004.00000000,0.00000000)
[2,1,*] (20100.00000000,0.00000000) (20101.00000000,0.00000000) (20102.00000000,0.00000000) (20103.00000000,0.00000000) (20104.00000000,0.00000000)
[2,2,*] (20200.00000000,0.00000000) (20201.00000000,0.00000000) (20202.00000000,0.00000000) (20203.00000000,0.00000000) (20204.00000000,0.00000000)
[2,3,*] (20300.00000000,0.00000000) (20301.00000000,0.00000000) (20302.00000000,0.00000000) (20303.00000000,0.00000000) (20304.00000000,0.00000000)
Test3<float_complex> ... verify elements are 10000*i + 100*j + k 

[0,0,*] (0.00000000,0.00000000) (1.00000000,0.00000000) (2.00000000,0.00000000) (3.00000000,0.00000000) (4.00000000,0.00000000)
[0,1,*] (100.00000000,0.00000000) (101.00000000,0.00000000) (102.00000000,0.00000000) (103.00000000,0.00000000) (104.00000000,0.00000000)
[0,2,*] (200.00000000,0.00000000) (201.00000000,0.00000000) (202.00000000,0.00000000) (203.00000000,0.00000000) (204.00000000,0.00000000)
[0,3,*] (300.00000000,0.00000000) (301.00000000,0.00000000) (302.00000000,0.00000000) (303.00000000,0.00000000) (304.00000000,0.00000000)
[1,0,*] (10000.00000000,0.00000000) (10001.00000000,0.00000000) (10002.00000000,0.00000000) (10003.00000000,0.00000000) (10004.00000000,0.00000000)
[1,1,*] (10100.00000000,0.00000000) (10101.00000000,0.00000000) (10102.00000000,0.00000000) (10103.00000000,0.00000000) (10104.00000000,0.00000000)
[1,2,*] (10200.00000000,0.00000000) (10201.00000000,0.00000000) (10202.00000000,0.00000000) (10203.00000000,0.00000000) (10204.00000000,0.00000000)
[1,3,*] (10300.00000000,0.00000000) (10301.00000000,0.00000000) (10302.00000000,0.00000000) (10303.00000000,0.00000000) (10304.00000000,0.00000000)
[2,0,*] (20000.00000000,0.00000000) (20001.00000000,0.00000000) (20002.00000000,0.00000000) (20003.00000000,0.00000000) (20004.00000000,0.00000000)
[2,1,*] (20100.00000000,0.00000000) (20101.00000000,0.00000000) (20102.00000000,0.00000000) (20103.00000000,0.00000000) (20104.00000000,0.00000000)
[2,2,*] (20200.00000000,0.00000000) (20201.00000000,0.00000000) (20202.00000000,0.00000000) (20203.00000000,0.00000000) (20204.00000000,0.00000000)
[2,3,*] (20300.00000000,0.00000000) (20301.00000000,0.00000000) (20302.00000000,0.00000000) (20303.00000000,0.00000000) (20304.00000000,0.00000000)
Test3<double_complex> ... verify elements are 10000*i + 100*j + k 


 after test3 count=0

Test5<double> OK
skipping test6 for long
Test5<long> OK
skipping Test5<float/float_complex>
Test5<double_complex> OK


 after test5 count=0

2.047733e+04 2.047733e+04
3.463013e+08 3.463013e+08
Test6<double> OK
2.047733e+04 2.047733e+04
346301280 346301280
Test6<long> OK
2.047732e+04 2.047733e+04
3.463014e+08 3.463013e+08
Test6<float> OK
2.047732e+04 2.047733e+04
(3.463014e+08,0.000000e+00) (3.463013e+08,0.000000e+00)
Test6<float_complex> OK
2.047733e+04 2.047733e+04
(3.463013e+08,0.000000e+00) (3.463013e+08,0.000000e+00)
Test6<double_complex> OK


 after test6 count=0

[0,*]  -0.30826139   0.10665824  -0.21926987  -0.38830198   0.24904742  -0.09955680   0.23571580  -0.10524996
[1,*]   0.37563206   0.49745755   0.35305314  -0.20904813  -0.18192067   0.30436045  -0.32215220  -0.34240916
[2,*]   0.13196594   0.32547127  -0.15592692  -0.18309063  -0.14757665   0.11778647  -0.36883348  -0.45930825
[3,*]   0.20451728   0.28056347  -0.39044193   0.13423656  -0.01835464   0.32836382   0.36978728   0.27957014
[4,*]   0.43183661  -0.21722783  -0.39100479  -0.08418688  -0.27314345   0.13680513  -0.15388164  -0.34902194
[5,*]   0.33149500   0.08960122  -0.30843641   0.29759492  -0.05619673   0.04010210   0.45044425   0.16708594
[6,*]  -0.30772380  -0.02504389  -0.31501939  -0.46608584  -0.23087815  -0.15784214   0.00800091  -0.45405219
[7,*]  -0.26379890  -0.33894150   0.19107575   0.26229331   0.32673166  -0.28439306  -0.15519180  -0.08980275
TRANSFORM MOPS=1.851707e+02   2.150077e+00
Test7<double> OK
[0,*]   0.37258124  -0.49952751  -0.25496480   0.04929388  -0.19749206  -0.49935344   0.28301728  -0.00667718
[1,*]  -0.48838624   0.15726274   0.26025498   0.26724589  -0.20811012  -0.37447649  -0.16809446  -0.22237402
[2,*]  -0.01714963  -0.17136532  -0.26665902   0.17527276   0.11838138  -0.37078112   0.05865580  -0.44380167
[3,*]  -0.28125453   0.30112398   0.37194920   0.07232511  -0.14088300   0.30326164   0.12238586  -0.42481226
[4,*]   0.45403254  -0.07834408   0.40416414  -0.07164451   0.49060470  -0.15449667   0.00492805   0.21072155
[5,*]   0.22898686  -0.11340395  -0.24177271   0.04802269  -0.43062589   0.33717400   0.07783371   0.45109630
[6,*]  -0.23378491   0.30305308   0.24609971  -0.09605372  -0.34217095   0.21689934   0.19800431   0.49755073
[7,*]   0.10748863  -0.38455153   0.41225362   0.44050258  -0.46733639  -0.05386999  -0.15734968   0.23180145
<end of output>
Test time =   3.18 sec
----------------------------------------------------------
Test Failed.
"madness/test/tensor/oldtest/run" end time: Feb 11 03:07 ICT
"madness/test/tensor/oldtest/run" time elapsed: 00:00:03

This appears to be the only test failing among math-related and the only test with a failure implying a bug.

@barracuda156
Copy link
Author

Complete log.
madness_tests_log.txt

P. S. Tests 54–65 are expected to fail here, since chem library fails to link, and I have excluded it from the build until this is fixed: #459

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant