Open
Description
With the latest master (I did not test the release branches yet), all my Java tests ends up in a crash at the end.
I made a bit of debugging, and found the issue involves the memkind
library that is linked to the mpool/memkind
component.
At first glance, it seems memkind
invokes pthread_key_create()
with a destructor, but this destructor ends up being invoked after libmemkind.so
has been unmapped, resulting in a crash
(so it seems pthread_key_delete()
has not been invoked by memkind
)
A simple workaround is to
mpirun --mca mpool ^memkind ...
FWIW, I use memkind
provided by xppsl
(e.g. the Intel addons for KNL) xppsl-memkind-1.5.1-4151.x86_64
At this stage, I am not sure whether this is a bug in memkind
(nor if it has been fixed since) or in how mpool/memkind
uses memkind
.