MATLABStan and cores

37 views
Skip to first unread message

Leon Peshkin

unread,
Apr 9, 2017, 7:20:18 PM4/9/17
to Stan users mailing list
So "cores" does not seem to be among the options for Stan in MATLAB,
> help stan
 does not list this option, which is available in RStan,
    is this something un-availabe for a deep under-the-hood  reason in MATLAB
or will it be enabled ?

  Similarly, "-O=3"  optimization in "make" does not seem to be an option in MATLAB.

thank you
  -Leon

Aki Vehtari

unread,
Apr 10, 2017, 10:31:03 AM4/10/17
to Stan users mailing list
Hi,

MatlabStan is developed by Brian Lau, It seems that Brian is not reading this forum and there doesn't seem to be so many Matlab users here, so it's better to
 1) check the MatlabStan wiki https://github.com/brian-lau/MatlabStan/wiki
 2) open an issue in github https://github.com/brian-lau/MatlabStan/

Since MatlabStan is calling CmdStan, all the options available for CmdStan could be added to MatlabStan interface, too.

Aki

Brian Lau

unread,
May 17, 2017, 6:03:32 AM5/17/17
to Stan users mailing list
Each chain is run as a separate process that automatically get run on different cores if available.

I've opened an issue for passing optimization flags for compilation:

-b
Reply all
Reply to author
Forward
0 new messages