Hello everyone,
I got this similar error (LECLIM > INBIEF > ELEBF : K2=2147483647) when trying to build a mesh using BK. Nowadays the error given is :
Program received signal SIGSEGV: Segmentation fault - invalid memory reference.
(I think) This error comes from the meshing procedure in BK. Usually I specify an overall box as 'Outline', and my coastline as 'Hardline'. However this meshing procedure is pretty slow (here 21s for this very coarse mesh). In order to speed up the meshing I tried to change the meshing procedure by merging the hardline into the coastline => hence avoiding the hardline step. Meshing is greatly speed up : 2sec. By merging the coastline into hardline I mean: In BK, cut the coastline to the size of the overall box and then copy/paste/append all bits of coastline into one; finally close the line.
However (somehow) this meshing procedure generates
duplicate elements (most of times). I don't know how to automatically find or count duplicate elements in BK, but they can be spotted when generating the boundary condition (Conlim...) as they appaer outside the boundary:
To replicate the case, I've uploaded the folder with a more exhaustive README file available on my gitlab:
Hope this can help someone else.
Pierre-Henri