KASKADE 7 development version
Loading...
Searching...
No Matches
bddcMpiRouting.hh File Reference
#include <algorithm>
#include <array>
#include <cstdint>
#include <iostream>
#include <limits>
#include <numeric>
#include <stdexcept>
#include <vector>

Go to the source code of this file.

Classes

class  Kaskade::BDDC::MpiNodeTopology
 Cache the MPI_COMM_TYPE_SHARED partition without retaining communicators. configure() is collective on MPI_COMM_WORLD. A group is identified by its minimum world rank; that identity is shared with every rank once during setup. This discovers shared-memory capability, not a guarantee about MPI's transport choice. More...
struct  Kaskade::BDDC::MpiRoutingTraffic
 Rank-local sent payload accounting for R/P and the three endpoint classes. Count each directed interface packet once at its producer. Encoded payload bytes exclude our batch headers, MPI framing, setup, codebooks, coarse solves and reductions. These are logical endpoint counts, not measured network traffic or raw-byte savings. More...

Namespaces

namespace  Kaskade
 
namespace  Kaskade::BDDC
namespace  Kaskade::BDDC::detail

Functions

int Kaskade::BDDC::mpiRouteClass (int from, int to, std::vector< int > const &leaders)
 Classify an endpoint pair using MPI shared-memory group leaders.
bool Kaskade::BDDC::detail::mpiByteLayout (std::vector< std::size_t > const &sizes, std::vector< int > &counts, std::vector< int > &offsets, int &total)
 Validate legacy MPI int counts/displacements without narrowing overflow.