Code Monkey home page Code Monkey logo

ptmpi's People

Contributors

chris-n-self avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ptmpi's Issues

Adapting ptmpi for phylogenetics

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

Installation issues

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.