namespace gpr::abi

Overview

namespace abi {
 
// structs
 
struct LibraryStatus;
 
// global functions
 
std::string format(const LibraryStatus& status);
std::vector<LibraryStatus> libraries();
std::vector<std::string> reportLines();
void requireAll();
void requireAllOrExit();
 
} // namespace abi

Detailed Documentation

Global Functions

std::vector<LibraryStatus> libraries()

Every library gpridge checks, in a fixed order. A library that is not part of the build, or that ships no stamp in this configuration, is listed as unverified with the reason; none is skipped silently.

void requireAll()

Checks every library gpridge is built with. Throws std::runtime_error naming both stamps on the first mismatch.

void requireAllOrExit()

requireAll for a program entry point, called on every rank before any collective call: a mismatch ends the whole job with MPI_Abort, so no rank is left waiting for one that stopped.