Skip to content
Snippets Groups Projects

Consolidation with CDI-PIO (develop)

Merged Sergey Kosukhin requested to merge m300488/develop-rebase into develop
1 file
+ 8
1
Compare changes
  • Side-by-side
  • Inline
+ 8
1
@@ -5,6 +5,9 @@
#include <stdio.h>
#include <stdlib.h>
#include <mpi.h>
#include <yaxt.h>
#include "pio_comm.h"
#include "cdi.h"
#include "dmemory.h"
@@ -133,7 +136,11 @@ pioInfoInit(pioInfo_t *p, MPI_Comm commGlob, int clientServerRole)
xmpi(MPI_Comm_group(p->commPio, &pioGroup));
xmpi(MPI_Group_range_incl(pioGroup, 1, collRange, &collGroup));
xmpi(MPI_Comm_create(p->commPio, collGroup, &temp));
if (isCollector) xmpi(MPI_Comm_rank(temp, &p->rankColl));
if (isCollector)
{
xmpi(MPI_Comm_rank(temp, &p->rankColl));
xt_mpi_comm_mark_exclusive(temp);
}
xmpi(MPI_Group_free(&pioGroup));
xmpi(MPI_Group_free(&collGroup));
p->commColl = temp;
Loading