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

Legion: uninitialized data error #1725

Open
syamajala opened this issue Jul 25, 2024 · 1 comment
Open

Legion: uninitialized data error #1725

syamajala opened this issue Jul 25, 2024 · 1 comment
Labels

Comments

@syamajala
Copy link
Contributor

I'm seeing the following error in S3D:

[0 - 1554c806a000]   93.994331 {5}{runtime}: [error 68] LEGION ERROR: Region requirement 5 of operation HandoffToMPITask (UID 107293, provenance: s3d.rg:2607) in parent task main (UID 2) is using uninitialized data for field(s) 101,102 of logical region (44,14,14) with read-only privileges (from file /lustre/scratch/vsyamaj/legion_s3d_tdb/legion/runtime/legion/legion_ops.cc:1748)
For more information see:
http://legion.stanford.edu/messages/error_code.html#error_code_68

The handoff task is taking a rank level partition and there is a fill on the subrank level partition for this region, there are also leaf tasks with read write privileges on those fields that execute fine before the handoff task, so the handoff task should work. I was able to work around this error by adding a rank level fill, but that should not be necessary.

I will try to find a reproducer for this.

@syamajala syamajala added the S3D label Jul 25, 2024
@lightsighter
Copy link
Contributor

If you're detaching then that will set the region state back to "uninitialized". I would be very surprised if Legion is incorrect in its diagnosis about doing an uninitialized read.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants