How to use multicores in OCaml to do Monte Carlo simulations?

montecarlo, multicore, ocaml, simulation

Solution

Currently, the only way to do it is with MPI, and you can find OCaml bindings for it on Xavier Leroy's website.

Problem

OCaml process can use just one core and in order to use multiple cores I have to run several processes. Are there any OCaml frameworks to use to parallelize Monte Carlo simulations?

Original source