1
Uncertainty Quantification (quoFEM) / Re: Error Running Dakota: Expected 0 gradients but found 1.
« on: December 07, 2022, 05:14:40 AM »Hello, thanks for posting the issue!
Perhaps the model output file (results.out) is not written in the correct format. To check this, please inspect the "results.out" file under the cache folder "LocalWorkDir\tmp.SimCenter\workdir.1". The file should contain only the numbers and spaces (or tabs) and not the brackets. Dakota uses brackets to indicate the gradient values of the model - so having additional brackets there could have prompted the error.
If this is the case, please modify your main or postprocessing FEM scripts such that it only writes the numbers. If this is not the case, can you please share the below two files with us to help us identify the cause of the error?
(1)LocalWorkDir\tmp.SimCenter\workdir.1\results.out
(2)LocalWorkDir\tmp.SimCenter\dakota.in
Thanks,
Sang-ri
Sang-ri, thank you so much! You pointed out the real problem! I changed the 'write file' statement of post.py, and then quoFEM successfully displayed the simulation result data. The key is the way Dakota.in is set up, stating no gradients and no hessians.