It appears that 2.0.0rc2 contains the same sort of alloca()-related error I reported against 1.10.2rc1 in https://www.open-mpi.org/community/lists/devel/2015/12/18440.php
This time the problem is in osc_rdma_peer.c, which *does* attempt the appropriate conditional include of alloca.h, but incorrectly does so before (indirect) inclusion of ompi_config.h (to define HAVE_ALLOCA_H). The simple patch below reorders the includes to resolve the problem. -Paul --- ompi/mca/osc/rdma/osc_rdma_peer.c~ Mon May 2 13:37:30 2016 +++ ompi/mca/osc/rdma/osc_rdma_peer.c Mon May 2 13:37:41 2016 @@ -11,14 +11,14 @@ * $HEADER$ */ -#ifdef HAVE_ALLOCA_H -#include <alloca.h> -#endif - #include "osc_rdma_comm.h" #include "ompi/mca/bml/base/base.h" +#ifdef HAVE_ALLOCA_H +#include <alloca.h> +#endif + #define NODE_ID_TO_RANK(module, node_id) ((node_id) * ((ompi_comm_size ((module)->comm) + (module)->node_count - 1) / (module)->node_count)) /** -- Paul H. Hargrove phhargr...@lbl.gov Computer Languages & Systems Software (CLaSS) Group Computer Science Department Tel: +1-510-495-2352 Lawrence Berkeley National Laboratory Fax: +1-510-486-6900