5#ifndef MADNESS_RANKS_AND_HOSTS_H
6#define MADNESS_RANKS_AND_HOSTS_H
17 std::map<std::string,std::vector<long>>
ranks_per_host(World& universe);
Header to declare stuff which has not yet found a home.
Namespace for all elements and tools of MADNESS.
Definition DFParameters.h:10
double get_rss_usage_in_GB()
Definition ranks_and_hosts.cpp:10
std::vector< int > primary_ranks_per_host(World &world, const std::map< std::string, std::vector< long > > &ranks_per_host1)
Definition ranks_and_hosts.cpp:86
std::string get_hostname()
Definition ranks_and_hosts.cpp:98
std::map< long, std::pair< std::string, double > > rank_to_host_and_rss_map(World &universe)
return a mapping rank to hostname, return value on rank 0 only
Definition ranks_and_hosts.cpp:36
long lowest_rank_on_host_of_rank(const std::map< std::string, std::vector< long > > ranks_per_host1, int rank)
Definition ranks_and_hosts.cpp:73
std::map< std::string, std::vector< long > > ranks_per_host(World &universe)
for each host, return a list of its ranks
Definition ranks_and_hosts.cpp:52
static XNonlinearSolver< std::vector< Function< T, NDIM > >, T, vector_function_allocator< T, NDIM > > nonlinear_vector_solver(World &world, const long nvec)
Definition nonlinsol.h:371
Declares the World class for the parallel runtime environment.
Implements global operations.