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

ORA analysis get hung in jupyter notebook #126

Closed
zhaleh-safikhani opened this issue May 17, 2024 · 1 comment
Closed

ORA analysis get hung in jupyter notebook #126

zhaleh-safikhani opened this issue May 17, 2024 · 1 comment
Assignees
Labels
question User question: anything that's not obviously a bug

Comments

@zhaleh-safikhani
Copy link

Hi @PauBadiaM, For some reasom when I run some functions from decoupler like ora in jupyter notebook, they got hung while they work fine in a python script. I use the same virtual environment in both cases and I have decoupler=1.6.0 installed in this env. Do you have any idea why that might be the case?

@zhaleh-safikhani zhaleh-safikhani added the question User question: anything that's not obviously a bug label May 17, 2024
@PauBadiaM PauBadiaM self-assigned this May 17, 2024
@PauBadiaM
Copy link
Collaborator

Hi @zhaleh-safikhani ,

Did you run it using the verbose parameter, could you tell me exactly where does it get stuck?
It might be a problem of parallelization in case you are running decoupler on massive amounts of cpus, you could try to limit them by running these lines:

import numba as nb
nb.set_num_threads(n=32)

# Then run decoupler functions here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question User question: anything that's not obviously a bug
Projects
None yet
Development

No branches or pull requests

2 participants