AMGX
AMGX copied to clipboard
Cannot read file as JSON object
When I use amgx_capi to solve some sparse linear system, it comes out that most of the default configs cannot be loaded into the API. Some default config will be used and the number of AMG levels is set to be 1.
Cannot read file as JSON object, trying as AMGX config Converting config string to current config version
For some large enough sparse systems, these default settings won't converge.
For instance, ../core/configs/FGMRES_AGGREGATION_JACOBI.json
will be loaded, however, ../core/configs/FGMRES_CLASSICAL_AGGRESSIVE_HMIS.json
and ../core/configs/AMG_CLASSICAL_L1_AGGRESSIVE_HMIS.json
will not.
Does API that loads config return any error code?
Does API that loads config return any error code?
Actually there is no error code shown. The JSON file will be read as string instead according to the source code. I think the judgement for JSON is stricter than common JSON. This same warning also appears in the MPI example in README.
Any update on this ? The issue seems to be not resolved yet.
Which API is used to create configuration object?