Skip to content

Hitting Chapel's default instantiation limit when compiling for 3 or more dimensions #4227

Closed

Description

@ShreyasKhandekar

Describe the bug
When compiling arkouda to support 1-3D arrays by modifying registration config, we run into an error with exceeding Chapel's instantiation limit.

To Reproduce
Steps to reproduce the behavior:

  1. Set the number of dimensions to "nd": [1,2,3], in registration-config.json
  2. make
  3. See error

Expected behavior
Arkouda should compile without error

Error Message

             createTaskFunctions :   0.090 seconds
$CHPL_HOME/modules/dists/DSIUtil.chpl:485: error: Function 'chpl_allStridesArePositive' has been instantiated too many times
note:   If this is intentional, try increasing the instantiation limit from 512
make: *** [Makefile:567: arkouda_server] Error 1

Is this a Blocking Issue No

  • Are there any known work-arounds?
    • Yes, increasing the instantiation limit is a good workaround
  • If a known work around exists, please provide a code block demonstrating it.
    • export CHPL_INSTANTIATION_LIMIT=1024

Activity

  1. added
    bug
    on Apr 8, 2025
  2. self-assigned this
    on Oct 15, 2025
  3. added 2 commits that reference this issue on Oct 15, 2025
    3f0af7e
    fb46740
  4. added a commit that references this issue on Oct 20, 2025
    10d9efe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions