Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

findEncodingDim running issues #36

Open
runjin326 opened this issue Oct 6, 2021 · 2 comments
Open

findEncodingDim running issues #36

runjin326 opened this issue Oct 6, 2021 · 2 comments

Comments

@runjin326
Copy link

Hello,

I am trying to implement the package for outlier detection and I am stuck on the findEncodingDim step.

I looked into previous issues and solutions and implemented the following - my machine has 6 cores but I am only allocating 5 since last time I used 6, my machine got hung up.

ncores <- 5
register(MulticoreParam(ncores, ncores*2, progressbar = TRUE))
ods<- findEncodingDim(ods, BPPARAM=bpparam(), params = seq(2,20,by=2))

But the issue is, the progress bar kept being at 0% for >5 hours and I am not sure whether it would go anywhere. The dataset I used has 24910 genes * 206 samples after FPKM filter.

Thanks!

@runjin326
Copy link
Author

So now I am running it on EC2 instances and am getting the following error message:

|                                                                      |   0%Error in result[[njob]] <- value : 
  attempt to select less than one element in OneIndex
Calls: lapply ... findEncodingDim -> bplapply -> bplapply -> bploop -> bploop.lapply
In addition: Warning message:
In parallel::mccollect(wait = FALSE, timeout = 1) :
  1 parallel job did not deliver a result

@c-mertes

@c-mertes
Copy link
Contributor

This could be related to Bioconductor/BiocParallel#106 or to Bioconductor/BiocParallel#237

Can you try the new BiocParallel version 1.32.5 and see if the error is gone?
If the above does not help, can you try the fix mentioned here: #26 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants