-
Notifications
You must be signed in to change notification settings - Fork 27
fix: remaining issues in the test suite following the upgrade to kokkos-5.1 #382
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
Merged
glesur
merged 5 commits into
idefix-code:kokkos5.1
from
svalat:fix/kokkos5.1-volatile-issue
Jun 4, 2026
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
e7fd269
fix: unrequired usage of volatile keyword in operator+= (causing issu…
svalat aba3db4
ci: update the github actions to load the python env before running t…
svalat f0d059a
ci: add missing new action pre-install-py-packages.yml
svalat 4874927
ci: add pybind11 to the dependencies in test/python_requirements.txt
svalat 1baed7a
fix: kokkos type renaming missing : HostMirror => host_mirror_type
svalat File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
15 changes: 15 additions & 0 deletions
15
.github/workflows/actions/pre-install-py-packages/action.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| name: Install python packages | ||
|
|
||
| description: "Action installing the Idefix python packages before running the tests." | ||
|
|
||
| inputs: {} | ||
|
|
||
| runs: | ||
| using: "composite" | ||
| steps: | ||
| - name: Create venv | ||
| shell: bash | ||
| run: | | ||
| python3 -m venv .venv | ||
| source .venv/bin/activate | ||
| python3 -m pip install -r ./test/python_requirements.txt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,20 @@ | ||
| #!/usr/bin/env bash | ||
|
|
||
| # load ICC compiler env | ||
| if [ "$IDEFIX_COMPILER" == icc ]; then | ||
| source /opt/intel/oneapi/setvars.sh | ||
| fi | ||
|
|
||
| # enable bash features | ||
| set -ue | ||
|
|
||
| # load python venv if present | ||
| if [ -d .venv ]; then | ||
| source .venv/bin/activate | ||
| fi | ||
|
|
||
| # jump in test directory | ||
| cd "$1" | ||
|
|
||
| # run the test | ||
| ./testme.py "${@:2}" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This comment makes the one I added to inifix redundant.
While this is being looked at, could we specify a minimal requirement for Python itself, even if it's just a comment ?
3.11 is widely distributed and likely sufficient nowadays, if I may add a suggestion.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm assuming you're refereing to #381 ? I don't see how this comment make yours redundant,nor why we should require python 3.11 (this is only 4 years old)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no I'm talking about the comment on line 9 of the same file. It doesn't matter any more that inifix requires 3.6+ if another dependency requires an even newer version.
Python versions stop receiving security fixes after 5 years, and 3.10 is about to go EOL. That's why I don't recommend older versions. But of course you do you.
https://devguide.python.org/versions/