Rosetta  2019.12
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Namespaces | Functions | Variables
util.cc File Reference

Utility functions for the message listening framework. More...

#include <basic/mpi/MessageListener.fwd.hh>
#include <basic/mpi/util.hh>
#include <basic/mpi/mpi_enums.hh>
#include <basic/Tracer.hh>
#include <utility/mpi_util.hh>
#include <utility/assert.hh>
#include <utility/exit.hh>
#include <boost/lexical_cast.hpp>
#include <string>

Namespaces

 basic
 Tags used to tag messeges sent by MPI functions used to decide whether a slave is requesting a new job id or flagging as job as being a bad input.
 
 basic::mpi
 

Functions

string basic::mpi::request_data_from_head_node (listener_tags MPI_ONLY(listener_tag), string const &MPI_ONLY(data))
 used for message passing to the MPIWorkPoolJobDistributor. This function will ask the head node for data. The type of data returned is based on the type of listener created based on the listener_tags of the MessageListenerFactory More...
 
void basic::mpi::send_data_to_head_node (std::string const &MPI_ONLY(data))
 
std::string basic::mpi::listener_tag_to_name (listener_tags tag)
 
listener_tags basic::mpi::name_to_listener_tag (std::string const &listener_tag_name)
 

Variables

static basic::Tracer basic::mpi::TR ("basic.mpi")
 

Detailed Description

Utility functions for the message listening framework.

Author
Matthew O'Meara (mattj.nosp@m.omea.nosp@m.ra@gm.nosp@m.ail..nosp@m.com)