Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: Re: [OMPI devel] Warnings in OMPI trunk and 1.7
From: Shamis, Pavel (shamisp_at_[hidden])
Date: 2012-09-12 10:53:06


Ralph,

Please see our comment inline.

> common_allgather.c: In function 'comm_allgather_pml':
> common_allgather.c:45: warning: 'recv_iov[1].iov_len' may be used uninitialized in this function
> common_allgather.c:45: warning: 'send_iov[1].iov_len' may be used uninitialized in this function
> common_allgather.c:45: warning: 'send_iov[1].iov_base' may be used uninitialized in this function
> common_allgather.c:45: warning: 'recv_iov[1].iov_base' may be used uninitialized in this function

This is ours.

>
> common_netpatterns_knomial_tree.c: In function 'mca_common_netpatterns_setup_recursive_knomial_allgather_tree_node':
> common_netpatterns_knomial_tree.c:38: warning: 'reindex_myid' may be used uninitialized in this function

The same here.

>
> common_verbs_find_ports.c: In function 'ompi_common_verbs_find_ibv_ports':
> common_verbs_find_ports.c:154: warning: attempt to free a non-heap object 'name'
>

This is probably Jeff's code.

>
> coll_ml_module.c: In function 'mca_coll_ml_tree_hierarchy_discovery':
> coll_ml_module.c:1953: warning: 'my_rank_in_remaining_list' may be used uninitialized in this function
>
> coll_ml_hier_algorithms_setup.c: In function 'ml_coll_barrier_constant_group_data_setup':
> coll_ml_hier_algorithms_setup.c:329: warning: 'value_to_set' may be used uninitialized in this function
> coll_ml_hier_algorithms_setup.c:334: warning: 'constant_group_data' may be used uninitialized in this function
> coll_ml_hier_algorithms_setup.c: In function 'ml_coll_up_and_down_hier_setup':
> coll_ml_hier_algorithms_setup.c:25: warning: 'value_to_set' may be used uninitialized in this function

This is ours

We will work to fix it.
Can you please share with us your configure parameters.

Regards,
Pasha