Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Podhorszki, Norbert
ADIOS2
Commits
5bf3a268
Commit
5bf3a268
authored
Aug 01, 2019
by
Atkins, Charles Vernon
Browse files
Revert bp3 version changes
parent
c6164bc0
Changes
1
Hide whitespace changes
Inline
Side-by-side
source/adios2/toolkit/format/bp3/BP3Serializer.cpp
View file @
5bf3a268
...
...
@@ -721,7 +721,12 @@ void BP3Serializer::PutMinifooter(const uint64_t pgIndexStart,
helper
::
CopyToBuffer
(
buffer
,
position
,
version
.
c_str
());
};
const
std
::
string
versionLongTag
(
"ADIOS-BP v"
ADIOS2_VERSION_STR
);
const
std
::
string
majorVersion
(
std
::
to_string
(
ADIOS2_VERSION_MAJOR
));
const
std
::
string
minorVersion
(
std
::
to_string
(
ADIOS2_VERSION_MINOR
));
const
std
::
string
patchVersion
(
std
::
to_string
(
ADIOS2_VERSION_PATCH
));
const
std
::
string
versionLongTag
(
"ADIOS-BP v"
+
majorVersion
+
"."
+
minorVersion
+
"."
+
patchVersion
);
const
size_t
versionLongTagSize
=
versionLongTag
.
size
();
if
(
versionLongTagSize
<
24
)
{
...
...
@@ -734,12 +739,9 @@ void BP3Serializer::PutMinifooter(const uint64_t pgIndexStart,
helper
::
CopyToBuffer
(
buffer
,
position
,
versionLongTag
.
c_str
(),
24
);
}
lf_CopyVersionChar
(
std
::
to_string
(
ADIOS2_VERSION_MAJOR
),
buffer
,
position
);
lf_CopyVersionChar
(
std
::
to_string
(
ADIOS2_VERSION_MINOR
),
buffer
,
position
);
lf_CopyVersionChar
(
std
::
to_string
(
ADIOS2_VERSION_PATCH
),
buffer
,
position
);
#ifdef ADIOS2_VERSION_TWEAK
lf_CopyVersionChar
(
std
::
to_string
(
ADIOS2_VERSION_TWEAK
),
buffer
,
position
);
#endif
lf_CopyVersionChar
(
majorVersion
,
buffer
,
position
);
lf_CopyVersionChar
(
minorVersion
,
buffer
,
position
);
lf_CopyVersionChar
(
patchVersion
,
buffer
,
position
);
++
position
;
helper
::
CopyToBuffer
(
buffer
,
position
,
&
pgIndexStart
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment