chris-n-self / ptmpi Goto Github PK
View Code? Open in Web Editor NEWPython class to implement parallel-tempering fully in parallel using MPI
License: MIT License
Python class to implement parallel-tempering fully in parallel using MPI
License: MIT License
Hi,
I am Taraka a post-doc working with linguistic phylogenetics. I implemented my MH sampler for sampling trees and other model parameters.
My code which runs mcmc process is here:
https://github.com/PhyloStar/CyBayes/blob/master/mat_mcmc_gamma.py
I write a state to file every t iterations. I am wondering how your program handles this. Does your class access the mcmc state in the child process and then perform swaps? I do not have much experience with mpi with python. I did mpi programming ages ago and don't remember much of the library. I need to run 4 chains (1 cold, 3 hot).
-Taraka
Hi Chris,
I am trying to download the ptmpi package that you shared here. I have installed mpi4py and mpich. But after running the Ising code I am getting as error in the very beginning itself, where it says: "ModuleNotFoundError: No module named 'ptmpi' ".
Is there something I am missing here? Apart from installing the above packages do I need to install something else?
-Best,
Sayonee
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.