From 9210b86afb3ecb786276f0eb2e849a7cdee5a2b9 Mon Sep 17 00:00:00 2001 From: Axel Huebl Date: Tue, 15 Oct 2019 15:07:31 -0700 Subject: [PATCH] Docs: Update ADIOS2_USE_Endian_Reverse Update the description of the `ADIOS2_USE_Endian_Reverse` to include more details. Just to fix my confusion :-) --- docs/user_guide/source/setting_up/source/cmake.rst | 2 +- source/adios2/engine/bp4/BP4Writer.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/user_guide/source/setting_up/source/cmake.rst b/docs/user_guide/source/setting_up/source/cmake.rst index 5f5bc272b8..d038779329 100644 --- a/docs/user_guide/source/setting_up/source/cmake.rst +++ b/docs/user_guide/source/setting_up/source/cmake.rst @@ -98,7 +98,7 @@ VAR VALUE Description ``ADIOS2_USE_MGARD`` **ON**/OFF `MGARD `_ compression (experimental). ``ADIOS2_USE_PNG`` **ON**/OFF `PNG `_ compression (experimental). ``ADIOS2_USE_Blosc`` **ON**/OFF `Blosc `_ compression (experimental). -``ADIOS2_USE_Endian_Reverse`` ON/**OFF** Big/Little Endian Interoperability for different endianness platforms at write and read. +``ADIOS2_USE_Endian_Reverse`` ON/**OFF** Enable endian conversion if a different endianness is detected between write and read. ============================= ================ ========================================================================================================================================================================================================================== In addition to the ``ADIOS2_USE_Feature`` options, the following options are also available to control how the library gets built: diff --git a/source/adios2/engine/bp4/BP4Writer.cpp b/source/adios2/engine/bp4/BP4Writer.cpp index c24d347d1d..b32d16e9ab 100644 --- a/source/adios2/engine/bp4/BP4Writer.cpp +++ b/source/adios2/engine/bp4/BP4Writer.cpp @@ -281,7 +281,7 @@ void BP4Writer::InitBPBuffer() throw std::runtime_error( "ERROR: previous run generated BigEndian bp file, " "this version of ADIOS2 wasn't compiled " - "with the cmake flag -DADIOS2_USE_ENDIAN_REVERSE=ON " + "with the cmake flag -DADIOS2_USE_Endian_Reverse=ON " "explicitly, in call to Open\n"); } const size_t pos_last_step = preMetadataIndexFileSize - 64;