JohannesBuchner / PyMultiNest

Pythonic Bayesian inference and visualization for the MultiNest Nested Sampling Algorithm and PyCuba's cubature algorithms.
http://johannesbuchner.github.io/PyMultiNest/
Other
194 stars 88 forks source link

How do I find out which files to delete? #254

Open sumitaghosh opened 4 months ago

sumitaghosh commented 4 months ago

Hello! Thank you for all your help so far. I have a new question.

I'm running PyMultiNest on Slurm for 100 different likelihoods (each one is only slightly different from every other by a certain factor nu) in order to make an evidence plot. Somehow one of the resume files became corrupted, but PyMultiNest isn't telling me which one is corrupted so I don't know which set of files to delete. The error message is "ERROR: no. of points in ev.dat file is not equal to the no. specified in resume file." How can I change this so that it tells me the exact name of the ev.dat file?

This is a problem because I'm using ProcessPoolExecutor to do these runs, but when a single run aborts it cancels the entire job for some reason I don't understand. When I put a try-except in there nothing changes.

Thanks again!