|
Rosetta 3.5
|
#include <MPI_Relax.hh>


Public Member Functions | |
| MPI_Relax () | |
| virtual | ~MPI_Relax () |
| virtual void | register_work_units () |
Public Member Functions inherited from protocols::wum::MPI_WorkUnitManager | |
| MPI_WorkUnitManager (char machine_letter) | |
| virtual | ~MPI_WorkUnitManager () |
| virtual void | go ()=0 |
Public Member Functions inherited from protocols::wum::WorkUnitManager | |
| WorkUnitManager () | |
| virtual | ~WorkUnitManager () |
| void | register_work_units (const protocols::wum::WorkUnitList &work_unit_list) |
| WorkUnitQueue & | outbound () |
| WorkUnitQueue & | inbound () |
| const WorkUnitQueue & | outbound () const |
| const WorkUnitQueue & | inbound () const |
Protected Member Functions | |
| virtual void | init_master () |
| virtual void | init_slave () |
| virtual void | process_inbound_wus_master () |
| virtual void | process_outbound_wus_master () |
| bool | fill_outbound_queue () |
Protected Member Functions inherited from protocols::wum::MPI_WorkUnitManager | |
| virtual void | init ()=0 |
| virtual void | process_inbound_wus ()=0 |
| virtual void | process_outbound_wus ()=0 |
| virtual void | print_stats () |
| Print a line with general run statistics, now. More... | |
| virtual void | print_stats_auto () |
| Print a line with general run statistics, only if enough time has pased since the last statistics printout. More... | |
| void | reset_timing_stats () |
| Reset all the stats counters. More... | |
| void | process_incoming_msgs (bool wait_until_message=false) |
| MPI Communication function. More... | |
| void | send_MPI_workunit (const WorkUnitBaseOP &wu, int dest_rank) const |
| Send a workunit to an arbitrary recipient. More... | |
| void | receive_MPI_workunit (core::Size node_rank=MPI_ANY_SOURCE) |
| Receive a workunit and add it to the inbound queue. By default accept any workunit or accept a specific source rank. Note that this function is blocking and will onyl return once a workunit has been received. More... | |
| void | send_next_WU_on_request () |
| char | get_machine_letter () |
| How many masters are there in total ? More... | |
| core::Real | start_timer (MPI_TIMING timing_mode) const |
| This initiates a new timer block. Note that there is no end_timer() function - you just keep calling start_timer, which automatically ends the previous block (and records times etc) More... | |
| void | print_timing_stats () |
| Display the timing statistics. More... | |
| long | wall_time () const |
| Return the total life time of this class in seconds. More... | |
Protected Member Functions inherited from protocols::wum::WorkUnitManager | |
| const protocols::wum::WorkUnitList & | work_unit_list () const |
| protocols::wum::WorkUnitList & | work_unit_list () |
| void | write_queues_to_file (const std::string &prefix="default") const |
| void | write_work_unit (const WorkUnitBaseOP &wu, std::ostream &out) const |
| void | write_queue (const WorkUnitQueue &the_queue, std::ostream &out) const |
| void | read_queues_from_file (const std::string &prefix="default") |
| bool | read_work_unit (WorkUnitBaseOP &qualified_wu, std::istream &in) |
| void | read_queue (WorkUnitQueue &the_queue, std::istream &in) |
| core::Size | mem_foot_print () const |
| return total memory foot print in bytes More... | |
Private Attributes | |
| core::import_pose::pose_stream::MetaPoseInputStream | input_ |
| core::Size | max_out_queue_size_ |
Additional Inherited Members | |
Public Types inherited from protocols::wum::WorkUnitManager | |
| typedef WorkUnitQueue::iterator | iterator |
| typedef WorkUnitQueue::const_iterator | const_iterator |
Protected Types inherited from protocols::wum::MPI_WorkUnitManager | |
| enum | MPI_TIMING { TIMING_WAIT =0, TIMING_TRANSFER_SEND, TIMING_TRANSFER_RECV, TIMING_CPU, TIMING_IO_WRITE, TIMING_IO_READ, TIMING_IDLE, TIMING_end } |
Definition at line 33 of file MPI_Relax.hh.
|
inline |
Definition at line 35 of file MPI_Relax.hh.
References register_work_units().
|
inlinevirtual |
Definition at line 42 of file MPI_Relax.hh.
|
protected |
Definition at line 60 of file MPI_Relax.cc.
References protocols::wum::WorkUnitQueue::add(), core::import_pose::pose_stream::MetaPoseInputStream::fill_pose(), core::chemical::ChemicalManager::get_instance(), protocols::wum::WorkUnitList::get_work_unit(), core::import_pose::pose_stream::MetaPoseInputStream::has_another_pose(), input_, max_out_queue_size_, protocols::wum::WorkUnitManager::outbound(), core::chemical::ChemicalManager::residue_type_set(), protocols::wum::WorkUnitQueue::size(), protocols::wum::TR(), and protocols::wum::WorkUnitManager::work_unit_list().
Referenced by process_outbound_wus_master().
|
protectedvirtual |
Definition at line 51 of file MPI_Relax.cc.
References input_, core::import_pose::pose_stream::streams_from_cmd_line(), and protocols::wum::TR().
|
protectedvirtual |
Definition at line 109 of file MPI_Relax.cc.
References protocols::wum::TR().
|
protectedvirtual |
Definition at line 121 of file MPI_Relax.cc.
References protocols::wum::SilentStructStore::begin(), protocols::wum::WorkUnit_SilentStructStore::decoys(), protocols::wum::SilentStructStore::end(), protocols::abinitio::filename(), protocols::wum::WorkUnitManager::inbound(), protocols::wum::WorkUnitQueue::pop_next(), core::io::serialization::size(), protocols::wum::SilentStructStore::size(), protocols::wum::TR(), and core::io::silent::SilentFileData::write_silent_struct().
|
protectedvirtual |
Definition at line 114 of file MPI_Relax.cc.
References fill_outbound_queue().
|
virtual |
Definition at line 100 of file MPI_Relax.cc.
References protocols::relax::generate_relax_from_cmd(), protocols::wum::WorkUnitList::register_work_unit(), protocols::relax::relax_pose(), protocols::wum::TR(), and protocols::wum::WorkUnitManager::work_unit_list().
Referenced by MPI_Relax().
|
private |
Definition at line 58 of file MPI_Relax.hh.
Referenced by fill_outbound_queue(), and init_master().
|
private |
Definition at line 60 of file MPI_Relax.hh.
Referenced by fill_outbound_queue().
1.8.4