Any one has an idea about this errorerror during benchmark: malloc(): memory corruption.it happens only on the 40 cores.Thanks in advance
Is it possible that you need more memory than it is available? Could you run the large input files on your pc?
I don't think this is the error because I tried some large files on my pc ,Can any body from Intel confirm .
I am just citing from a forum I just found:
"Probably you are either writing outside the bounds of a block of
memory that you have malloc()ed, are you are using a block after you
have free()d it."
Hope that helps.
Malloc is not thread-safe on all platforms. You can try to add -pthread to the compilation and see if it helps.
Another issue might be that you are trying to malloc E elements and you forget to multiply with sizeof(element).