|
OP
0.1
OP is a optimization solver plugin package
|
This namespace includes several methods for debugging parallel communication patterns. More...
Functions | |
| template<typename VectorType > | |
| void | writeVectorToDisk (const std::vector< VectorType > &vector, int local_rank, std::string local_vector_string) |
| Write vector to disk. Files are named vector_string.rank. More... | |
| template<typename VectorType > | |
| void | writeVariablesToDisk (const op::Vector< VectorType > &op_variables, int local_rank, std::string local_variable_string="local_variables") |
| Write local variables to disk. Files are named local_variable_string.rank. More... | |
| template<typename VectorType > | |
| void | readVectorFromDisk (std::vector< VectorType > &vector, int local_rank, std::string local_vector_string) |
| Read vector to disk. Files are named vector_string.rank. More... | |
| template<typename VectorIndexType > | |
| void | writeCommPatternToDisk (op::utility::CommPattern< VectorIndexType > &comm_pattern, int local_rank, std::string comm_pattern_string="pattern") |
| Write comm_pattern to disk. Files are named comm_pattern_string.rank. More... | |
| template<typename VectorIndexType > | |
| op::utility::CommPattern < VectorIndexType > | readCommPatternFromDisk (int local_rank, std::string comm_pattern_string="pattern") |
| Read comm_pattern to disk. Files are named comm_pattern_string.rank. More... | |
This namespace includes several methods for debugging parallel communication patterns.
| op::utility::CommPattern<VectorIndexType> op::debug::readCommPatternFromDisk | ( | int | local_rank, |
| std::string | comm_pattern_string = "pattern" |
||
| ) |
Read comm_pattern to disk. Files are named comm_pattern_string.rank.
| [in] | comm_pattern | rank-local comm pattern |
| [in] | local_rank | current_rank |
| [in] | comm_pattern_string | prefix for file |
Definition at line 126 of file op_debug.hpp.
| void op::debug::readVectorFromDisk | ( | std::vector< VectorType > & | vector, |
| int | local_rank, | ||
| std::string | local_vector_string | ||
| ) |
Read vector to disk. Files are named vector_string.rank.
| [in] | vector | rank-local optimization variables |
| [in] | local_rank | current_rank |
| [in] | local_vector_string | prefix for file |
Definition at line 54 of file op_debug.hpp.
| void op::debug::writeCommPatternToDisk | ( | op::utility::CommPattern< VectorIndexType > & | comm_pattern, |
| int | local_rank, | ||
| std::string | comm_pattern_string = "pattern" |
||
| ) |
Write comm_pattern to disk. Files are named comm_pattern_string.rank.
| [in] | comm_pattern | rank-local comm pattern |
| [in] | local_rank | current_rank |
| [in] | comm_pattern_string | prefix for file |
Definition at line 76 of file op_debug.hpp.
| void op::debug::writeVariablesToDisk | ( | const op::Vector< VectorType > & | op_variables, |
| int | local_rank, | ||
| std::string | local_variable_string = "local_variables" |
||
| ) |
Write local variables to disk. Files are named local_variable_string.rank.
| [in] | op_variables | rank-local optimization variables |
| [in] | local_rank | current_rank |
| [in] | local_variable_string | prefix for file |
Definition at line 41 of file op_debug.hpp.
| void op::debug::writeVectorToDisk | ( | const std::vector< VectorType > & | vector, |
| int | local_rank, | ||
| std::string | local_vector_string | ||
| ) |
Write vector to disk. Files are named vector_string.rank.
| [in] | vector | rank-local optimization variables |
| [in] | local_rank | current_rank |
| [in] | local_vector_string | prefix for file |
Definition at line 21 of file op_debug.hpp.
1.8.5