Installing cmdstan

by Sergio Rossell - 08 Sep 2020
Tags: #stan

Installing command Stan within a conda environmnet.

First create (or activate) a conda enviroment.

conda activate myenv
conda install gcc_linux-64

Clone the git repository (in a path of your choice)

git clone https://github.com/stan-dev/cmdstan.git

cd cmdstan

git submodule update --init --recursive

Typing "make" shows a set of instructions

make

I used (on a big server)

make build -j10

Then you can check if you can compile and run the bernulli model, following the instructions you get when you type "make".