Constructor mismatch when running python examples
Created by: swsachith
Followed the steps according to the installation guide: https://adios2.readthedocs.io/en/latest/installation/installation.html
I’m using a virtual env with mpi4py and numpy installed with python version 3.6.6 locally on a RHEL7 (7.6). Here are the steps I followed and came across an error.
-
I pointed the PYTHONPATH location to the adios.so file (in the build dir: <adios_home>/adios2-build/lib64/python3.6/site-packages)
-
ran the ctest -R Python : the test passed
-
then ran both:
mpirun -n 4 python3 helloBPWriter.py
andpython3 helloBPWriter.py
and it gave me the same error.
Traceback (most recent call last):
File "helloBPWriter.py", line 22, in <module>
adios = adios2.ADIOS(comm, adios2.DebugON)
TypeError: ADIOS(): incompatible function arguments. The following argument types are supported:
1. (debugMode: bool=True) -> adios2::py11::ADIOS
2. (configFile: str='', debugMode: bool=True) -> adios2::py11::ADIOS