Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sampler chaining: repeat appearances of a sampler results in overwritten files #168

Closed
jessmuir opened this issue Feb 11, 2025 · 1 comment

Comments

@jessmuir
Copy link

Hello! I've been experimenting with sampler chaining, trying to use multiple calls to maxlike chained together like

[runtime]
sampler = maxlike maxlike maxlike maxlike

I'd be interested in being able to see what the output of each of, say, four sequential maxlike searches is, to gauge the impact of running it once vs twice vs three times etc. However, it seems like each time maxlike is run, it overwrites the output from the previous call. This means that if my wall time runs out in the middle of the 4th maxlike call, rather than being able to see the intermediate outputs from calls 1, 2 and 3, I'm just left with one empty file. If possible, it could be useful to adjust filenames for these intermediate output files to avoid this.

@joezuntz
Copy link
Owner

joezuntz commented Feb 14, 2025

Fixed in version 3.17. It now numbers the files if there is a repeated sampler (ignoring the end one).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants