MADNESS 0.10.1
Namespaces | Functions
ranks_and_hosts.h File Reference
#include <madness/world/world.h>
#include <madness/world/worldgop.h>
#include <madness/misc/misc.h>
Include dependency graph for ranks_and_hosts.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  madness
 Namespace for all elements and tools of MADNESS.
 

Functions

std::string madness::get_hostname ()
 
double madness::get_rss_usage_in_GB ()
 
long madness::lowest_rank_on_host_of_rank (const std::map< std::string, std::vector< long > > ranks_per_host1, int rank)
 
std::vector< int > madness::primary_ranks_per_host (World &world, const std::map< std::string, std::vector< long > > &ranks_per_host1)
 
std::map< long, std::pair< std::string, double > > madness::rank_to_host_and_rss_map (World &universe)
 return a mapping rank to hostname, return value on rank 0 only
 
std::map< std::string, std::vector< long > > madness::ranks_per_host (World &universe)
 for each host, return a list of its ranks