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

Support for parallel tempering? #14

Closed
rkr8 opened this issue Aug 21, 2024 · 2 comments
Closed

Support for parallel tempering? #14

rkr8 opened this issue Aug 21, 2024 · 2 comments

Comments

@rkr8
Copy link

rkr8 commented Aug 21, 2024

Hi everyone,

Thanks for developing this nice software package! I was thinking about rewriting my not-so-organized MC code using this software package and was wondering if there is support for parallel tempering / replica-exchange MCMC sampling using MPI?

All the best,
Roman

@lukas-weber
Copy link
Owner

lukas-weber commented Aug 21, 2024

In the old c++ version of this code, I did have parallel tempering support, however it did not make it into the Julia version.

The way I would implement it nowadays is as a kind of adapter ParallelTemperingMC{MC <: AbstractMC} <: AbstractMC that itself acts like a normal AbstractMC (in parallel-run mode) and performs parallel tempering on an underlying MC implementation.

This is on the to-do list for a future version of Carlo.jl. In case someone needs it for their research now, I am happy to provide support with implementing it yourself.

@rkr8
Copy link
Author

rkr8 commented Aug 21, 2024

Thanks for the quick response! That sounds promising. I would have to get more familiar with the software, but I’d be interested to have a look at the parallel tempering in the future. Thank you for the offer of support!

All the best,
Roman

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