Skip to content

Commit

Permalink
resume checkpoint init, starting to implement for issue #26
Browse files Browse the repository at this point in the history
  • Loading branch information
josura committed Jun 16, 2024
1 parent 5fd0028 commit 5cb4287
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/mainMPI4.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ int main(int argc, char** argv) {
bool undirected = false;
bool undirectedTypeEdges = false;
bool resetVirtualOutputs = false;
bool resumeCheckpoint = false;
std::string logMode="";
std::string quantizationMethod = "single";
std::string virtualNodesGranularity = "type";
Expand Down Expand Up @@ -75,6 +76,7 @@ int main(int argc, char** argv) {
("quantizationMethod",po::value<std::string>(), "(string) define the quantization method used to quantize the contact times for the edges between different types, available options are: 'single' and 'multiple'") // aggiungere documentazione
("loggingOptions",po::value<std::string>(&logMode),"(string) logging options, available options are: 'all','none', default to all")
("savePerformance",po::value<std::string>(&performanceFilename), "(string) output performance (running time, number of total nodes, number of communities, number of total edges) to the defined file, if nothing is specified the performance are not saved")
("resumeCheckpoint",po::bool_switch(&resumeCheckpoint), "resume the computation from the last checkpoint, if the checkpoint is not found, the computation will start from the beginning")
;
//TODO add additional boolean parameter to control if the graph names are not genes and the algorithm should use the graph names directly, no conversion or mapping

Expand Down

0 comments on commit 5cb4287

Please sign in to comment.