14#include "libmesh/parallel_object.h"
44 const std::vector<processor_id_type> &
ranks(
unsigned int hardware_id)
const
void mooseError(Args &&... args)
Emit an error message with the given stringified, concatenated args and terminate the application.
Interface for objects interacting with the PerfGraph.
The PerfGraph will hold the master list of all registered performance segments and the head PerfNode.
Builds lists and maps that help in knowing which physical hardware nodes each rank is on.
const std::vector< unsigned int > & rankHardwareIds() const
Vector containing the hardware ID for each PID.
const std::vector< processor_id_type > & ranks(unsigned int hardware_id) const
Returns the ranks that are on the given hardwareID (phsical node in the job)
std::vector< unsigned int > _rank_to_hardware_id
Each entry corresponds to the hardware_id for that PID.
unsigned int hardwareID(processor_id_type pid) const
Returns the "hardware ID" (a unique ID given to each physical compute node in the job) for a given pr...
std::unordered_map< unsigned int, std::vector< processor_id_type > > _hardware_id_to_ranks
Map of hardware_id -> ranks on that node.
processor_id_type size() const
const Parallel::Communicator & _communicator
const Parallel::Communicator & comm() const