mlr-org / parallelMap

R package to interface some popular parallelization backends with a unified interface
https://parallelmap.mlr-org.com
Other
57 stars 14 forks source link

Wrong path to src-directory for BtachJobs-Sources #16

Closed danielhorn closed 9 years ago

danielhorn commented 10 years ago

It seems like the src-directory (e.g. parallelMap_BatchJobs_srcs_1226f6e0cd0) is created in the working directory, not in the storagedir. See this code and watch your directories:

library(parallelMap) f = function() runif(8e8) parallelStart(mode = "BatchJobs", storagedir = "tst") parallelExport("f") z = parallelMap(function(i) {f(); 1}, i = 1:2, impute.error = NA) parallelStop()

berndbischl commented 10 years ago

Good catch, I see this and possibly another error.

PS: Is it really necessary to trash the mem so much (1e8) in this test...... I needed to kill my local R because of this.

berndbischl commented 10 years ago

I need to fix someting in batchjobs to make this really work well.

danielhorn commented 10 years ago

You fixed this with your last commits? I think so ...

danielhorn commented 10 years ago

oh, sry ... i confused this with the working directory issue, this error is still existend

berndbischl commented 9 years ago

This was fixed a longer time ago