PaulingLiu / scibet

A portable and fast single cell type identifier
BSD 3-Clause "New" or "Revised" License
61 stars 11 forks source link

*** caught illegal operation *** address 0x7f6a05863117, cause 'illegal operand' #13

Open XinheG opened 2 weeks ago

XinheG commented 2 weeks ago

Hello,

I have encountered with a strange error about illegal operation when trying to use scibet for cell annotations, it seems something is wrong with the DsGene function, even I have already limited the number of threads to 1:

** caught illegal operation address 0x7f6a05863117, cause 'illegal operand'

Traceback: 1: DsGene(expr, labels_in, FALSE, k, a, n_threads) 2: Learn(train, NULL, k, 0) 3: scibet::SciBet(exp, test) 4: scibet(test, train, label_train, ...)**

It is wierd that this error only occurs when I try to hang up this analysis as background task using command like below:

nohup Rscript cell_anno.R &

, and when I try to do the annotations line by line in the R studio, this error disappears.

Could anyone tell me why? It would really be helpful.

Sincerely yours.

zkk-967 commented 2 weeks ago

I think this is a good question.