Unit tests fail when using MPI
Build with -DVTKm_ENABLE_MPI=ON
, and then run ctest -V --rerun-failed
to obtain the following failures:
test 118
Start 118: UnitTestFieldRangeGlobalCompute
118: Test command: /usr/bin/mpiexec "-n" "3" "/home/4nt/build_vtk-m/bin/UnitTests_vtkm_cont_testing_mpi" "UnitTestFieldRangeGlobalCompute" "-v" "INFO"
118: Test timeout computed to be: 180
118: [0:189] Running on 3 ranks.
118: [0:144] Trying type (dataset): vtkm::Float64
118: [0:150] gmin=0, gmax=1000 lmin=0, lmax=333.333
118: [2:150] gmin=0, gmax=1000 lmin=666.667, lmax=1000
118: [1:150] gmin=0, gmax=1000 lmin=333.333, lmax=666.667
118: [2:93] expecting [0, 1000], got [0.33776, 999.923]
118: [0:93] expecting [0, 1000], got [0.33776, 999.923]
118: [0:144] Trying type (dataset): vtkm::Int32
118: [0:150] gmin=-1024, gmax=1024 lmin=-1024, lmax=-342
118: [1:93] expecting [0, 1000], got [0.33776, 999.923]
118: [1:150] gmin=-1024, gmax=1024 lmin=-342, lmax=340
118: [2:150] gmin=-1024, gmax=1024 lmin=340, lmax=1024
118: [0:93] expecting [-1024, 1024], got [-1023, 1023]
118: [1:93] expecting [-1024, 1024], got [-1023, 1023]
118: [2:93] expecting [-1024, 1024], got [-1023, 1023]
118: [0:144] Trying type (dataset): vtkm::Vec< vtkm::Float32, 3 >
118: [0:150] gmin=[1024,0,-1024], gmax=[2048,2048,2048] lmin=[1024,0,-1024], lmax=[1061.93,2048,2048]
118: [1:150] gmin=[1024,0,-1024], gmax=[2048,2048,2048] lmin=[1517.04,0,-1024], lmax=[1554.96,2048,2048]
118: [2:150] gmin=[1024,0,-1024], gmax=[2048,2048,2048] lmin=[2010.07,0,-1024], lmax=[2048,2048,2048]
118: [0:115] [0] expecting [1024, 2048], got [1024.03, 2048]
118: [0:115] [1] expecting [0, 2048], got [1.16293, 2047.57]
118: [0:115] [2] expecting [-1024, 2048], got [-1022.79, 2045.47]
118: [0:168] Trying type (PartitionedDataSet): vtkm::Float64
118: [1:115] [0] expecting [1024, 2048], got [1024.03, 2048]
118: [1:115] [1] expecting [0, 2048], got [1.16293, 2047.57]
118: [1:115] [2] expecting [-1024, 2048], got [-1022.79, 2045.47]
118: [2:115] [0] expecting [1024, 2048], got [1024.03, 2048]
118: [2:115] [1] expecting [0, 2048], got [1.16293, 2047.57]
118: [2:115] [2] expecting [-1024, 2048], got [-1022.79, 2045.47]
118: [1:168] Trying type (PartitionedDataSet): vtkm::Float64
118: [2:168] Trying type (PartitionedDataSet): vtkm::Float64
118: [1:93] expecting [0, 1000], got [0.00651929, 999.55]
118: [0:93] expecting [0, 1000], got [0.00651929, 999.55]
118: [0:168] Trying type (PartitionedDataSet): vtkm::Int32
118: [2:93] expecting [0, 1000], got [0.00651929, 999.55]
118: [2:168] Trying type (PartitionedDataSet): vtkm::Int32
118: [1:168] Trying type (PartitionedDataSet): vtkm::Int32
118: [0:93] expecting [-1024, 1024], got [-1023, 1023]
118: [0:168] Trying type (PartitionedDataSet): vtkm::Vec< vtkm::Float32, 3 >
118: [2:93] expecting [-1024, 1024], got [-1023, 1023]
118: [2:168] Trying type (PartitionedDataSet): vtkm::Vec< vtkm::Float32, 3 >
118: [1:93] expecting [-1024, 1024], got [-1023, 1023]
118: [1:168] Trying type (PartitionedDataSet): vtkm::Vec< vtkm::Float32, 3 >
118: [2:115] [0] expecting [1024, 2048], got [1024.37, 2047.86]
118: [2:115] [1] expecting [0, 2048], got [0.0730027, 2047.82]
118: [2:115] [2] expecting [-1024, 2048], got [-1023, 2047.16]
118: [0:115] [0] expecting [1024, 2048], got [1024.37, 2047.86]
118: [0:115] [1] expecting [0, 2048], got [0.0730027, 2047.82]
118: [0:115] [2] expecting [-1024, 2048], got [-1023, 2047.16]
118: [1:115] [0] expecting [1024, 2048], got [1024.37, 2047.86]
118: [1:115] [1] expecting [0, 2048], got [0.0730027, 2047.82]
118: [1:115] [2] expecting [-1024, 2048], got [-1023, 2047.16]
118:
Build on Ubuntu 18.04, which /usr/bin/c++ --version
returning 7.4.0, built on top of commit 01a51e16 .