30 #include <basic/options/keys/in.OptionKeys.gen.hh>
31 #include <basic/options/keys/out.OptionKeys.gen.hh>
32 #include <basic/options/keys/relax.OptionKeys.gen.hh>
33 #include <basic/options/option.hh>
37 #include <basic/Tracer.hh>
48 static basic::Tracer
TR(
"MPI_Relax");
53 TR <<
"Opening input streams! " << std::endl;
62 using namespace basic::options;
63 using namespace basic::options::OptionKeys;
65 TR <<
"Reading in structures..." << std::endl;
68 if ( option[ in::file::fullatom ]() ) {
76 TR <<
"Reading in pose: " << count << std::endl;
80 TR <<
"Adding pose: " << count << std::endl;
85 TR <<
"ERROR ERROR ERROR" << std::endl;
88 new_wu->decoys().add( pose );
92 TR <<
"Added " << count <<
" workunits to outbound queue" << std::endl;
94 if( count == 0)
return false;
101 TR <<
"Register movers..." << std::endl;
110 TR <<
"MPI_Relax slave. " << std::endl;
122 using namespace basic::options;
123 using namespace basic::options::OptionKeys;
131 if ( structure_wu == NULL ){
132 TR <<
"Cannot save structural data for WU: " << std::endl;
133 next_wu->print( std::cout );
135 TR <<
"Saving decoy store.. " << std::endl;
137 if( decoys.
size() == 0 ){
138 TR <<
"ERROR: WU did not contain any structures. " << std::endl;