Commit 10c8e140 authored by Wang, Ruonan's avatar Wang, Ruonan
Browse files

FtoF and CtoF tests worked for SSC

parent f0c5a1a5
......@@ -270,7 +270,14 @@ void SscReader::SyncWritePattern()
auto v = m_IO.InquireVariable<T>(b.name); \
if (not v) \
{ \
m_IO.DefineVariable<T>(b.name, b.shape, b.start, b.shape); \
Dims vStart = b.start; \
Dims vShape = b.shape; \
if (!helper::IsRowMajor(m_IO.m_HostLanguage)) \
{ \
std::reverse(vStart.begin(), vStart.end()); \
std::reverse(vShape.begin(), vShape.end()); \
} \
m_IO.DefineVariable<T>(b.name, vShape, vStart, vShape); \
} \
}
ADIOS2_FOREACH_STDTYPE_1ARG(declare_type)
......
......@@ -236,7 +236,8 @@ if(ADIOS2_HAVE_MPI)
endif()
if(ADIOS2_HAVE_SSC)
set (SSC_TESTS "1x1;1x1.Attrs;2x1;1x2;2x1ZeroDataVar;2x1ZeroDataR64;3x5;5x3;3x5LockGeometry;TimeoutOnOpen")
set (SSC_BASE_TESTS "1x1;1x1.Attrs;2x1;1x2;2x1ZeroDataVar;2x1ZeroDataR64;3x5;5x3;3x5LockGeometry;TimeoutOnOpen")
set (SSC_TESTS ${SIMPLE_FORTRAN_TESTS} ${SIMPLE_MPI_FORTRAN_TESTS} ${SSC_BASE_TESTS})
foreach(test ${SSC_TESTS})
add_common_test(${test} SSC)
endforeach()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment