IMOD segfaults in patch tracking #64
-
Hi all, I am experiencing IMOD segfaults in patch tracking. Not strictly a nextPYP question, but if anyone has seen this and has a solution, please let me know. These occur quite randomly. For instance, have of the tilt series might segfault in the first pass, but then complete fine in the second pass.
I have tested number of patches 6-10 and binning 4-8. I am using 8 threads per task and 200 GB memory. Any suggestions how to prevent segfaults? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 9 replies
-
Looks like it is a memory issue. Running with 1-4 threads seems to resolve the issue. |
Beta Was this translation helpful? Give feedback.
-
I confirm that the jobs complete with the same parameters on a different (but highly similar) HPC environment. These tests were all pure CPU jobs. |
Beta Was this translation helpful? Give feedback.
-
Is there a a way to copy the results from IMOD patch tracking done on a different machine to my project (the main machine has the resources for particle refinement, but it cannot complete IMOD patch tracking because of the segmentation fault)? I have tried copying the project over and importing it (tomography from PYP) but this didn't work for some reason. I would like to continue the current project (where patch tracking failed) simply by copying the files over to the right directories. |
Beta Was this translation helpful? Give feedback.
-
Here's what I did and it worked:
|
Beta Was this translation helpful? Give feedback.
Our best guess is that IMOD's tiltxcorr is failing to run under some conditions (this could be related on the specific node configuration somehow). The errors indicate that the solution to patch tracking is degenerate and this is causing problems downstream. The workaround we found was to tweak the number and the size of patches used by tiltxcorr (which can be done starting with version 0.6.3 of nextPYP).