Skip to content

Commit de151e2

Browse files
committed
Fixed cases in main source code where ADIOS class being created with deprecated argument
1 parent bfef34e commit de151e2

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

app/bpfile_replay.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ int main(int argc, char** argv){
7575
}
7676

7777

78-
adios2::ADIOS ad = adios2::ADIOS(adios2::DebugON);
78+
adios2::ADIOS ad = adios2::ADIOS();
7979

8080
adios2::IO io_out = ad.DeclareIO("writer");
8181

app/sst_view.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ int main(int argc, char** argv){
4848
adios2::IO io;
4949
adios2::Engine eng;
5050

51-
ad = adios2::ADIOS(adios2::DebugON);
51+
ad = adios2::ADIOS();
5252
io = ad.DeclareIO("tau-metrics");
5353
if(!offline) io.SetEngine("SST");
5454
io.SetParameters({

src/ad/ADParser.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ ADParser::ADParser(std::string inputFile, unsigned long program_idx, int rank, s
2424
m_inputFile = inputFile;
2525
if(inputFile == "") return;
2626

27-
m_ad = adios2::ADIOS(adios2::DebugON);
27+
m_ad = adios2::ADIOS();
2828

2929
// set io and engine
3030
m_io = m_ad.DeclareIO("tau-metrics");

test/unit_tests/ad/ADParser.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ struct SSTrw{
3030
barrier.wait();
3131
std::cout << "Writer thread initializing" << std::endl;
3232

33-
ad = adios2::ADIOS(adios2::DebugON);
33+
ad = adios2::ADIOS();
3434
io = ad.DeclareIO("tau-metrics");
3535
io.SetEngine("SST");
3636
io.SetParameters({
@@ -103,7 +103,7 @@ TEST(ADParserTestConstructor, opensCorrectlyBPFile){
103103
try{
104104
std::string filename = "commFile";
105105
{
106-
adios2::ADIOS ad = adios2::ADIOS(adios2::DebugON);
106+
adios2::ADIOS ad = adios2::ADIOS();
107107
adios2::IO io = ad.DeclareIO("tau-metrics");
108108
io.SetEngine("BPFile");
109109
io.SetParameters({

0 commit comments

Comments
 (0)