Skip to content

Commit

Permalink
Deactivate campaign recording by default. Use .adios-campaign/ as dir…
Browse files Browse the repository at this point in the history
…ectory name.
  • Loading branch information
pnorbert committed May 23, 2024
1 parent a1549b3 commit 85cd036
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion source/adios2/core/ADIOS.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ void ADIOS::SetUserOptionDefaults()
{
m_UserOptions.general.verbose = 0;

m_UserOptions.campaign.active = true;
m_UserOptions.campaign.active = false;
m_UserOptions.campaign.verbose = 0;
m_UserOptions.campaign.hostname = "";
m_UserOptions.campaign.campaignstorepath = "";
Expand Down
2 changes: 1 addition & 1 deletion source/adios2/engine/campaign/CampaignManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class CampaignManager
int m_WriterRank;
CampaignRecordMap cmap;
std::ofstream m_Output;
const std::string m_CampaignDir = "adios-campaign";
const std::string m_CampaignDir = ".adios-campaign";

#else
public:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def SetupArgs():
args.CampaignFileName = args.campaign_store + "/" + args.CampaignFileName

if args.files is None:
args.LocalCampaignDir = "adios-campaign/"
args.LocalCampaignDir = ".adios-campaign/"

if args.verbose > 0:
print(f"# Verbosity = {args.verbose}")
Expand Down

0 comments on commit 85cd036

Please sign in to comment.