Skip to content
Prev 337 / 2152 Next

multicore and AnnotaionDBI (bioconductor) problem

The problem appears to be that the child processes that are forked
by the mclapply function are not able to use the database connection
that they inherited from their parent.  You need to figure out some
way for the child processes to create their own database connection
after they are created.  I'm not sure of the best strategy for doing
that in your case.  You could do some kind of test in the getSymbol
function, or use the lower level functions in the multicore package
instead of mclapply, but there might be a better option that I'm not
aware of.

- Steve
On Fri, Aug 21, 2009 at 4:24 AM, Morten Hansen<mhansen at sund.ku.dk> wrote: