Open() in python bindings (example code, helloBPReaderHeatMap2D.py)

Created by: sungsooha

I cannot run the example code, ./examples/bpReader/helloBPReaderHeatMap2D.py. When I run it, I got the following errors:

ibpStream = ioRead.Open('HeatMap2D_py.bp', adios2.Mode.Read. MPI.COMM_SELF)
TypeError: Open(): incompatible function arguments. The following argument types are supported:
     1. (self: adios2.IO, arg0: str, arg1: int) -> adios2::py11::Engine

When I looked at the py11IO.h file, it has the following signature,

\#ifdef ADIOS2_HAVE_MPI
     Engine Open(const std::string &name, const Mode mode, MPI_Comm comm);
\#endif

I also checked the configured header file, ADIOSConfig.h, it has

\#define ADIOS2_HAVE_MPI

Any suggestions?

Thanks, Sungsoo Ha