Re: [OMPI users] MPI_Neighbor_alltoallw fails with mpi-1.8.3

2014-11-21 Thread Gilles Gouaillardet
Hi Ghislain, that sound like a but in MPI_Dist_graph_create :-( you can use MPI_Dist_graph_create_adjacent instead : MPI_Dist_graph_create_adjacent(MPI_COMM_WORLD, degrees, &targets[0], &weights[0], degrees, &targets[0], &weights[0], info, rankReordering, &commGraph); it

Re: [OMPI users] Open MPI SC'14 BOF slides: mpif.h --> module mpi

2014-11-21 Thread Michael.Rachner
Dear community, Slide 92 of the OpenMPI Sc'14 slides describes the simple migration from mpif.hto use mpiin a Fortran application code. However the description is not correct. In a Fortran routine, the use-stmts (if there are) must come before (!) any other stmts, i.e. you cannot

Re: [OMPI users] MPI_Neighbor_alltoallw fails with mpi-1.8.3

2014-11-21 Thread Ghislain Viguier
Hi Gilles and Howard, The use of MPI_Dist_graph_create_adjacent solves the issue :) Thanks for your help! Best reagrds, Ghislain 2014-11-21 7:23 GMT+01:00 Gilles Gouaillardet : > Hi Ghislain, > > that sound like a but in MPI_Dist_graph_create :-( > > you can use MPI_Dist_graph_create_adjacent

Re: [OMPI users] MPI_Neighbor_alltoallw fails with mpi-1.8.3

2014-11-21 Thread Gilles Gouaillardet
Ghislain, i can confirm there is a bug in mca_topo_base_dist_graph_distribute FYI a proof of concept is available at https://github.com/open-mpi/ompi/pull/283 and i recommend you use MPI_Dist_graph_create_adjacent if this meets your needs. as a side note, the right way to set the info is

Re: [OMPI users] Open MPI SC'14 BOF slides: mpif.h --> module mpi

2014-11-21 Thread Jeff Squyres (jsquyres)
How embarrassing; I got it backwards! :-( Thanks for pointing this out; I have updated the slides on the web site to be correct. Sidenote: on putting "implicit none" in the mpi module -- I remember that we talked about this, and decided that even though it would be a good thing for users, it'