Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion components/omega/src/base/IO.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ void init(const MPI_Comm &InComm // [in] MPI communicator to use
Err = IOConfig.get("IODefaultFormat", InFileFmt);
CHECK_ERROR_WARN(Err, "IO: DefaultFileFmt not found in Config - using {}",
InFileFmt);
FileFmt DefaultFileFmt = FileFmtFromString(InFileFmt);
DefaultFileFmt = FileFmtFromString(InFileFmt);

// Read parallel IO settings - default to single-task if config
// values do not exist
Expand Down
4 changes: 2 additions & 2 deletions components/omega/src/infra/IOStream.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2285,7 +2285,7 @@ Error IOStream::readStream(

// Open input file
int InFileID;
IO::openFile(InFileID, InFileName, Mode, IO::FmtDefault, ExistAction);
IO::openFile(InFileID, InFileName, Mode, IO::DefaultFileFmt, ExistAction);

// Read any requested global metadata
for (auto Iter = ReqMetadata.begin(); Iter != ReqMetadata.end(); ++Iter) {
Expand Down Expand Up @@ -2438,7 +2438,7 @@ void IOStream::writeStream(

// Open output file
int OutFileID;
IO::openFile(OutFileID, OutFileName, Mode, IO::FmtDefault, ExistAction);
IO::openFile(OutFileID, OutFileName, Mode, IO::DefaultFileFmt, ExistAction);

// For files with multiple frames or time slices, we need to determine the
// default Frame number for time-dependent fields. If the frame/time already
Expand Down
Loading