Incorrect error message for ADIOS2_USE_ENDIAN_REVERSE=ON
Created by: NAThompson
The following error messages:
➜ ADIOS2 git:(master) ✗ grep -nr -B 2 -A 1 'ADIOS2_USE_ENDIAN_REVERSE=ON' .
./source/adios2/toolkit/format/bp4/BP4Deserializer.cpp-73- "ERROR: reader found BigEndian bp file, "
./source/adios2/toolkit/format/bp4/BP4Deserializer.cpp-74- "this version of ADIOS2 wasn't compiled "
./source/adios2/toolkit/format/bp4/BP4Deserializer.cpp:75: "with the cmake flag -DADIOS2_USE_ENDIAN_REVERSE=ON "
./source/adios2/toolkit/format/bp4/BP4Deserializer.cpp-76- "explicitly, in call to Open\n");
--
--
./source/adios2/toolkit/format/bp3/BP3Deserializer.cpp-83- "ERROR: reader found BigEndian bp file, "
./source/adios2/toolkit/format/bp3/BP3Deserializer.cpp-84- "this version of ADIOS2 wasn't compiled "
./source/adios2/toolkit/format/bp3/BP3Deserializer.cpp:85: "with the cmake flag -DADIOS2_USE_ENDIAN_REVERSE=ON "
./source/adios2/toolkit/format/bp3/BP3Deserializer.cpp-86- "explicitly, in call to Open\n");
suggests use of incorrect cmake flags:
$ cmake -DADIOS2_USE_ENDIAN_REVERSE=ON
Build Options:
...
Endian_Reverse: OFF
CMake Warning:
Manually-specified variables were not used by the project:
ADIOS2_USE_ENDIAN_REVERSE
It seemed to me that a natural fix would be using -DEndian_Reverse=ON
, but this didn't work either.