message: python/test: automate (check against reference result)
diff: @@ -36,8 +36,8 @@ for i in range(0, Nx):
  value = iGlobal * shape[1] + j
  temperatures[i, j] = value
  -print(temperatures)
  -# ADIOS portion
  +# print(temperatures)
  +# ADIOS2 read
  adios = adios2.ADIOS(comm)
  ioWrite = adios.DeclareIO("ioWriter")
  @@ -50,20 +50,23 @@ obpStream.Close()
  if rank == 0:
  + # ADIOS2 read
  ioRead = adios.DeclareIO("ioReader")
  -
  ibpStream = ioRead.Open('HeatMap2D_py.bp', adios2.Mode.Read, MPI.COMM_SELF)
  -
  var_inTemperature = ioRead.InquireVariable("temperature2D")
  - if var_inTemperature is not None:
  + assert var_inTemperature is not None
  readOffset = [2, 2]
  readSize = [4, 4]
  var_inTemperature.SetSelection([readOffset, readSize])
  inTemperatures = numpy.zeros(readSize, dtype=numpy.int)
  ibpStream.Get(var_inTemperature, inTemperatures, adios2.Mode.Sync)
  -
  - print('Incoming temperature map\n', inTemperatures)
  -
  ibpStream.Close()
  +
  + #print('Incoming temperature map\n', inTemperatures)
  + expected = numpy.array([[22, 23, 24, 25],
  + [32, 33, 34, 35],
  + [42, 43, 44, 45],
  + [52, 53, 54, 55]], numpy.int)
  + assert numpy.array_equal(inTemperatures, expected)
  