Displaying 3 results from an estimated 3 matches for "_processes_".
Did you mean:
_process_
2015 Feb 01
0
invoking R function in C++ in parallel
...ained why.
You can
- either work in something like OpenMP and run in multiple threads that
remain /completely/ shielded from R, ie no R calls, and not even R data
types as you cannot trigger gc() calls from different threads
- or work via, say, the parallel or Rmpi packages in multiple _processes_
each of which could call its corresponding R interpreter (but that is
still slower).
There are some examples for OpenMP at the Rcpp Gallery: http://gallery.rcpp.org.
You may also enjoy the RcppParallel package.
But none of this overcomes your main hurdle: no, you cannot call R from
differ...
2011 Apr 19
0
unicorn 3.6.0 release soon
...om and also by Rails).
If there are any other fixes/improvements that could be useful let us
know. I think this is nearing the end of the line for the 3.x series
which will then go into maintenance mode. I''m looking at 4.x being the
crazy series that allows us to run thousands of worker _processes_ and
scale to mythical 4096 core systems :)
The PRNG issues are documented in depth here (and links to Ruby Redmine):
http://bogomips.org/unicorn.git/commit?id=1107ede7
http://bogomips.org/unicorn.git/commit?id=b3241621
If you''re too lazy to upgrade, you can just do this in your aft...
2015 Jan 31
2
invoking R function in C++ in parallel
Hello,
I'm writing an R extension in C++. In the extension, I want to invoke
an R function directly and it works when I use Rcpp in the serial
code. But what I really want is to invoke the R function in parallel
with openmp. When I do so, I got segmentation fault.
I remember someone said that R isn't thread-safe. I think it's also
understandable because an R function also has