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

pyscenic ctx error - EOFError #586

Open
yulchen810 opened this issue Oct 16, 2024 · 2 comments
Open

pyscenic ctx error - EOFError #586

yulchen810 opened this issue Oct 16, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@yulchen810
Copy link

yulchen810 commented Oct 16, 2024

Hi,
Thank you for your great work.
I run the pyscenic ctx in singularity, and encountered an error as below

image

the version info:

  1. singularity/3.7.0
  2. singularity_pyscenic/0.11.2

Is the python version incorrect or the file is corrupt?
Thank you.
Best

@yulchen810 yulchen810 added the bug Something isn't working label Oct 16, 2024
@yulchen810 yulchen810 changed the title [question] Unknown file format for .feather Oct 16, 2024
@yulchen810 yulchen810 changed the title Unknown file format for .feather pyscenic ctx error - EOFError Oct 17, 2024
@ghuls
Copy link
Member

ghuls commented Oct 18, 2024

It might be that you use to many processes for pyscenic and one or more of the workers died. Try with less threads or run on a node with more RAM. (for pyscenic ctx each worker load the database file, so if you have 16 workers, you will need at least 16x the amount of RAM of the database size).

@yulchen810
Copy link
Author

It might be that you use to many processes for pyscenic and one or more of the workers died. Try with less threads or run on a node with more RAM. (for pyscenic ctx each worker load the database file, so if you have 16 workers, you will need at least 16x the amount of RAM of the database size).

Yes, I added the following two codes which resolved this problem, although I don't know why.
--mode "custom_multiprocessing"
--num_workers 4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants