Alex
Alex

Reputation: 19863

BatchJobs code not submitting jobs (maybe)

Here is some test code:

require(BatchJobs)

f = function(i) {Sys.sleep(60)}

reg <- makeRegistry(id="myreg")
batchMap(reg, f, 1:100)
submitJobs(reg, resources=list(memory=4*1024*1024, queue="normal_serial"))

Each chunk seems to be taking forever, almost as if it's all being done on a single machine...

submitJobs                |+                                 |   1% (01:39:00)

Any ideas?

Upvotes: 1

Views: 76

Answers (1)

Alex
Alex

Reputation: 19863

I believe this was solved on the mailing list. I post here the answer just in case others have this issue:

One needs to load the .BatchJobs.R file and have the jobs template. I forgot to copy these from my main directory. This ended up being executed locally.

Upvotes: 1

Related Questions