Hi @Anarionz ,

UQLink does support recover and resume calculations, but because the way Sobol’ indices are estimated using the Monte Carlo procedure of UQLab, there is currently no way to decouple the sample points generation, model evaluation, and the indices estimation. That is, everything is done in one pass.

Using the post-processed `.mat`

file produced by UQLink, you might be able to recover/resume some of your failed calculations to complete the sample points required to estimate the indices. But as far as I know, there’s no straightforward way to use these pre-calculated sample points to estimate Sobol’ indices using UQLab.

For large problems coupled with relatively expensive computational models (having non-neglible risk of failed calculations), you might want to consider using a metamodel instead for your sensitivity analysis. I think, *with some care*, you might be able to recycle some of the computations already done to estimate the Sobol’ indices to construct a metamodel (these results are stored in the processed `.mat`

file produced by UQLink).

Or, maybe @moustapha has an alternative approach to this problem?

PS: Crashes in code can either be just a bad luck (say, some bad combination of input values that create numerical difficulties), or it can be a symptom of a more systematic error (e.g., the code is used outside the range of verifiable inputs). I guess, the latter problem is more problematic, so it would be nice to be somewhat sure about the cause.