hpx/batch_environments/pbs_environment.hpp

See Public API for a list of names and headers that are part of the public HPX API.

namespace hpx
namespace util
namespace batch_environments
struct pbs_environment

Public Functions

pbs_environment(std::vector<std::string> &nodelist, bool have_mpi, bool debug)
bool valid() const
std::size_t node_num() const
std::size_t num_threads() const
std::size_t num_localities() const

Private Functions

void read_nodefile(std::vector<std::string> &nodelist, bool have_mpi, bool debug)
void read_nodelist(std::vector<std::string> &nodelist, bool debug)

Private Members

std::size_t node_num_
std::size_t num_localities_
std::size_t num_threads_
bool valid_