conda-forge / cmdstan-feedstock

A conda-smithy repository for cmdstan.
BSD 3-Clause "New" or "Revised" License
1 stars 6 forks source link

TODO: MPI Builds? #2

Open WardBrian opened 3 years ago

WardBrian commented 3 years ago

CmdStan can support MPI through a few different flags, so it may be worth looking into building CmdStan on conda to take advantage of this.

There is a very clear guide on the KB about how to accomplish this in a fairly composable way.

That said, I'm very unfamiliar with MPI or how it is used by CmdStan. In fact, I'm not even sure if MPI needs to be present when CmdStan is built or if it just needs to be available when a model is compiled; if the latter is true, we don't need separate builds at all unless we really care about setting all the correct makefile defaults. @mitzimorris - do you know how exactly MPI is used by cmdstan?

maresb commented 3 years ago

Reference: https://conda-forge.org/docs/maintainer/knowledge_base.html?highlight=mesa#message-passing-interface-mpi

EDIT: I should mention that I've never messed with MPI before, so like with the whole cmdstan process I can't be of much help.