Skip to content

Numba LLVM error when doing chunked PBP indexing #571

Description

@jadball

Sometimes I see an error like this:

LLVM ERROR: Symbol not found: __gufunc__._ZN8ImageD119sinograms10tensor_map13unitcell_to_bB3v69B52c8tJTIeFImbKsAWlBR0FJMfbgsMFGDwYEQhVCwwAMEsTAA_3d_3dE5ArrayIdLi1E1A7mutable7alignedE5ArrayIdLi2E1A7mutable7alignedE5ArrayIdLi2E1A7mutable7alignedE
/var/lib/slurm/slurmd/job31322315/slurm_script: line 12: 3379103 Aborted                 (core dumped)

when doing chunked PBP indexing.
I think this is a race condition for generating/loading cached Numba functions - see here #4807
In a SLURM job array task, the first job will crash instantly, but others will hang forever.
This seems to generate 'poisoned' cached Numba functions which will always crash on future attempts to import them (nice!).
The solution is to delete the __pycache__ - this is normally in ImageD11/sinograms in the git checkout you are running on.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions