Skip to content

Access to undefined reference #12

@Cody-G

Description

@Cody-G

When using multiple workers I am getting this error fairly often. When I just try running the same script again it works after one or two tries. My guess is that multiple workers are trying to access the image (in this case a subarray into a Bidirectional image) simultaneously and depending on the timing, the reference is sometimes unavailable. I'm not sure how to debug this. For now just running the script again seems to work, but I'm happy to try to fix this if someone can suggest a direction.

       From worker 2:  Worker 2 is working on 1
        From worker 4:  Worker 4 is working on 3
        From worker 3:  Worker 3 is working on 2
ERROR: LoadError: On worker 2:
UndefRefError: access to undefined reference
 in getindex at /home/cody/git/juliapackages_new/v0.4/OCPI/src/Bidirectional.jl:280
 in copy! at multidimensional.jl:582
 in getindex at subarray.jl:607
 in worker at /home/cody/git/juliapackages_new/v0.4/BlockRegistrationScheduler/src/RegisterWorkerAperturesMismatch.jl:124
 in worker at /home/cody/git/juliapackages_new/v0.4/BlockRegistrationScheduler/src/RegisterWorkerShell.jl:148
 in anonymous at multi.jl:907
 in run_work_thunk at multi.jl:645
 [inlined code] from multi.jl:907
 in anonymous at task.jl:63
 in remotecall_fetch at multi.jl:731
 [inlined code] from /home/cody/git/juliapackages_new/v0.4/BlockRegistrationScheduler/src/RegisterDriver.jl:84
 in anonymous at task.jl:447

...and 2 other exceptions.

while loading /home/cody/git/codyfunc/jfunc/scripts/registration/new_registration_code/first_GC6f_fish/nonrigid_odd/nonrigid_odd_mismatch.jl, in expression starting on line 155

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    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