Unit Test Failure on Andes
Compiling on Andes with gcc-10.1
, we have the following unit test failure:
test 42
Start 42: UnitTestArrayPortalValueReference
42: Test command: /ccs/home/nthompson/vtk-m/build/bin/UnitTests_vtkm_internal_testing "UnitTestArrayPortalValueReference" "-v" "INFO" "--data-dir=/ccs/home/nthompson/vtk-m/data/data" "--baseline-dir=/ccs/home/nthompson/vtk-m/data/baseline" "--write-dir=/ccs/home/nthompson/vtk-m/build"
42: Test timeout computed to be: 180
42: date time ( uptime ) [ thread name/id ] file:line v|
42: 2021-04-16 13:44:54.217 ( 0.000s) [main thread ] loguru.cpp:591 Info| arguments: UnitTestArrayPortalValueReference -v INFO --data-dir=/ccs/home/nthompson/vtk-m/data/data --baseline-dir=/ccs/home/nthompson/vtk-m/data/baseline --write-dir=/ccs/home/nthompson/vtk-m/build
42: 2021-04-16 13:44:54.217 ( 0.000s) [main thread ] loguru.cpp:594 Info| Current dir: /autofs/nccs-svm1_home1/nthompson/vtk-m/build/vtkm/internal/testing
42: 2021-04-16 13:44:54.217 ( 0.000s) [main thread ] loguru.cpp:596 Info| stderr verbosity: 0
42: 2021-04-16 13:44:54.217 ( 0.000s) [main thread ] loguru.cpp:597 Info| -----------------------------------
42: *** I64 ***************
42: Set array using reference
42: Check values
42: Check references in set array.
42: Make a scratch buffer for ref-ref operations.
42: Check that operators work.
42: *** F32 ***************
42: Set array using reference
42: Check values
42: Check references in set array.
42: Make a scratch buffer for ref-ref operations.
42: Check that operators work.
42: *** Vec3f_64 ***************
42: Set array using reference
42: Check values
42: Check references in set array.
42: Make a scratch buffer for ref-ref operations.
42: Check that operators work.
42: ***** Test failed @ /ccs/home/nthompson/vtk-m/vtkm/internal/testing/UnitTestArrayPortalValueReference.cxx:189:TryOperators
42: Reference did not start out as expected. (ref.Get() == expected)
42: 2021-04-16 13:44:54.218 ( 0.000s) [main thread ] loguru.cpp:471 Info| atexit
2/3 Test #42: UnitTestArrayPortalValueReference ...***Failed 0.00 sec
Build sequence:
$ cmake -DCMAKE_CXX_COMPILER=g++ -DVTKm_ENABLE_EXAMPLES=OFF -DVTKm_ENABLE_TESTING=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="-O3 -g -march=native -fno-omit-frame-pointer" ../
$ make
This failure only occurs with gcc-10, and does not occur with gcc-9.