Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Podhorszki, Norbert
ADIOS2
Commits
5c2d76dc
Commit
5c2d76dc
authored
Mar 11, 2020
by
Ruonan Wang
Committed by
Wang, Ruonan
Mar 12, 2020
Browse files
added conditions for SSC Fortran tests
parent
52267d2d
Changes
2
Hide whitespace changes
Inline
Side-by-side
source/adios2/engine/ssc/SscReader.tcc
View file @
5c2d76dc
...
...
@@ -144,10 +144,16 @@ SscReader::BlocksInfoCommon(const Variable<T> &variable,
b.Start = v.start;
b.Count = v.count;
b.Shape = v.shape;
if (!helper::IsRowMajor(m_IO.m_HostLanguage))
{
std::reverse(b.Start.begin(), b.Start.end());
std::reverse(b.Count.begin(), b.Count.end());
std::reverse(b.Shape.begin(), b.Shape.end());
}
b.IsValue = false;
if (
v.s
hape.size() == 1)
if (
b.S
hape.size() == 1)
{
if (
v.s
hape[0] == 1)
if (
b.S
hape[0] == 1)
{
b.IsValue = true;
}
...
...
testing/adios2/engine/staging-common/CMakeLists.txt
View file @
5c2d76dc
...
...
@@ -236,7 +236,10 @@ if(ADIOS2_HAVE_MPI)
endif
()
if
(
ADIOS2_HAVE_SSC
)
set
(
SSC_TESTS
"1x1;1x1.Attrs;2x1;1x2;2x1ZeroDataVar;2x1ZeroDataR64;3x5;5x3;3x5LockGeometry;FtoC.1x1;FtoC.3x5;TimeoutOnOpen"
)
set
(
SSC_TESTS
"1x1;1x1.Attrs;2x1;1x2;2x1ZeroDataVar;2x1ZeroDataR64;3x5;5x3;3x5LockGeometry;TimeoutOnOpen"
)
if
(
ADIOS2_HAVE_Fortran
)
list
(
APPEND SSC_TESTS
"FtoC.1x1"
"FtoC.3x5"
)
endif
()
foreach
(
test
${
SSC_TESTS
}
)
add_common_test
(
${
test
}
SSC
)
endforeach
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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