Skip to content

Python: Openning adios v1 file in read-only mode gives error #3574

Closed
@liangwang0734

Description

Why does the code try to modify some signatures?

# test.py

filename = "test.bp"

print("======================================= adios v1")
import adios
print(adios.__version__)
f1 = adios.File(filename)
print(f1.attrs.keys())

print("======================================= adios v2")
import adios2
print(adios2.__version__)
f2 = adios2.open(filename, "r")

Output:

$ python test.py 
======================================= adios v1
1.13.1
dict_keys(['inputfile'])
======================================= adios v2
2.8.3
Traceback (most recent call last):
  File "test.py", line 12, in <module>
    f2 = adios2.open(filename, "r")
ValueError: [Sat Apr  1 11:08:18 2023] [ADIOS2 EXCEPTION] <Core> <Attribute> <Modify> : Attribute /__adios__/create_time_epoch being modified is not modifiable

Link to the test.bp.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions