Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
init.hh
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 // :noTabs=false:tabSize=4:indentSize=4:
4 //
5 // (c) Copyright Rosetta Commons Member Institutions.
6 // (c) This file is part of the Rosetta software suite and is made available under license.
7 // (c) The Rosetta software is developed by the contributing members of the Rosetta Commons.
8 // (c) For more information, see http://www.rosettacommons.org. Questions about this can be
9 // (c) addressed to University of Washington UW TechTransfer, email: license@u.washington.edu.
10 
11 /// @file src/core/init.hh
12 /// @brief Core Init functions
13 /// @author Sergey Lyskov
14 ///
15 
16 
17 #ifndef INCLUDED_core_init_hh
18 #define INCLUDED_core_init_hh
19 
20 // STL
21 #include <string>
22 
23 #include <utility/vector1.hh>
24 #include <numeric/random/random.hh>
25 
26 namespace core {
27 
28  /// @brief Initialize MPI (message passing interface) for parallel applications
29  void init_mpi(int argc, char * argv []);
30 
31  /// @brief Initialize the option system, which manages command line options
32  void init_options(int argc, char * argv []);
33 
34  /// @brief Tracers control output to std::cout and std::cerr
35  void init_tracers();
36 
37  /// @brief Initialize the latest and greatest score function parameters
39 
40  /// @brief Choose to output source version control information?
41  void init_source_revision();
42 
43  /// @brief Setup basic search paths
44  void init_paths();
45 
46  /// @brief Check for deprecated flags specified by the user and output error messages if necessary
48 
49  /// @brief Describe the application execution command
50  void report_application_command(int argc, char * argv []);
51 
52  /// @brief Initalize random number generators
54 
55  /// @brief Choose to randomly delay execution to desyncronize parallel execution
56  void random_delay();
57 
58  /// @brief Locate rosetta_database
60 
61  /// @brief Profiling measures execution performance
62  void init_profiling();
63 
64  /// @brief Init basic core systems: options system, random system.
65  void init(int argc, char * argv []);
66 
67  /// @brief wrapper for core system Init
68  void init( utility::vector1<std::string> const & args );
69 
70  /// @brief Initialize random generator systems (and send debug io to tracer with seed/mode info).
71  void init_random_generators(int const start_seed, numeric::random::RND_RunType run_type, std::string const & RGtype);
72 
73  /// @brief Check for deprecated flags and utility exit if any deprecated flags are detected
75 
76 } // namespace core
77 
78 #endif // INCLUDED_core_init_HH