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

Segmentation fault error #41

Open
tothuhien opened this issue Aug 8, 2023 · 1 comment
Open

Segmentation fault error #41

tothuhien opened this issue Aug 8, 2023 · 1 comment

Comments

@tothuhien
Copy link

Hi,
I'm trying to run mandrake on a sketch file which was calculated as:
sketchlib sketch -l sketchlib_file_h10.txt -o h10 --cpus 10
and the command of mandrake was:
mandrake --sketches h10.h5 --kNN 500 --cpus 10 --maxIter 1000000
but then i have this in the log file:

Number of workers less than number of available threads, increasing n_workers automatically
Calculating distances
Could not find random match chances in database, calculating assuming equal base frequencies
Calculating distances using 10 thread(s)

Progress (CPU): 0.0%
Progress (CPU): 1.0%/var/tmp/slurmd/job12552588/slurm_script: line 9: 54817 Segmentation fault      (core dumped) mandrake --sketches h10.h5 --kNN 500 --cpus 10 --maxIter 1000000 

Do you have any idea what can be wrong here? I installed to software with conda
Thank you,
Hien

@johnlees
Copy link
Member

Seg faults are difficult to diagnose, but this looks like it's coming from sketchlib rather than mandrake based on the output messages. How many samples do you have, and is kNN lower than this number?

If you run:

sketchlib query jaccard h10

Does that run?

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