Rosetta 3.5
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
src
protocols
jd2
archive
ArchiveMasterBase.cc
Go to the documentation of this file.
1
// -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*-
2
// vi: set ts=2 noet:
3
//
4
// This file is part of the Rosetta software suite and is made available under license.
5
// The Rosetta software is developed by the contributing members of the Rosetta Commons consortium.
6
// (C) 199x-2009 Rosetta Commons participating institutions and developers.
7
// For more information, see http://www.rosettacommons.org/.
8
9
/// @file protocols/jd2/MpiFileBuffer.hh
10
/// @brief header file for MPISilentFileJobOutputter class, part of August 2008 job distributor as planned at RosettaCon08
11
/// @detail this outputter will send silentstructs via MPI to dedicated node that will collect all structures
12
/// @author Oliver Lange olange@u.washington.edu
13
14
15
#ifdef USEMPI
16
#include <mpi.h>
17
#endif
18
19
20
//unit headers
21
#include <protocols/mpi/ArchiveMasterBase.hh>
22
23
//project headers
24
#include <
core/types.hh
>
25
26
//utility headers
27
#include <utility/vector1.hh>
28
#include <utility/io/mpistream.hh>
29
#include <utility/pointer/ReferenceCount.hh>
30
#include <utility/exit.hh>
31
#include <utility/io/ozstream.hh>
32
33
//C++ headers
34
35
#include <string>
36
#include <map>
37
38
namespace
protocols {
39
namespace
mpi {
40
41
ArchiveMasterBase::get_new_decoys
(
SilentStructOPs
& new_structures ) {
42
std::string
filename
=
protocols::jd2::JobDistributor::get_instance
()->
job_outputter
()->filename();
43
MpiFileBuffer mpi_file_buffer( file_buffer_rank_ );
44
mpi_file_buffer.block_file( filename );
45
46
//.... do stuff
47
48
mpi_file_buffer.release_file( filename );
49
}
50
51
52
}
53
}
54
55
#endif
Generated on Sat Jun 1 2013 11:54:20 for Rosetta 3.5 by
1.8.4