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
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
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
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
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'