When loading a lattice with extremely large number of elements (for example, >>10000 elements), errors appear with messages of "*** hsrchz *** No more free space in hash table". I found that this is maybe due to the upper limit of the global parameter HTMAX. In the source file of "/src/inc/MACCBK.inc", I found that the maximum value for HTMAX is defined as:
parameter(HTMAX=16381,NULSTR=' ')
I would like to ask: To handle extremely large number of elements, can I set HTMAX to any values? For example:
parameter(HTMAX=26381,NULSTR=' ')
I tried the above change and did solve my problem. I am wondering if this change would affect other independent settings in SAD or not.
Thanks a lot in advance.
I think you can increase HTMAX. The next version of k64 will make HTMAX=32767.
> When loading a lattice with extremely large number of elements (for example, >>10000 elements), errors appear with messages of "*** hsrchz *** No more free space in hash table". I found that this is maybe due to the upper limit of the global parameter HTMAX. In the source file of "/src/inc/MACCBK.inc", I found that the maximum value for HTMAX is defined as:
> parameter(HTMAX=16381,NULSTR=' ')
>
> I would like to ask: To handle extremely large number of elements, can I set HTMAX to any values? For example:
> parameter(HTMAX=26381,NULSTR=' ')
>
> I tried the above change and did solve my problem. I am wondering if this change would affect other independent settings in SAD or not.
>
> Thanks a lot in advance.
Thanks a lot! It works for me.