11#ifndef BE_MPI_CSVDISTRIBUTOR_H_
12#define BE_MPI_CSVDISTRIBUTOR_H_
67 const std::string &propertiesFileName,
68 const std::string &delimiter =
"");
80 std::unique_ptr<MPI::CSVResources> _resources;
81 uint64_t _distributedLineCount{};
An implementation of the MPI::Distrbutor abstraction that distribute lines of a text file via work pa...
static const std::string CHECKPOINTRANDOMSEED
The seed used to randomize the input CSV file lines, "Random Seed".
void checkpointRestore()
Restore from a checkpoint state.
static const std::string CHECKPOINTLINECOUNT
The number of lines that were distributed, "Line Count".
void checkpointSave(const std::string &reason)
Create a checkpoint state.
CSVDistributor(const std::string &propertiesFileName, const std::string &delimiter="")
Construct a CSVDistributor using named properties.
void createWorkPackage(MPI::WorkPackage &workPackage)
Create a work package for distribution.
A class to represent an MPI task that distributes work to other tasks.
A class to represent a piece of work to be acted upon by a processor.
This software was developed at the National Institute of Standards and Technology (NIST) by employees...