<div dir="ltr">Hi Dirk,<div><br></div><div> after realizing that the only C++11 feature I was using was <random> I decided to switch</div><div>to boost::normal_distribution. In particular I now link to BH, but I don't use the boost::normal_distribution</div>
<div>from there, but the one in this commit:</div><div><br></div><div><a href="http://lists.boost.org/boost-commit/2012/10/43158.php">http://lists.boost.org/boost-commit/2012/10/43158.php</a><br></div><div><br></div><div>
which is much faster than the current version. Hopefully the package will now work on all platforms! </div><div><br></div><div>Thanks,</div><div><br></div><div>Matteo</div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Mon, Jun 9, 2014 at 8:02 PM, Dirk Eddelbuettel <span dir="ltr"><<a href="mailto:edd@debian.org" target="_blank">edd@debian.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><br>
On 9 June 2014 at 17:45, Matteo Fasiolo wrote:<br>
| Hi Dirk<br>
| <br>
|<br>
|<br>
| Saw that -- mvnfast looks quite interesting with OpenMP-based RNG!<br>
| |<br>
|<br>
|<br>
| Yes, using a single header parallel RNG, which is compatible with C++11 random<br>
| distributions made<br>
| all the work much easier! The C++11 part is creating lots of problems, though.<br>
<br>
</div>I owe you a follow-up (maybe later today) about how/where it built for me<br>
with clang. This seems to have to do with the 'C++' library one uses with<br>
clang/llvm; it seems on Debian it comes from g++-4.8 which works.<br>
<span><font color="#888888"><br>
Dirk<br>
</font></span><div><br>
| Yes. For the two (smaller) packages (RcppCNPy, and RcppBDT) where I use<br>
| C++11 features I have<br>
|<br>
| Depends: R (>= 3.1.0)<br>
|<br>
| and you should too as C++11 does need R 3.1.0 or later.<br>
|<br>
|<br>
|<br>
|<br>
| Thanks, Prof. Ripley pointed at the same solution.<br>
|<br>
| Matteo <br>
<br>
</div><div><div>--<br>
<a href="http://dirk.eddelbuettel.com" target="_blank">http://dirk.eddelbuettel.com</a> | @eddelbuettel | <a href="mailto:edd@debian.org" target="_blank">edd@debian.org</a><br>
</div></div></blockquote></div><br></div></div>