File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -267,15 +267,15 @@ Anomalies ADOutlierHBOS::run(int step) {
267267 if (runtimes.size () > 0 ) {
268268 if (!g.find (func_id)) { // If func_id does not exist
269269 const int r = param[func_id].create_histogram (runtimes);
270- if (r < 0 ) {return outliers ;}
270+ if (r < 0 ) {continue ;}
271271 }
272272 else { // merge with exisiting func_id, not overwrite
273273
274274 const int r = param[func_id].merge_histograms (g[func_id], runtimes);
275- if (r < 0 ) {return outliers ;}
275+ if (r < 0 ) {continue ;}
276276 }
277277 }
278- else { return outliers ;}
278+ else { continue ;}
279279 }
280280
281281 // Update temp runstats to include information collected previously (synchronizes with the parameter server if connected)
@@ -543,15 +543,15 @@ Anomalies ADOutlierCOPOD::run(int step) {
543543 if (runtimes.size () > 0 ) {
544544 if (!g.find (func_id)) { // If func_id does not exist
545545 const int r = param[func_id].create_histogram (runtimes);
546- if (r < 0 ) {return outliers ;}
546+ if (r < 0 ) {continue ;}
547547 }
548548 else { // merge with exisiting func_id, not overwrite
549549
550550 const int r = param[func_id].merge_histograms (g[func_id], runtimes);
551- if (r < 0 ) {return outliers ;}
551+ if (r < 0 ) {continue ;}
552552 }
553553 }
554- else { return outliers ;}
554+ else { continue ;}
555555 }
556556
557557 // Update temp runstats to include information collected previously (synchronizes with the parameter server if connected)
Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ TEST(HBOSADOutlierBPFileWithoutPServer, Works) {
115115 // Parameters for the connection to the instrumented binary trace output
116116 params.trace_engineType = " BPFile" ; // BPFile or SST
117117 params.trace_data_dir = trace_data_dir; // *.bp location
118- std::string bp_prefix = " tau-metrics" ; // bp file prefix (e.g. tau-metrics-[nwchem])
118+ std::string bp_prefix = " tau-metrics-xgc-es-cpp-gpu " ; // "tau-metrics "; // bp file prefix (e.g. tau-metrics-[nwchem])
119119
120120 // The remainder are optional arguments. Enable using the appropriate command line switch
121121 params.program_idx = 0 ;
@@ -128,7 +128,7 @@ TEST(HBOSADOutlierBPFileWithoutPServer, Works) {
128128 params.prov_outputpath = " " ;
129129 #ifdef ENABLE_PROVDB
130130 params.nprovdb_shards = 1 ;
131- params.provdb_addr = " " ; // don't use provDB by default
131+ params.provdb_addr = " " ; // don't use provDB
132132 #endif
133133 params.err_outputpath = " " ; // use std::cerr for errors by default
134134 params.trace_connect_timeout = 60 ;
Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ TEST(SSTDADOutlierBPFileWithoutPServer, Works) {
9797 if (_argc < 2 ){
9898 throw std::runtime_error (" Path to trace data directory must be provided as an argument!" );
9999 }
100- std::string trace_data_dir = _argv[1 ];
100+ std::string trace_data_dir = _argv[1 ]; // "/home/src/chimbuko_ad/96rank_98step_traces_11_8_21/"; //_argv[1];
101101
102102 // int file_suffix = 1;
103103 int ranks = 4 ;
@@ -116,7 +116,7 @@ TEST(SSTDADOutlierBPFileWithoutPServer, Works) {
116116 // Parameters for the connection to the instrumented binary trace output
117117 params.trace_engineType = " BPFile" ; // argv[1]; // BPFile or SST
118118 params.trace_data_dir = trace_data_dir; // *.bp location
119- std::string bp_prefix = " tau-metrics" ; // argv[3]; // bp file prefix (e.g. tau-metrics-[nwchem])
119+ std::string bp_prefix = " tau-metrics-xgc-es-cpp-gpu " ; // "tau-metrics "; //argv[3]; // bp file prefix (e.g. tau-metrics-[nwchem])
120120
121121 // The remainder are optional arguments. Enable using the appropriate command line switch
122122 params.program_idx = 0 ;
You can’t perform that action at this time.
0 commit comments