Loading...
Searching...
No Matches
EonRgpotGroupMpi Struct Reference

#include <RgpotGroupMpi.h>

Public Attributes

int version
int(* agree )(const char *local, char *shared, std::size_t cap)
 Collective on MPI_COMM_WORLD; initialises MPI when needed.
void(* hard_exit )(int status, void *arg)
 on_exit handler: MPI_Abort when rgpot asked for it, else MPI_Finalize, then _Exit.

Detailed Description

Definition at line 12 of file RgpotGroupMpi.h.

Member Data Documentation

◆ agree

int(* EonRgpotGroupMpi::agree) (const char *local, char *shared, std::size_t cap)

Collective on MPI_COMM_WORLD; initialises MPI when needed.

local is this rank's construction error, empty when it succeeded. Returns 1 when every rank succeeded; otherwise shared (cap bytes) holds the lowest failing rank's text on every rank.

Definition at line 18 of file RgpotGroupMpi.h.

◆ hard_exit

void(* EonRgpotGroupMpi::hard_exit) (int status, void *arg)

on_exit handler: MPI_Abort when rgpot asked for it, else MPI_Finalize, then _Exit.

Definition at line 21 of file RgpotGroupMpi.h.

◆ version

int EonRgpotGroupMpi::version

Definition at line 13 of file RgpotGroupMpi.h.


The documentation for this struct was generated from the following file: