Cmdstanr: constructing mod object using C++ file

Not currently, unfortunately, but I think there is cleaner way.

The cluster is running linux I suppose? If you have a linux machine you can build the OCaml binary locally (see Stanc3 as submodule of cmdstan - #6 by rok_cesnovar for instructions on how to make portable binaries) and then place the binary on a cmdstan branch in bin/linux-stanc.
Running make build on the cluster will move bin/linux-stanc to bin/stanc and that should work then as regular cmdstan.

Edit: also see Stanc3 as submodule of cmdstan - #4 by rok_cesnovar

1 Like