10#ifndef _BE_MPI_RESOURCES_H
11#define _BE_MPI_RESOURCES_H
82 static std::vector<std::string>
91 static std::vector<std::string>
148 std::string _propertiesFileName;
152 std::string _logsheetURL;
153 std::string _checkpointPath;
A class to represent a set of resources needed by an MPI program.
static const std::string WORKERSPERNODEPROPERTY
The property string "Workers Per Node"; required.
std::string getPropertiesFileName() const
Obtain the name of the file used to construct this object.
static std::vector< std::string > getRequiredProperties()
Obtain the list of required properties.
static const std::string LOGSHEETURLPROPERTY
The property string "Logsheet URL"; optional.
static const std::string NUMCPUS
The "Workers Per Node" setting "NUMCPUS".
Resources(const std::string &propertiesFileName)
Constructor taking the name of the properties file describing the resources.
std::string getCheckpointPath() const
Obtain the Checkpoint Path name.
static const std::string NUMSOCKETS
The "Workers Per Node" setting "NUMSOCKETS".
static std::vector< std::string > getOptionalProperties()
Obtain the list of optional properties.
static const std::string NUMCORES
The "Workers Per Node" setting "NUMCORES".
static const std::string CHECKPOINTPATHPROPERTY
The property string "Checkpoint Path"; required when checkpointing is enabled, optional otherwise.
int getWorkersPerNode() const
std::string getLogsheetURL() const
Obtain the Uniform Resource Locator for the IO:Logsheet object.
This software was developed at the National Institute of Standards and Technology (NIST) by employees...