Skip to content

Commit

Permalink
Merge pull request #4174 from pnorbert/fix-adios-campaign-dir
Browse files Browse the repository at this point in the history
Deactivate campaign recording by default. Use .adios-campaign/ as dir…
  • Loading branch information
pnorbert authored May 23, 2024
2 parents a1549b3 + 85cd036 commit c2a9464
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 c2a9464

Please sign in to comment.