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

[Bug]: spurious size mismatch in zippered iteration error within serial block #26222

Open
mppf opened this issue Nov 7, 2024 · 0 comments
Open

Comments

@mppf
Copy link
Member

mppf commented Nov 7, 2024

Summary of Problem

Description:
I've encountered a spurious runtime error but it only happens in a serial block.

Is this issue currently blocking your progress?
No

Steps to Reproduce

Source Code:

proc test() {
  var A:[2..0] int;
  forall (i, elt) in zip(A.domain, A) {
    elt = i;
  }
}

proc main() {
  serial { test(); }
  test(); // it works without the serial block
}

It compiles fine but I see this error at runtime

bb.chpl:3: error: halt reached - size mismatch in zippered iteration (dimension 0)

Associated Future Test(s):

TODO

Configuration Information

problem occurs in 2.2 and main as of Nov 5 2025, at least.

@mppf mppf added the type: Bug label Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant