# Cmdstan 2.18 MPI

**URL:** <https://discourse.mc-stan.org/t/cmdstan-2-18-mpi/5277>\
**Category:** Modeling\
**Created:** [August 18, 2018, 11:59pm UTC](https://discourse.mc-stan.org/t/cmdstan-2-18-mpi/5277 "2018-08-18T23:59:56Z")\
**Posts on this page:** 1\
**Showing post:** 35

<div class="post-metadata">

**Author:** ![JustAnotherFrank](https://avatars.discourse-cdn.com/v4/letter/j/c0e974/32.png) [@JustAnotherFrank](https://discourse.mc-stan.org/u/JustAnotherFrank)\
**Post date:** [September 12, 2018, 2:52pm UTC](https://discourse.mc-stan.org/t/cmdstan-2-18-mpi/5277/35 "2018-09-12T14:52:36Z")

</div>

Hi,

I tried to follow the setup for cmdStan with MPI outlined here and ran into a few problems.

I did:

- download and extract the cmdStan 2.18 release from [https://github.com/stan-dev/cmdstan/releases](https://github.com/stan-dev/cmdstan/releases)

- get current make folder from development git

- under _cmdstan/stand/make_ created a _local_ file and added

- _make build-mpi_

- _make clean-all_

- _make build -j16_

- _make [path to model.stan]_

- ran the excutable with sample and data file provided from mentioned thread

- if I run the same command with _mpirun -n 3_ in front it just looks as if the programm ist started 3 times (which would be correct), but the instances are not communcating

Sooo, I have no Idea what I’m doing wrong, or even to check what is going wrong

Edit:

- fixed make clean

---

_[View the full topic](https://discourse.mc-stan.org/t/cmdstan-2-18-mpi/5277)._
