Scissor icon indicating copy to clipboard operation
Scissor copied to clipboard

Error in normalize.quantiles(dataset0) : ERROR; return code from pthread_create() is 22

Open harrywo-zz opened this issue 3 years ago • 18 comments

Got a error when running your tutorial using your data: Error in normalize.quantiles(dataset0) : ERROR; return code from pthread_create() is 22 I am using R 4.1.1

Can you help to figure out what happened there?

harrywo-zz avatar Dec 16 '21 20:12 harrywo-zz

Can you try the solutions in https://github.com/Bioconductor/bioconductor_docker/issues/22?

sunduanchen avatar Dec 28 '21 01:12 sunduanchen

Got a error when running your tutorial using your data: Error in normalize.quantiles(dataset0) : ERROR; return code from pthread_create() is 22 I am using R 4.1.1

Can you help to figure out what happened there?

I have the same error

tiandongli avatar Jan 24 '22 11:01 tiandongli

I met same error, this solution https://support.bioconductor.org/p/122925/#124701 works for me. BiocManager::install("preprocessCore", configure.args="--disable-threading", force = TRUE)

Lycidas97 avatar Feb 11 '22 13:02 Lycidas97

I met the same error and I tried to solve it followed the above method. However, I didn't solved it. So, can you help to figure out what happened there?

Tianjun-Lan avatar Feb 14 '22 05:02 Tianjun-Lan

Same error, manual re-installation doesnt seems to work.

yimwy avatar Feb 15 '22 14:02 yimwy

Thank you. I change a mechine and it solved.     ------------------ Original ------------------ From: @.>; Date:  Tue, Feb 15, 2022 10:05 PM To: @.>; Cc: @.>; @.>; Subject:  Re: [sunduanchen/Scissor] Error in normalize.quantiles(dataset0) : ERROR; return code from pthread_create() is 22 (Issue #15)

 

Same error, manual re-installation doesnt seems to work.

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you commented.Message ID: @.***>

Tianjun-Lan avatar Feb 16 '22 01:02 Tianjun-Lan

I was able to run it on the local R , but not on the R server's . There may be a problem here. But I don't know how to fix it.

GuohuaZhu avatar Mar 15 '22 05:03 GuohuaZhu

I have the same error

qi-shen avatar Mar 21 '22 09:03 qi-shen

I have the same error

sayhitoemily avatar Apr 18 '22 07:04 sayhitoemily

I meet the same problem in linux R server, maybe the issue comes from the update of preprocessCore. I change the bulk dataset to matrix and try again and again, sometimes it will work.

xiaoyaohao avatar May 25 '22 14:05 xiaoyaohao

i have the same error

l13a avatar Jun 23 '22 06:06 l13a

I tried the above solution but still got the error

chenx9 avatar Sep 02 '22 03:09 chenx9

I also got the same error. After checking the raw code, I found normalize.quantiles and quantile function need a matrix. I don't know why the dataset0 is not a matrix after cbind. I guess a different package version caused the question. Therefore, I think you can change the raw code of Scissor function to deal with the question.

Here is the raw code of Scissor function: dataset0 <- cbind(bulk_dataset[common,], sc_exprs[common,]) # Dataset before quantile normalization. dataset1 <- normalize.quantiles(dataset0) # Dataset after


You can amend it as: dataset0 <- cbind(bulk_dataset[common,], sc_exprs[common,]) # Dataset before quantile normalization. dataset1 <- normalize.quantiles(as.matrix(dataset0)) # Dataset after

After testing, it was well done. However, I found it needs a very large memory. Therefore, you should be careful with the memory of your computer or servers.

Chen-Guanming avatar Apr 04 '23 08:04 Chen-Guanming

I also meet the problem in linux R server, and I solved it by followed the solution: https://github.com/Bioconductor/bioconductor_docker/issues/22 To manually installed preprocessCore package, run the following commands in terminal:

git clone https://github.com/bmbolstad/preprocessCore.git
R CMD INSTALL "preprocessCore" --configure-args="--disable-threading"

Tang-RH avatar Apr 14 '23 13:04 Tang-RH

I encountered the same problem, I tried manual installation or BiocManager::install("preprocessCore", configure.args="--disable-threading",force = TRUE). BUT it didn't work.

Cristinawangting avatar May 26 '23 13:05 Cristinawangting

It did not work on the server. But it worked locally.

Xiazistarry avatar Apr 22 '24 15:04 Xiazistarry

same error happens when I tried to run the code openSesame(), I tried to solve by usng the

git clone https://github.com/bmbolstad/preprocessCore.git R CMD INSTALL "preprocessCore" --configure-args="--disable-threading"

but they are showing the error

'getOption("repos")' replaces Bioconductor standard repositories, see 'help("repositories", package = "BiocManager")' for details. Replacement repositories: CRAN: https://cran.rstudio.com/ Bioconductor version 3.18 (BiocManager 1.30.23), R 4.3.3 (2024-02-29) Installing package(s) 'peprocessCore' Warning message: package ‘peprocessCore’ is not available for Bioconductor version '3.18' A version of this package for your version of R might be available elsewhere, see the ideas at https://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Installing-packages

then I tried using clone,

again I got error, what should I do?

ghost avatar May 08 '24 06:05 ghost

Hello, I get the same error. Error in normalize.quantiles(dataset0) : Matrix expected in normalize.quantiles In addition: Warning messages: 1: In asMethod(object) : sparse->dense coercion: allocating vector of size 4.3 GiB 2: In asMethod(object) : sparse->dense coercion: allocating vector of size 3.3 GiB

I tried to run on my local machine as well as the server, also tried the aforementioned solution, but couldn't solve the issue. Can anyone please help regarding this if they have been able to solve?

sidrahmaryam-cyber avatar May 20 '24 19:05 sidrahmaryam-cyber