Åke Sandgren wrote:
Hi!
Valgrind seems to think that there is an use of uninitialized value in
mca_mpool_sm_alloc, i.e. the if(mpool_sm->mem_node >= 0) {
Backtracking that i found that mem_node is not set during initializing
in mca_mpool_sm_init.
The resources parameter is never used and the mpool_module->mem_node is
never initalized.
Bug or not?
Apparently George fixed this in the trunk in r19257
https://svn.open-mpi.org/source/history/ompi-trunk/ompi/mca/mpool/sm/mpool_sm_module.c
. So, the resources parameter is never used, but you call
mca_mpool_sm_module_init(), which has the decency to set mem_node to
-1. Not a helpful value, but a legal one.