Hi,
    I am fairly new to fasbit and have been using it for around a month.
Have been running into  an issue with or_c2 & xor_c2 when run at scale from
parallel threads (am using fastbit lib via jni from java).

The error looks something like

ERROR bitvector64::or_c2 -- serious problem here ...
terminate called throwing an exception
Error -- bitvector64::or_c2 expects to exhaust i0 but there are -159
word(s) left

I tried adding print statement to print the copy (deep) of the original lhs
& rhs value of the bitmaps and looks like the bitmaps weren't mutated while
the function was running.

lhs - copy of original

This bitvector64 stores 4095 bits of a 4097-bit (25 set) sequence in a
36-word array and 2 bits in the active word
0    0    1    1    2    2    3    3    4    4    5    5    6
012345678901234567890123456789012345678901234567890123456789012
---------------------------------------------------------------
0 0000000000000000
000000000000000000000000000000000000000000000000000000000000000
1 4000000000000000
100000000000000000000000000000000000000000000000000000000000000
2 8000000000000002 126*0
3 0000000000000040
000000000000000000000000000000000000000000000000000000001000000
4 8000000000000001 63*0
5 0020000000000000
000000000100000000000000000000000000000000000000000000000000000
6 0004000000000000
000000000000100000000000000000000000000000000000000000000000000
7 0000001000000000
000000000000000000000000001000000000000000000000000000000000000
8 0000002000000044
000000000000000000000000010000000000000000000000000000001000100
9 8000000000000000 0*0
10 0000001000000000
000000000000000000000000001000000000000000000000000000000000000
11 8000000000000004 252*0
12 0000400000000000
000000000000000010000000000000000000000000000000000000000000000
13 8000000000000002 126*0
14 0000008000000000
000000000000000000000001000000000000000000000000000000000000000
15 0040000000000020
000000001000000000000000000000000000000000000000000000000100000
16 8000000000000000 0*0
17 0000000000080000
000000000000000000000000000000000000000000010000000000000000000
18 8000000000000001 63*0
19 0000000000102000
000000000000000000000000000000000000000000100000010000000000000
20 0000000000000000
000000000000000000000000000000000000000000000000000000000000000
21 0000000000800000
000000000000000000000000000000000000000100000000000000000000000
22 8000000000000002 126*0
23 0000000002000000
000000000000000000000000000000000000010000000000000000000000000
24 8000000000000004 252*0
25 0000000100000000
000000000000000000000000000000100000000000000000000000000000000
26 8000000000000002 126*0
27 0000000000020000
000000000000000000000000000000000000000000000100000000000000000
28 8000000000000001 63*0
29 0000000000001800
000000000000000000000000000000000000000000000000001100000000000
30 0000000004000000
000000000000000000000000000000000000100000000000000000000000000
31 8000000000000001 63*0
32 0000000080000000
000000000000000000000000000000010000000000000000000000000000000
33 8000000000000006 378*0
34 0000010000000000
000000000000000000000010000000000000000000000000000000000000000
35 8000000000000011 1071*0
0000000000000000 00

lhs - original

This bitvector64 stores 4095 bits of a 4097-bit (25 set) sequence in a
36-word array and 2 bits in the active word
0    0    1    1    2    2    3    3    4    4    5    5    6
012345678901234567890123456789012345678901234567890123456789012
---------------------------------------------------------------
0 0000000000000000
000000000000000000000000000000000000000000000000000000000000000
1 4000000000000000
100000000000000000000000000000000000000000000000000000000000000
2 8000000000000002 126*0
3 0000000000000040
000000000000000000000000000000000000000000000000000000001000000
4 8000000000000001 63*0
5 0020000000000000
000000000100000000000000000000000000000000000000000000000000000
6 0004000000000000
000000000000100000000000000000000000000000000000000000000000000
7 0000001000000000
000000000000000000000000001000000000000000000000000000000000000
8 0000002000000044
000000000000000000000000010000000000000000000000000000001000100
9 8000000000000000 0*0
10 0000001000000000
000000000000000000000000001000000000000000000000000000000000000
11 8000000000000004 252*0
12 0000400000000000
000000000000000010000000000000000000000000000000000000000000000
13 8000000000000002 126*0
14 0000008000000000
000000000000000000000001000000000000000000000000000000000000000
15 0040000000000020
000000001000000000000000000000000000000000000000000000000100000
16 8000000000000000 0*0
17 0000000000080000
000000000000000000000000000000000000000000010000000000000000000
18 8000000000000001 63*0
19 0000000000102000
000000000000000000000000000000000000000000100000010000000000000
20 0000000000000000
000000000000000000000000000000000000000000000000000000000000000
21 0000000000800000
000000000000000000000000000000000000000100000000000000000000000
22 8000000000000002 126*0
23 0000000002000000
000000000000000000000000000000000000010000000000000000000000000
24 8000000000000004 252*0
25 0000000100000000
000000000000000000000000000000100000000000000000000000000000000
26 8000000000000002 126*0
27 0000000000020000
000000000000000000000000000000000000000000000100000000000000000
28 8000000000000001 63*0
29 0000000000001800
000000000000000000000000000000000000000000000000001100000000000
30 0000000004000000
000000000000000000000000000000000000100000000000000000000000000
31 8000000000000001 63*0
32 0000000080000000
000000000000000000000000000000010000000000000000000000000000000
33 8000000000000006 378*0
34 0000010000000000
000000000000000000000010000000000000000000000000000000000000000
35 8000000000000011 1071*0
0000000000000000 00

rhs - copy of original

This bitvector64 stores 4095 bits of a 4097-bit (3 set) sequence in a
7-word array and 2 bits in the active word
0    0    1    1    2    2    3    3    4    4    5    5    6
012345678901234567890123456789012345678901234567890123456789012
---------------------------------------------------------------
0 800000000000000e 882*0
1 0000000000040000
000000000000000000000000000000000000000000001000000000000000000
2 8000000000000005 315*0
3 0000010000000000
000000000000000000000010000000000000000000000000000000000000000
4 800000000000001a 1638*0
5 0000080000000000
000000000000000000010000000000000000000000000000000000000000000
6 8000000000000011 1071*0
0000000000000000 00

rhs - original

This bitvector64 stores 4095 bits of a 4097-bit (3 set) sequence in a
7-word array and 2 bits in the active word
0    0    1    1    2    2    3    3    4    4    5    5    6
012345678901234567890123456789012345678901234567890123456789012
---------------------------------------------------------------
0 800000000000000e 882*0
1 0000000000040000
000000000000000000000000000000000000000000001000000000000000000
2 8000000000000005 315*0
3 0000010000000000
000000000000000000000010000000000000000000000000000000000000000
4 800000000000001a 1638*0
5 0000080000000000
000000000000000000010000000000000000000000000000000000000000000
6 8000000000000011 1071*0
0000000000000000 00

Any guiding pointers are appreciated.

Regards
Srikanth Sundarrajan

-- 
_____________________________________________________________
The information contained in this communication is intended solely for the 
use of the individual or entity to whom it is addressed and others 
authorized to receive it. It may contain confidential or legally privileged 
information. If you are not the intended recipient you are hereby notified 
that any disclosure, copying, distribution or taking any action in reliance 
on the contents of this information is strictly prohibited and may be 
unlawful. If you have received this communication in error, please notify 
us immediately by responding to this email and then delete it from your 
system. The firm is neither liable for the proper and complete transmission 
of the information contained in this communication nor for any delay in its 
receipt.
_______________________________________________
FastBit-users mailing list
[email protected]
https://hpcrdm.lbl.gov/cgi-bin/mailman/listinfo/fastbit-users

Reply via email to