Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
97 commits
Select commit Hold shift + click to select a range
aee4ae6
Add high precision coefficients for some DIRK methods
Steven-Roberts Sep 22, 2024
674baef
Update Billington table in docs
Steven-Roberts Sep 22, 2024
271c0ed
CI: add magic /autofix ability for PRs (#577)
balos1 Oct 2, 2024
04525fd
Maintenance: dependabot target (#585)
balos1 Oct 2, 2024
a549e93
Docs: Fix orderd list indentation (#586)
gardner48 Oct 3, 2024
a1bc879
Bugfix/sparse add i (#584)
Steven-Roberts Oct 4, 2024
1770cd7
Doc: Add Function Documentation Style Guide (#588)
gardner48 Oct 8, 2024
f7483ed
CI: Add concurrency in format/swig/spelling checks (#591)
gardner48 Oct 14, 2024
99215ee
Bugfix: Erroneous deprecation warnings (#589)
drreynolds Oct 15, 2024
554fa92
Feature: ARKodeGetNumRhsEvals (#587)
gardner48 Oct 15, 2024
eabd237
Merge branch 'develop' into feature/dirk-ext-prec
Steven-Roberts Oct 17, 2024
2216f53
Update changelog
Steven-Roberts Oct 17, 2024
5e7e715
Use trees for order checking
Steven-Roberts Oct 17, 2024
eacbee4
Merge branch 'feature/dirk-ext-prec' into feature/order_cond_tree
Steven-Roberts Oct 17, 2024
5473f16
Feature: Extending Precision for Some DIRK Methods (#593)
Steven-Roberts Oct 21, 2024
166cd22
CI: Enable GitLab CI on Tioga and Dane (#595)
balos1 Oct 30, 2024
8c72a8b
Docs: Fix typos in linear solver section of CVODE skeleton (#599)
Steven-Roberts Nov 1, 2024
a3fa77f
Feature: Add STS and SSPs method to ARKODE (#541)
maggul Nov 15, 2024
7320d08
Feature: SUNStepper (#463)
balos1 Nov 22, 2024
5dcda11
Merge branch 'develop' into feature/order_cond_tree
Steven-Roberts Nov 23, 2024
f23fe78
CMake: Don't clobber un-namespaced options (#600)
ZedThree Dec 3, 2024
0eb57c2
Build(deps): Bump docker/build-push-action from 6.0.2 to 6.10.0 (#604)
dependabot[bot] Dec 3, 2024
122f709
CMake: Add config error for CUDA with extended precision (#605)
drreynolds Dec 4, 2024
a5850b9
Feature: Add adaptive MRI-GARK, MRI-SR, and MERK methods (#564)
drreynolds Dec 4, 2024
2936842
Bugfix: Initialize kflag in ARKODE (#607)
Steven-Roberts Dec 5, 2024
6cb2d04
Docs: Add acknowledgements (#606)
balos1 Dec 5, 2024
924274f
Bugfix: Enable more warning flags, fix minor bugs (#608)
Steven-Roberts Dec 6, 2024
8d68be1
Feature: operator splitting (#572)
Steven-Roberts Dec 6, 2024
f7208a4
Bugfix: out of bounds read setting stage type (#609)
gardner48 Dec 6, 2024
3d7f3ba
Bugfix: Memory leaks (#610)
gardner48 Dec 9, 2024
0280735
Bugfix: Initialize yerr to zero (#615)
gardner48 Dec 9, 2024
d8e3390
Bugfix: Add missing int32 fortran functions (#611)
gardner48 Dec 9, 2024
32156b4
Bugfix: Rootfinding with Fixed Step Size (#614)
gardner48 Dec 9, 2024
0d43b7a
Bugfix: Dissipated Entropy Example (#613)
gardner48 Dec 9, 2024
8028e9e
CI: Address sanitizer (#612)
gardner48 Dec 9, 2024
91ef806
Maintenance: Rename set function (#618)
gardner48 Dec 10, 2024
175fe69
Bugfix: SYCL vector compilation with oneapi 2025 (#617)
balos1 Dec 10, 2024
545db2a
Feature: Logging Updates (#501)
gardner48 Dec 11, 2024
0eff396
Release: 7.2.0 (#620)
gardner48 Dec 11, 2024
864e31f
Maintenance: Start next release cycle (#622)
gardner48 Dec 12, 2024
eb4c4da
CI: Separate module unit tests from examples (#602)
balos1 Dec 12, 2024
f086081
Docs: Separate sections (#626)
gardner48 Dec 16, 2024
4a53449
CMake: remove force variable macro (#624)
gardner48 Dec 16, 2024
525c71b
Maintenance: Remove snprintf wrappers (#623)
gardner48 Dec 17, 2024
6a615a9
Bugfix: RHS eval logic with certain IMEX methods (#627)
gardner48 Dec 19, 2024
ab2f4ad
CI: Update Testing Options (#625)
gardner48 Dec 19, 2024
5c53be8
Release: 7.2.1 (#628)
gardner48 Dec 20, 2024
935d6a4
Maintenance: Start next release cycle (#629)
balos1 Dec 20, 2024
52453fa
Docs: Add release procedure notes, remove old steps (#630)
balos1 Dec 20, 2024
51aaf9a
Maintenance: Add sundials-downloads-tracker status badge (#631)
balos1 Dec 26, 2024
f0d64a3
Docs: Fix install guide versions (#633)
gardner48 Jan 7, 2025
792686d
Bugfix: guard zeroing of yerr with compensated sums check (#635)
balos1 Jan 9, 2025
b65e000
Merge branch 'develop' into feature/order_cond_tree
Steven-Roberts Jan 12, 2025
05d35f6
Add comments
Steven-Roberts Jan 13, 2025
ed6e5b5
Add max order
Steven-Roberts Jan 14, 2025
1b36a6d
Improve coefficient precision
Steven-Roberts Jan 14, 2025
568f859
Use fractions for table entries
Steven-Roberts Jan 14, 2025
8301fb9
Correct embedded coefficients
Steven-Roberts Jan 14, 2025
009b718
Improve ARKODE_ARK324L2SA_DIRK_4_2_3 precision
Steven-Roberts Jan 14, 2025
d173a42
Apply formatter
Steven-Roberts Jan 14, 2025
065180d
Update changelog
Steven-Roberts Jan 14, 2025
7e6d161
Add missing void from empty arg list
Steven-Roberts Jan 14, 2025
1fb40c0
Build(deps): Bump docker/build-push-action from 6.10.0 to 6.11.0 (#639)
dependabot[bot] Jan 14, 2025
517507b
Bugfix: SUNDIALS_ENABLE_ERROR_CHECKS default value (#638)
gardner48 Jan 14, 2025
87fef53
Mustafa-contributor (#643)
drreynolds Jan 14, 2025
7c90f5c
Add macros for consistent sunrealtype formatting (#517)
Steven-Roberts Jan 16, 2025
3f72e6c
CI: Add jobs to test PDF doc builds (#645)
gardner48 Jan 17, 2025
f963373
CI: Fix /autofix command (#646)
balos1 Jan 18, 2025
72b88cc
Maintenance: Remove unused macros (#644)
Steven-Roberts Jan 18, 2025
cc5e58c
Docs: cleanup install guide (#637)
gardner48 Jan 18, 2025
e34ff3d
Build(deps): Bump docker/build-push-action from 6.11.0 to 6.12.0 (#650)
dependabot[bot] Jan 21, 2025
767679f
Update copyright year (#636)
Steven-Roberts Jan 22, 2025
7c540be
Reorganized organization of checkNvector routines (#647)
drreynolds Jan 22, 2025
32b87ca
CMake: Add a macro to wrap add_executable (#651)
balos1 Jan 23, 2025
e9e8f5c
Build(deps): Bump docker/build-push-action from 6.12.0 to 6.13.0 (#654)
dependabot[bot] Jan 28, 2025
8e3df31
Docs: Fix Shu-Osher Butcher table entry (#655)
Steven-Roberts Jan 28, 2025
b2db253
Bugfix: Correct time label in log parser (#656)
Steven-Roberts Jan 29, 2025
f33b6d7
CI: Simplify addressing of CI errors (#657)
Steven-Roberts Jan 29, 2025
294361e
Maintenance: Fixing incorrect function name returns in check_flag cal…
maggul Jan 31, 2025
3e3c999
Maintenance: Typo in Operator Splitting Example (#653)
cjvogl Jan 31, 2025
0725fdb
Bugfix: Fix return value in ARKodeSetFixedStep (#659)
Steven-Roberts Jan 31, 2025
b0cb581
Docs: fix typo in README and in a function input argument (#661)
maggul Feb 6, 2025
51087e0
Bugfix: Python plotting script (#663)
drreynolds Feb 7, 2025
35d6d24
Feature: Update default ARKODE methods (#547)
Steven-Roberts Feb 12, 2025
6cb302c
Docs: Fix typo in table description (#664)
cjvogl Feb 12, 2025
3344daa
Docs: Fix summation bound (#666)
Steven-Roberts Mar 1, 2025
0f4d5ae
Build(deps): Bump docker/build-push-action from 6.13.0 to 6.15.0 (#668)
dependabot[bot] Mar 11, 2025
71947d0
Merge branch 'develop' into feature/order_cond_tree
Steven-Roberts Mar 15, 2025
034e1e3
Docs: Fix typo in SplittingStep description (#670)
Steven-Roberts Mar 16, 2025
05f019f
CI: Windows Intel Ninja Test (#672)
gardner48 Mar 17, 2025
edd1c2d
Merge branch 'develop' into feature/order_cond_tree
Steven-Roberts Mar 17, 2025
a5c62e6
Feature: Fix Adaptivity for Small Errors or no CFL (#548)
Steven-Roberts Mar 19, 2025
d3fdca3
Maintenance: spack v1.0 support (#673)
haampie Mar 19, 2025
47af768
Deprecate Work Space Functions (#669)
Steven-Roberts Mar 20, 2025
00eafa9
Merge branch 'develop' into feature/order_cond_tree
Steven-Roberts Mar 20, 2025
71a480a
Feature: Improve precision of some RK coefficients (#675)
Steven-Roberts Mar 21, 2025
7f24437
Merge branch 'develop' into feature/order_cond_tree
Steven-Roberts Mar 21, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .cmake-format.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
'EXTRA_ARGS': '+',
'FLOAT_PRECISION': 1,
'INTEGER_PRECISION': 1,
'LABELS': '+',
'MPI_NPROCS': 1,
'TEST_ARGS': '+'},
'pargs': {'flags': ['NODIFF'], 'nargs': '2+'}},
Expand Down
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE/release.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ This is a list of tasks that need to be done before a SUNDIALS release.
* `doc/shared/History.rst`
* `doc/shared/sundials.bib`
* `doc/sundials/biblio.bib`
* `scripts/tarscript`
* `scripts/tarscript.sh`

The following files are no longer maintaianed:

Expand Down
45 changes: 45 additions & 0 deletions .github/actions/apply-style/checkout.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
#!/bin/bash

###
# Attempt to find the branch of the PR from the detached head state
##

echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
echo "Attempting to find branch that matches commit..."

# Get the current commit SHA
current_commit_sha=$(git rev-parse HEAD)
# List all branches containing the current commit SHA
branches=$(git branch -r --contains $current_commit_sha)

echo "all branches:"
echo "$(git branch -a)"
echo "branches with SHA $current_commit_sha:"
echo "$branches"

# Loop over the string split by whitespace
branch=""
num_branches_found=0
for _possible_branch in $branches; do
# Skip items that start with "pull/"
if [[ $_possible_branch == pull/* ]]; then
continue
fi
if [[ $_possible_branch == origin/* ]]; then
_possible_branch=$(echo "$_possible_branch" | sed 's/origin\///')
fi
echo "Possible Branch: $_possible_branch"
branch=$_possible_branch
num_branches_found=$((num_branches_found+1))
done

if [ "$num_branches_found" -ne 1 ]; then
echo "Error: Unable to find a single branch that matched git sha $current_commit_sha"
exit 1
fi

echo "Found branch: $branch"
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"

git checkout $branch
git submodule update --init --recursive
10 changes: 9 additions & 1 deletion .github/actions/test-driver/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ inputs:
indexsize:
description: SUNDIALS_INDEX_SIZE
required: true
tpls:
description: "enable/disable TPLs"
required: true

runs:
using: composite
Expand All @@ -26,5 +29,10 @@ runs:
run: |
git config --global --add safe.directory $GITHUB_WORKSPACE
cd test
./test_driver.sh --testtype CUSTOM --env env/docker.sh --tpls --sunrealtype ${{ inputs.precision }} --indexsize ${{ inputs.indexsize }}
./test_driver.sh \
--testtype CUSTOM \
--env env/docker.sh \
--tpls ${{ inputs.tpls }} \
--sunrealtype ${{ inputs.precision }} \
--indexsize ${{ inputs.indexsize }}
shell: bash
1 change: 1 addition & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ updates:
schedule:
# Check for updates to GitHub Actions every week
interval: "weekly"
target-branch: "develop"
4 changes: 2 additions & 2 deletions .github/workflows/build-ci-containers-e4s.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push Docker images
uses: docker/build-push-action@v6.7.0
uses: docker/build-push-action@v6.15.0
with:
context: "./docker/sundials-ci/e4s-base"
build-args: e4s_version=22.05
Expand Down Expand Up @@ -56,7 +56,7 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push Docker images
uses: docker/build-push-action@v6.7.0
uses: docker/build-push-action@v6.15.0
with:
context: "./docker/sundials-ci/e4s-quarterly"
build-args: spack_yaml=./int${{ matrix.indexsize }}-${{ matrix.precision }}/spack.yaml
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-ci-containers-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push Docker images
uses: docker/build-push-action@v6.7.0
uses: docker/build-push-action@v6.15.0
with:
context: "./docker/sundials-ci/spack-nightly"
build-args: spack_yaml=./int${{ matrix.indexsize }}-${{ matrix.precision }}/spack.yaml
Expand Down
62 changes: 60 additions & 2 deletions .github/workflows/check-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,16 @@ name: Checks - formatting
on:
pull_request:
workflow_dispatch:
issue_comment:
types: [created]

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref_name }}
cancel-in-progress: true

jobs:
format_check:
if: ${{ github.event_name != 'issue_comment' || (github.event_name == 'issue_comment' && startsWith(github.event.comment.body, '/autofix')) }}
runs-on: ubuntu-latest
container:
image: ghcr.io/llnl/sundials_spack_cache:llvm-17.0.4-h4lflucc3v2vage45opbo2didtcuigsn.spack
Expand Down Expand Up @@ -37,10 +44,18 @@ jobs:
run: clang-format --version

- name: Check out repository code
if: github.event_name != 'issue_comment'
uses: actions/checkout@v4
with:
submodules: true

- name: Check out repository code
if: github.event_name == 'issue_comment'
uses: actions/checkout@v4
with:
ref: refs/pull/${{ github.event.issue.number }}/head
fetch-depth: 0

- name: Add safe directory
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"

Expand All @@ -49,16 +64,59 @@ jobs:
./scripts/format.sh CMakeLists.txt benchmarks cmake examples include src test

- name: Run git diff to see if anything changed
run: /usr/bin/git diff --name-only --exit-code
run: /usr/bin/git diff --exit-code

- name: Run git diff if we failed
if: failure()
run: /usr/bin/git diff > format.patch

- name: Archive diff as a patch if we failed
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: format.patch
path: |
${{ github.workspace }}/format.patch

apply_format:
if: ${{ always() && contains(join(needs.*.result, ','), 'failure') && (github.event_name == 'issue_comment' && startsWith(github.event.comment.body, '/autofix')) }}
needs: format_check
runs-on: ubuntu-latest
permissions:
contents: write
steps:
# Checkout the GitHub created reference for the PR.
# The only way to do this is by using the "issue" number
# but that is really the PR number in this context.
# This is due to using an `issue_comment` event which
# is due to the GitHub Actions API that does not have
# a `pull_request_comment` event or something similar.
# This leaves us in a detached head state which is corrected
# in `apply-style/checkout.sh`
- name: Checkout repository code
uses: actions/checkout@v4
with:
ref: refs/pull/${{ github.event.issue.number }}/head
fetch-depth: 0

- name: Checkout the right git ref
run: ./.github/actions/apply-style/checkout.sh

- name: Download the git diff from format_check
uses: actions/download-artifact@v4
with:
name: format.patch

- name: Apply patch
run: |
git apply format.patch
rm format.patch

- name: Commit fixes
run: |
git config user.name "format-robot"
git config user.email "[email protected]"
if [ -n "$(git status --porcelain)" ]; then
git commit -am 'apply format updates'
git push
fi
62 changes: 60 additions & 2 deletions .github/workflows/check-spelling.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,16 @@ name: Checks - spelling
on:
pull_request:
workflow_dispatch:
issue_comment:
types: [created]

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref_name }}
cancel-in-progress: true

jobs:
spelling_check:
if: ${{ github.event_name != 'issue_comment' || (github.event_name == 'issue_comment' && startsWith(github.event.comment.body, '/autofix')) }}
runs-on: ubuntu-latest
steps:
- name: Install python3-pip
Expand All @@ -20,25 +27,76 @@ jobs:
run: codespell --version

- name: Check out repository code
if: github.event_name != 'issue_comment'
uses: actions/checkout@v4
with:
submodules: true

- name: Check out repository code
if: github.event_name == 'issue_comment'
uses: actions/checkout@v4
with:
ref: refs/pull/${{ github.event.issue.number }}/head
fetch-depth: 0

- name: Run codespell
run: |
./scripts/spelling.sh

- name: Run git diff to see if anything changed
run: /usr/bin/git diff --name-only --exit-code
run: /usr/bin/git diff --exit-code

- name: Run git diff if we failed
if: failure()
run: /usr/bin/git diff > spelling.patch

- name: Archive diff as a patch if we failed
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: spelling.patch
path: |
${{ github.workspace }}/spelling.patch

apply_spelling:
if: ${{ always() && contains(join(needs.*.result, ','), 'failure') && (github.event_name == 'issue_comment' && startsWith(github.event.comment.body, '/autofix')) }}
needs: spelling_check
runs-on: ubuntu-latest
permissions:
contents: write
steps:
# Checkout the GitHub created reference for the PR.
# The only way to do this is by using the "issue" number
# but that is really the PR number in this context.
# This is due to using an `issue_comment` event which
# is due to the GitHub Actions API that does not have
# a `pull_request_comment` event or something similar.
# This leaves us in a detached head state which is corrected
# in `apply-style/checkout.sh`
- name: Checkout repository code
uses: actions/checkout@v4
with:
ref: refs/pull/${{ github.event.issue.number }}/head
fetch-depth: 0

- name: Checkout the right git ref
run: ./.github/actions/apply-style/checkout.sh

- name: Download the git diff from spelling_check
uses: actions/download-artifact@v4
with:
name: spelling.patch

- name: Apply patch
run: |
git apply spelling.patch
rm spelling.patch

- name: Commit fixes
run: |
git config user.name "format-robot"
git config user.email "[email protected]"
if [ -n "$(git status --porcelain)" ]; then
git commit -am 'apply spelling updates'
git push
fi
Loading
Loading