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

Remove legacy GASNet-1 backend #25875

Merged
merged 2 commits into from
Oct 15, 2024
Merged

Conversation

bonachea
Copy link
Contributor

@bonachea bonachea commented Sep 4, 2024

The legacy GASNet-1 backend has been superseded by the new GASNet-EX backend,
which has been Chapel's default GASNet backend since 658ac15 (Chapel 2.1).

Both backends run over the same GASNet-EX implementation, so this is mostly
just about removing pointlessly duplicated Chapel runtime code, to improve
future maintainability.

Deliberately undocumented setting CHPL_GASNET_VERSION is also removed.

Partially reverts 2f4776e

Manually tested on Perlmutter (ofi conduit) and JLSE Cascade (ibv and udp conduits).

@bonachea bonachea marked this pull request as ready for review September 4, 2024 21:52
@bonachea
Copy link
Contributor Author

bonachea commented Sep 4, 2024

CC: @PHHargrove @jhh67

Copy link
Contributor

@PHHargrove PHHargrove left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, @bonachea
Thanks for this effort to help reduce future maintenance overhead.

The legacy GASNet-1 backend has been superseded by the new GASNet-EX backend,
which has been Chapel's default GASNet backend since 658ac15 (Chapel 2.1).

Both backends run over the same GASNet-EX implementation, so this is mostly
just about removing pointlessly duplicated Chapel runtime code, to improve
future maintainability.

Deliberately undocumented setting `CHPL_GASNET_VERSION` is also removed.

Partially reverts 2f4776e

Signed-off-by: Dan Bonachea <[email protected]>
Signed-off-by: Dan Bonachea <[email protected]>
@bonachea
Copy link
Contributor Author

@jhh67 can you please review this PR?

CC: @bradcray

@jhh67
Copy link
Contributor

jhh67 commented Oct 15, 2024

I'll do it shortly. I'm currently in the process of removing the relevant jobs from our Jenkins server so they don't break.

@jhh67 jhh67 merged commit 4f9f8a1 into chapel-lang:main Oct 15, 2024
7 checks passed
bonachea added a commit to bonachea/chapel that referenced this pull request Dec 4, 2024
Previously printchplbuilds.py was broken, probably by myself in chapel-lang#25875

Example:
```
$ ./util/chplenv/printchplbuilds.py
Traceback (most recent call last):
  File "./util/chplenv/printchplbuilds.py", line 466, in <module>
    main(sys.argv)
  File "./util/chplenv/printchplbuilds.py", line 373, in main
    build = Parse(path)
  File "./util/chplenv/printchplbuilds.py", line 133, in Parse
    var = varNames[state]
KeyError: <State.GASNET_VERSION: 11>
```

Signed-off-by: Dan Bonachea <[email protected]>
jabraham17 added a commit that referenced this pull request Dec 6, 2024
Previously printchplbuilds.py was broken, probably by myself in #25875

Example:
```
$ ./util/chplenv/printchplbuilds.py
Traceback (most recent call last):
  File "./util/chplenv/printchplbuilds.py", line 466, in <module>
    main(sys.argv)
  File "./util/chplenv/printchplbuilds.py", line 373, in main
    build = Parse(path)
  File "./util/chplenv/printchplbuilds.py", line 133, in Parse
    var = varNames[state]
KeyError: <State.GASNET_VERSION: 11>
```

[Contributed by @bonachea. Reviewed and merged by @jabraham17]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants