Thanks for agreeing to look. We might be needing to set bits outside of 2^32 and hence the attempt to use bitvector64.
Regards Srikanth Sundarrajan On Tue, May 7, 2013 at 11:34 AM, K. John Wu <[email protected]> wrote: > Hi, Srikanth, > > Thanks for the report. I suspect that word 9 and 16 (with value > 8000000000000000) might be causing problems. Let me look into this > problem a little bit. > > In the mean time, would you might switch over to use ibis::bitvector > class instead of ibis::bitvector64. > > John > > > On 5/6/13 10:22 PM, Srikanth Sundarrajan wrote: > > 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 > > --------------------------------------------------------------- > > > 00000000000000000000000000000000000000000000000000000000000000000000000000000000 > > > 14000000000000000100000000000000000000000000000000000000000000000000000000000000 > > 28000000000000002126*0 > > > 30000000000000040000000000000000000000000000000000000000000000000000000001000000 > > 4800000000000000163*0 > > > 50020000000000000000000000100000000000000000000000000000000000000000000000000000 > > > 60004000000000000000000000000100000000000000000000000000000000000000000000000000 > > > 70000001000000000000000000000000000000000001000000000000000000000000000000000000 > > > 80000002000000044000000000000000000000000010000000000000000000000000000001000100 > > 980000000000000000*0 > > > 100000001000000000000000000000000000000000001000000000000000000000000000000000000 > > 118000000000000004252*0 > > > 120000400000000000000000000000000010000000000000000000000000000000000000000000000 > > 138000000000000002126*0 > > > 140000008000000000000000000000000000000001000000000000000000000000000000000000000 > > > 150040000000000020000000001000000000000000000000000000000000000000000000000100000 > > 1680000000000000000*0 > > > 170000000000080000000000000000000000000000000000000000000000010000000000000000000 > > 18800000000000000163*0 > > > 190000000000102000000000000000000000000000000000000000000000100000010000000000000 > > > 200000000000000000000000000000000000000000000000000000000000000000000000000000000 > > > 210000000000800000000000000000000000000000000000000000000100000000000000000000000 > > 228000000000000002126*0 > > > 230000000002000000000000000000000000000000000000000000010000000000000000000000000 > > 248000000000000004252*0 > > > 250000000100000000000000000000000000000000000000100000000000000000000000000000000 > > 268000000000000002126*0 > > > 270000000000020000000000000000000000000000000000000000000000000100000000000000000 > > 28800000000000000163*0 > > > 290000000000001800000000000000000000000000000000000000000000000000001100000000000 > > > 300000000004000000000000000000000000000000000000000000100000000000000000000000000 > > 31800000000000000163*0 > > > 320000000080000000000000000000000000000000000000010000000000000000000000000000000 > > 338000000000000006378*0 > > > 340000010000000000000000000000000000000010000000000000000000000000000000000000000 > > 3580000000000000111071*0 > > 000000000000000000 > > > > 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 > > --------------------------------------------------------------- > > > 00000000000000000000000000000000000000000000000000000000000000000000000000000000 > > > 14000000000000000100000000000000000000000000000000000000000000000000000000000000 > > 28000000000000002126*0 > > > 30000000000000040000000000000000000000000000000000000000000000000000000001000000 > > 4800000000000000163*0 > > > 50020000000000000000000000100000000000000000000000000000000000000000000000000000 > > > 60004000000000000000000000000100000000000000000000000000000000000000000000000000 > > > 70000001000000000000000000000000000000000001000000000000000000000000000000000000 > > > 80000002000000044000000000000000000000000010000000000000000000000000000001000100 > > 980000000000000000*0 > > > 100000001000000000000000000000000000000000001000000000000000000000000000000000000 > > 118000000000000004252*0 > > > 120000400000000000000000000000000010000000000000000000000000000000000000000000000 > > 138000000000000002126*0 > > > 140000008000000000000000000000000000000001000000000000000000000000000000000000000 > > > 150040000000000020000000001000000000000000000000000000000000000000000000000100000 > > 1680000000000000000*0 > > > 170000000000080000000000000000000000000000000000000000000000010000000000000000000 > > 18800000000000000163*0 > > > 190000000000102000000000000000000000000000000000000000000000100000010000000000000 > > > 200000000000000000000000000000000000000000000000000000000000000000000000000000000 > > > 210000000000800000000000000000000000000000000000000000000100000000000000000000000 > > 228000000000000002126*0 > > > 230000000002000000000000000000000000000000000000000000010000000000000000000000000 > > 248000000000000004252*0 > > > 250000000100000000000000000000000000000000000000100000000000000000000000000000000 > > 268000000000000002126*0 > > > 270000000000020000000000000000000000000000000000000000000000000100000000000000000 > > 28800000000000000163*0 > > > 290000000000001800000000000000000000000000000000000000000000000000001100000000000 > > > 300000000004000000000000000000000000000000000000000000100000000000000000000000000 > > 31800000000000000163*0 > > > 320000000080000000000000000000000000000000000000010000000000000000000000000000000 > > 338000000000000006378*0 > > > 340000010000000000000000000000000000000010000000000000000000000000000000000000000 > > 3580000000000000111071*0 > > 000000000000000000 > > > > 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 > > --------------------------------------------------------------- > > 0800000000000000e882*0 > > > 10000000000040000000000000000000000000000000000000000000000001000000000000000000 > > 28000000000000005315*0 > > > 30000010000000000000000000000000000000010000000000000000000000000000000000000000 > > 4800000000000001a1638*0 > > > 50000080000000000000000000000000000010000000000000000000000000000000000000000000 > > 680000000000000111071*0 > > 000000000000000000 > > > > 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 > > --------------------------------------------------------------- > > 0800000000000000e882*0 > > > 10000000000040000000000000000000000000000000000000000000000001000000000000000000 > > 28000000000000005315*0 > > > 30000010000000000000000000000000000000010000000000000000000000000000000000000000 > > 4800000000000001a1638*0 > > > 50000080000000000000000000000000000010000000000000000000000000000000000000000000 > > 680000000000000111071*0 > > 000000000000000000 > > > > 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 > > > -- _____________________________________________________________ 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
