BASEMENTBasic Simulation Environment for computation of environmental flow and natural hazard simulationLaboratory of Hydraulics, Hydrology and Glaciology (VAW)ETH Zurich | ![]() |
You are not logged in.
Hi,
I'm trying to run Basement v3 on Ubuntu 18.04.2 LTS in batch mode. When I try to generate the output with the command "BMv3_BASEplane_results" I get the error:
/RESULTS: Error: This value must be an object.
-> Terminating BASEMENT due to JSON validation errors.
-> ... unfortunately BASEMENT is killed!
I tried to run the same commands on the "stationary" (Flaz_2D_v3/A_Stationary) tutorial provided on the Basement website but I get the same error. Basement (with both my data and the tutorial ones) runs successfully the first two commands (see below) but brakes on the third one with the error message I reported above.
Do you see what I'm doing wrong?
Thank you
Commands:
BMv3_BASEplane_setup -f model.json -o 12_A_run.h5
BMv3_BASEplane_omp -f simulation.json -r 12_A_run.h5 -o C12_results.h5 -p
BMv3_BASEplane_results -f results.json -r 12_A_results.h5 -o 12_A_output
results.json file content:
{
"RESULTS": [
{
"format": "xdmf",
"name": "12_A_run_results"
}
]
}
Offline
Hi
The structure of the results.json was updated shortly before the release of BASEMENT v3pre and was not yet updated in the tutorial files. The result.json should look like this:
{
"RESULTS": {
"EXPORT": [
{"format": "xdmf"}
]
}
}
Sorry for the inconvenience and best regards
Matthias
Offline