Hello,
I encountered an error while trying to run the pvade_main.py script with this .yaml file:
(ePVade) ubuntu@LD210661:/mnt/d/PVade-main$ python pvade_main.py --input input/inflow_input.yaml
Reading problem definition from input/inflow_input.yaml
Traceback (most recent call last):
File "/mnt/d/PVade-main/pvade_main.py", line 183, in
params, structure, flow = main()
File "/mnt/d/PVade-main/pvade_main.py", line 26, in main
params = SimParams(input_file)
File "/mnt/d/PVade-main/pvade/IO/Parameters.py", line 81, in init
self._validate_inputs()
File "/mnt/d/PVade-main/pvade/IO/Parameters.py", line 300, in _validate_inputs
validate(self.input_dict, self.schema_dict)
File "/home/ubuntu/anaconda3/envs/ePVade/lib/python3.13/site-packages/jsonschema/validators.py", line 1332, in validate
raise error
jsonschema.exceptions.ValidationError: 'hypre' is not one of ['lu']
Failed validating 'enum' in schema['properties']['solver']['properties']['solver4_pc']:
{'default': 'lu',
'type': 'string',
'description': 'The preconditioner to use for fluid solve 4 of 5',
'enum': ['lu']}
On instance['solver']['solver4_pc']: 'hypre'
For information, while installing PVade, I installed the main version of FEniCS instead of the 0.6.0 in the 'environment.yaml' (the version 0.6.0 lead to errors).
Could you help me with solving this issue ?
Kind regards,
Adrien Scemama
Hello,
I encountered an error while trying to run the pvade_main.py script with this .yaml file:
(ePVade) ubuntu@LD210661:/mnt/d/PVade-main$ python pvade_main.py --input input/inflow_input.yaml
Reading problem definition from input/inflow_input.yaml
Traceback (most recent call last):
File "/mnt/d/PVade-main/pvade_main.py", line 183, in
params, structure, flow = main()
File "/mnt/d/PVade-main/pvade_main.py", line 26, in main
params = SimParams(input_file)
File "/mnt/d/PVade-main/pvade/IO/Parameters.py", line 81, in init
self._validate_inputs()
File "/mnt/d/PVade-main/pvade/IO/Parameters.py", line 300, in _validate_inputs
validate(self.input_dict, self.schema_dict)
File "/home/ubuntu/anaconda3/envs/ePVade/lib/python3.13/site-packages/jsonschema/validators.py", line 1332, in validate
raise error
jsonschema.exceptions.ValidationError: 'hypre' is not one of ['lu']
Failed validating 'enum' in schema['properties']['solver']['properties']['solver4_pc']:
{'default': 'lu',
'type': 'string',
'description': 'The preconditioner to use for fluid solve 4 of 5',
'enum': ['lu']}
On instance['solver']['solver4_pc']: 'hypre'
For information, while installing PVade, I installed the main version of FEniCS instead of the 0.6.0 in the 'environment.yaml' (the version 0.6.0 lead to errors).
Could you help me with solving this issue ?
Kind regards,
Adrien Scemama