Skip to content

Commit 214b1aa

Browse files
committed
Squashed commit of the following:
commit e2502c693305270247547f5b448ba25562bc53f4 Author: Cody Balos <balos1@llnl.gov> Date: Tue Sep 16 17:08:08 2025 -0700 fix all of the nullable args in set functions commit 509fac2bfaa392ac70c506d5ff37dc34f4e0cc24 Author: Cody Balos <balos1@llnl.gov> Date: Tue Sep 16 16:27:14 2025 -0700 ensure user data args are all consistent in idas, cvodes and kinsol commit c17fc6afe394d6dc1c6f7c3acf43a6a0845fe056 Author: Cody Balos <balos1@llnl.gov> Date: Tue Sep 16 15:58:48 2025 -0700 add kinsol interface commit 7b10df9dec01f98db385273992200e9ec29203a1 Author: Cody Balos <balos1@llnl.gov> Date: Tue Sep 16 12:39:50 2025 -0700 fix CVode SetPreconditioner and SetJtimes nullables commit c7faa9d62bc449adfbff9be16adffb6b7a35daa7 Author: Cody Balos <balos1@llnl.gov> Date: Tue Sep 16 12:11:57 2025 -0700 test IDAS commit c2dcf3a7ff1211f94a8669ffc48ed09dd3c2fe53 Author: Cody Balos <balos1@llnl.gov> Date: Fri Sep 5 16:58:00 2025 -0700 interface idas commit 2c795e79b3799c31c7bc2fdc902a2b82c881a592 Author: Cody Balos <balos1@llnl.gov> Date: Wed Sep 3 16:07:56 2025 -0700 use macros to simplify binding code for arkode commit f25ffc5cb63dfe6934bcc54809684eb2d1b7dc7d Author: Cody Balos <balos1@llnl.gov> Date: Wed Sep 3 16:00:04 2025 -0700 remoive unused typecaster commit f30182bb219352ce373758f77dd56acab1dea22a Author: Cody Balos <balos1@llnl.gov> Date: Wed Sep 3 15:56:34 2025 -0700 ignore GetCurrentState functions commit 842b08681c32a99f8a203d9ffb150ead4072ca0d Author: Cody Balos <balos1@llnl.gov> Date: Fri Aug 29 16:48:46 2025 -0700 allow for FILE* commit e282a5eea87e18c289a67c606dd2c3341020bafd Author: Cody Balos <balos1@llnl.gov> Date: Fri Aug 29 16:42:12 2025 -0700 fix SUNDIALSFileOpen and SUNDIALSFileCLose names commit fc8b74a63cd9ba711afffaf8abbae5cd2cdae6ff Author: Cody Balos <balos1@llnl.gov> Date: Fri Aug 29 14:51:01 2025 -0700 fix splittingstep commit df21680bc2d6001e5032b6c2f51d89c4d11cc322 Author: Cody Balos <balos1@llnl.gov> Date: Tue Aug 26 16:00:24 2025 -0700 add placeholder test files commit fd2f99b4209c6c08655097a99e6e00e05ca9a6b3 Author: Cody Balos <balos1@llnl.gov> Date: Tue Aug 26 15:55:33 2025 -0700 fix mristepinnerstepper and sunstepper commit cc7303c99cfb43babf31ae5e5a9e93c0bc3de977 Author: Cody Balos <balos1@llnl.gov> Date: Tue Aug 26 10:29:56 2025 -0700 wip mristepinnerstepper corruption commit fc300924e055d977c8a54d3a724ec75d520c351a Author: Cody Balos <balos1@llnl.gov> Date: Mon Aug 25 14:02:36 2025 -0700 formatting commit 6abb0b2b9241319bc185c9a41619172de8e701db Author: Cody Balos <balos1@llnl.gov> Date: Mon Aug 25 14:02:29 2025 -0700 add MRIStepInnerStepper [wip] commit 8f2838ca8b7aad7dc6e2dfd6c2db3b456a0c6e3d Author: Cody Balos <balos1@llnl.gov> Date: Thu Aug 21 15:15:55 2025 -0700 fix arkode butcher table interface commit a5ee33aacf2034b80ebca5e8e68ef4aba1b650c1 Author: Cody Balos <balos1@llnl.gov> Date: Thu Aug 21 14:52:17 2025 -0700 dont interface struct members as rw commit 7483ce18d4f94ccd1425d2956af653b9f1cc4f9a Author: Cody Balos <balos1@llnl.gov> Date: Thu Aug 21 13:03:32 2025 -0700 handle arrays of vectors and sunrealtype as arrays commit 80be6db6dd6d8264680b19a3193ad47ce95a1552 Author: Cody Balos <balos1@llnl.gov> Date: Mon Jun 30 16:30:32 2025 -0700 regen arkode commit 223c0671ded273c3c3984429490149085d4b3dc0 Author: Cody Balos <balos1@llnl.gov> Date: Mon Jun 30 16:29:52 2025 -0700 fix import commit c0fdfd2797c4f52616c4682dcea0de853757adcf Merge: c999414fa fc8ed9c23 Author: Cody Balos <balos1@llnl.gov> Date: Mon Jun 30 16:29:01 2025 -0700 Merge remote-tracking branch 'origin/develop' into feature/python-nanobind commit c999414fa0dce8cdf2a57ff4b1badd21f8c2f55f Author: Cody Balos <balos1@llnl.gov> Date: Mon Jun 30 16:28:21 2025 -0700 rename commit 2eccc50829c37ceb4b4ea7b1acec1c6f85e0ed17 Author: Cody Balos <balos1@llnl.gov> Date: Mon Jun 30 16:27:57 2025 -0700 rename commit 67be6c3ee74162f2f44b7ef6935b0d6c8888156f Author: Cody Balos <balos1@llnl.gov> Date: Mon Jun 30 16:25:31 2025 -0700 reorganize generator extensions commit 42ead1c413237e11ed86b4c9d8e06b4f88b71ea3 Author: Cody Balos <balos1@llnl.gov> Date: Mon Jun 30 15:56:22 2025 -0700 a few fixes commit abf3945b1b8acba443ce2de54f5bcbdcff5e1fc7 Author: Cody Balos <balos1@llnl.gov> Date: Mon Jun 30 15:34:11 2025 -0700 missing include commit 31d6a614763684d5bb4744255183692c985e0bde Author: Cody Balos <balos1@llnl.gov> Date: Mon Jun 30 15:30:52 2025 -0700 allow N_VLinearCombination commit 3a074cbce82b23e5bca2625fc6b64730af35402d Author: Cody Balos <balos1@llnl.gov> Date: Mon Jun 30 15:23:22 2025 -0700 format commit 29a7ab823d01865aab6ec943b89ebdb991e6955f Author: Cody Balos <balos1@llnl.gov> Date: Mon Jun 30 15:23:11 2025 -0700 replace instances of sunrealtype* and sunrealtype** that are arrays in include/sundials commit 8b77ed254102d563008450cb98c93781ffad907c Author: Cody Balos <balos1@llnl.gov> Date: Mon Jun 30 14:52:44 2025 -0700 use sunrealtype1d in cvodes commit 86c969510968ab3f0ec827376cff5fffda0c3b1b Author: Cody Balos <balos1@llnl.gov> Date: Mon Jun 30 12:18:13 2025 -0700 exclude CVodeSetMonitorFn commit 4f5d29f2dd50a3bcfa19609552003b017bdb2bdd Author: Cody Balos <balos1@llnl.gov> Date: Mon Jun 30 12:16:05 2025 -0700 refine exclusions so we dont exclude things inadvertently commit a1f43b2ac4fbbd61fa874ac836a9c70fffba63d4 Author: Cody Balos <balos1@llnl.gov> Date: Mon Jun 30 12:07:05 2025 -0700 wrap CVodeQuadInit commit 5cb41d4569f800f7dd320bf51b051b7c367766ba Author: Cody Balos <balos1@llnl.gov> Date: Mon Jun 30 11:47:02 2025 -0700 move cvode adjoint fn pointers to their own struct commit 91aad4c47f0dda368914e5b92e3c67188841d025 Author: Cody Balos <balos1@llnl.gov> Date: Mon Jun 30 11:42:59 2025 -0700 add CVodeSetOwnUserDataB commit 41d29bd21a8e0bb6dc99a747029ed0fa1d785fd7 Author: Cody Balos <balos1@llnl.gov> Date: Mon Jun 30 11:34:45 2025 -0700 add CVodeQuadInitBS commit dc2cca66beb20167be399df46497f47b442a536a Author: Cody Balos <balos1@llnl.gov> Date: Mon Jun 30 11:27:11 2025 -0700 enable an ASA example of CVODES commit fc8ed9c2358cbc70d4a5c84d84a1b621b66a8146 Author: David Gardner <gardner48@llnl.gov> Date: Mon Jun 30 10:55:08 2025 -0700 Bugfix: Add MRI H-Tol to Fortran module, fix segfault with nested MRI methods (#734) Fix a CMake bug where the MRI H-Tol controller was not included in the ARKODE Fortran module. Fix a bug in MRIStep where a segfault occurs when an MRI coupling table is not explicitly set and an MRI integrator is nested inside another MRI integrator. commit 4f8c313d4c9b3d1586d9984655bce7921193a581 Author: David Gardner <gardner48@llnl.gov> Date: Mon Jun 30 06:48:52 2025 -0700 CI: Enable unit tests in GitLab (#735) * Enable unit tests in GitLab CI with output comparisons disabled. * Fix default logging level in spack package file * Update error handler tests for different logging levels commit 4463ced560e06cb5b5095cac69a6289e0ea537df Author: Cody Balos <balos1@llnl.gov> Date: Sat Jun 28 01:41:38 2025 -0700 comment commit 29ed5207de14f3877f3b80afe391d0ff03340b84 Author: Cody Balos <balos1@llnl.gov> Date: Sat Jun 28 01:39:54 2025 -0700 progress on vector array args commit a43d81acee1d25a031afb524fa4b4782bf3e0c6e Author: Cody Balos <balos1@llnl.gov> Date: Sat Jun 28 00:18:16 2025 -0700 move some functions in generate to extensions commit b1f7daab08b862262754aea020c0bd130e176fec Author: Cody Balos <balos1@llnl.gov> Date: Sat Jun 28 00:17:08 2025 -0700 change long int to long with preprocess function commit ffa6394c6a6c9f7dad0b954b7db5db30aa502433 Author: Cody Balos <balos1@llnl.gov> Date: Sat Jun 28 00:14:44 2025 -0700 Revert "long int --> long in arkode deprecated headers" This reverts commit 078a7588dd450e9847e0ec913526264efbb1a01f. commit 8cbdd18bf7dc89ad841acde4451503f173228aad Author: Cody Balos <balos1@llnl.gov> Date: Sat Jun 28 00:14:33 2025 -0700 Revert "long int --> long" This reverts commit 1e1f4ec61ab19c5d434f1516ecbc2565d9201072. commit d3d4816ca52543c1e5a9f2a4eaab2ec91c689f47 Author: David Gardner <gardner48@llnl.gov> Date: Fri Jun 27 12:14:17 2025 -0700 Bugfix and CI: Fix SUNMemoryHelper_CopyAsync stream and update jenkins ginkgo version (#733) * Fixed a bug in the CUDA and HIP implementations of `SUNMemoryHelper_CopyAsync` where the stream was not set * Update the ginkgo install used in the Jenkins CI to `@master` which currently corresponds to v1.9.0 * Check for Ginkgo 1.9.0 or newer in CMake * Default to C++17 when Ginkgo is enabled * Update GitLab to use C++17 * Enable CUDA warnings as errors when `ENABLE_WARNINGS_AS_ERRORS` is `ON` * Remove C90 check when hypre is enabled commit 4b1483e51838172119b3e3c5486a043bdb696498 Author: Cody Balos <balos1@llnl.gov> Date: Thu Jun 26 16:58:04 2025 -0700 minor updates commit fb230ed49af36b115e0110749d4b7a2b59ad1cf4 Author: Cody Balos <balos1@llnl.gov> Date: Thu Jun 26 15:50:56 2025 -0700 regen with long int to long change commit 078a7588dd450e9847e0ec913526264efbb1a01f Author: Cody Balos <balos1@llnl.gov> Date: Thu Jun 26 15:50:09 2025 -0700 long int --> long in arkode deprecated headers commit 1e1f4ec61ab19c5d434f1516ecbc2565d9201072 Author: Cody Balos <balos1@llnl.gov> Date: Thu Jun 26 15:43:20 2025 -0700 long int --> long commit 8f062c0d058f5a3da3ae110e73615291eade43e8 Author: Cody Balos <balos1@llnl.gov> Date: Thu Jun 26 15:39:15 2025 -0700 bind Get functions that use inplace modification commit a8f7004aea6efd60812bb1e07cdf3d38f02f87c4 Author: Cody Balos <balos1@llnl.gov> Date: Thu Jun 26 14:57:35 2025 -0700 fix SetLinearSolver in arkode commit dc2d3a45248fdd85b092f1540d7421ba5ce28e97 Author: Cody Balos <balos1@llnl.gov> Date: Thu Jun 26 14:09:46 2025 -0700 wrap cvodes basic capability commit bb93bbb220c02c0ec09ec3b0f2e2f4097c178836 Author: Cody Balos <balos1@llnl.gov> Date: Thu Jun 26 11:25:39 2025 -0700 Docs: Update CVODE examples guide intro (#730) Thank you Alan Hindmarsh for the updates. --------- Co-authored-by: David Gardner <gardner48@llnl.gov> commit c7c8c3824b5ac939154ce580cecf247ff39f015a Author: Cody Balos <balos1@llnl.gov> Date: Thu Jun 26 10:55:45 2025 -0700 update gitlab ci spack version and ginkgo version (#729) This updates spack version used in our GitLab CI testing so that we can use a newer version of Ginkgo. --------- Co-authored-by: David Gardner <gardner48@llnl.gov> commit b1fd6b5189428ba38102e2d7c77f2837c5d10b44 Author: Steven Roberts <roberts115@llnl.gov> Date: Thu Jun 26 11:56:54 2025 -0400 Docs: Fix typos in adjoint description (#731) Add missing * and adjust summation for adjoint description commit 3b9fbd97a914be18f0940066f475f2b438270a26 Author: Cody Balos <balos1@llnl.gov> Date: Wed Jun 25 17:05:41 2025 -0700 cvodes module commit 6c6222ce248606b7f2393e97b485854989cfec67 Author: Cody Balos <balos1@llnl.gov> Date: Wed Jun 25 16:34:24 2025 -0700 fix typo commit d21e29e322b5c9e1ca463429067f3df0260b36bf Author: Cody Balos <balos1@llnl.gov> Date: Wed Jun 25 16:20:41 2025 -0700 make sure default value of own_user_data is SUNFALSE commit 295933a2a7019c737b849305a8e6a27410007ec6 Author: Cody Balos <balos1@llnl.gov> Date: Wed Jun 25 16:16:07 2025 -0700 add own_user_data feature commit bcfc5f73194ca07cbf5eaa2d0499c4265d4cec14 Author: Cody Balos <balos1@llnl.gov> Date: Wed Jun 25 15:47:45 2025 -0700 add view classes for each package memory commit d4c8fb1cea8c5518633c4e9d7da15b0ddac6226a Author: Cody Balos <balos1@llnl.gov> Date: Wed Jun 25 15:05:13 2025 -0700 add lsrkstep domeig set function commit f7f344e7dd68b8c9f76746dd87f0d7db2c612921 Author: Cody Balos <balos1@llnl.gov> Date: Wed Jun 25 13:42:21 2025 -0700 zero out fn_table that is allocated commit 29c1da6fa1c3e05d6d7018ff6832babfc6290d55 Author: Cody Balos <balos1@llnl.gov> Date: Wed Jun 25 13:38:01 2025 -0700 allow user_data to be any position commit b79267a3e7f3a26cc94068d4f706289b6aca54a3 Author: Cody Balos <balos1@llnl.gov> Date: Wed Jun 25 13:34:47 2025 -0700 rename lsrkstep_rhs to lsrkstep_f commit 026e1f362dd3b51f53074afcf5e94e11b1535d04 Author: Cody Balos <balos1@llnl.gov> Date: Wed Jun 25 13:29:42 2025 -0700 dont generate LSRKStepSetDomEigFn commit 25c504531b078bf3a6351a41de889cf60e8f939c Author: Cody Balos <balos1@llnl.gov> Date: Wed Jun 25 13:29:27 2025 -0700 formatting commit 8be5cdf0e3dbb91b423119bae76172c5c4cbf35f Author: Cody Balos <balos1@llnl.gov> Date: Wed Jun 25 12:10:21 2025 -0700 some reogranization of tests commit d4546da4248d9f7798a2cf8fda97cc1553a71309 Author: Cody Balos <balos1@llnl.gov> Date: Wed Jun 25 10:34:26 2025 -0700 update build instructions commit 444546fc28d188341d6d3a62346b3be492211355 Author: Mustafa Ağgül <33010171+maggul@users.noreply.github.com> Date: Tue Jun 24 12:21:38 2025 -0500 Bugfix: Shared Library Versions (#724) * fix shared library versions for oneMKL matrix and linear solver, PETSc SNES * fix typos in docs and comments --------- Co-authored-by: David Gardner <gardner48@llnl.gov> commit 8ea6d153486e752ec344b9c95aa4385604209ae0 Author: Steven Roberts <roberts115@llnl.gov> Date: Tue Jun 24 11:43:02 2025 -0400 Maintenance: Resolve a few small todo items (#723) * Add SUNRsamesign and SUNRdifferentsign * Use SUNRcopysign ----- Co-authored-by: David Gardner <gardner48@llnl.gov> commit 56088c9af254174c6a8bbe95d13b26dd460f8bec Author: Timothy Bourke <tim@tbrk.org> Date: Tue Jun 24 16:18:03 2025 +0200 Docs: Minor fixes (#720) Correct function signature and default values commit 0a94f8294a69495c0bbdc545c7b151dd082795b5 Author: Balos, Cody, J <balos1@llnl.gov> Date: Tue Jun 24 02:36:14 2025 -0700 add lsrkstep and sprkstep py tests commit ef27409d8a99e0880bf1e3c5822cf72ac723f645 Author: Balos, Cody, J <balos1@llnl.gov> Date: Tue Jun 24 02:32:31 2025 -0700 interface lsrkstep and sprkstep commit 57bde64e32b1db8087308de2b0113b5852a3e471 Author: Balos, Cody, J <balos1@llnl.gov> Date: Tue Jun 24 02:09:00 2025 -0700 interface set functions for user-supplied functions commit 38ed0f3a912098153ec529c751b16aafac0fec5c Author: Balos, Cody, J <balos1@llnl.gov> Date: Tue Jun 24 00:40:24 2025 -0700 create alloc functions commit 472e833c040687530fd2a60029651916fe009974 Author: Balos, Cody, J <balos1@llnl.gov> Date: Tue Jun 24 00:31:20 2025 -0700 move mristep and sprkstep functions to deprecated header commit 8eb983e2130b4f47ebcc6b1c1dc06c48f9b6d94b Author: Balos, Cody, J <balos1@llnl.gov> Date: Tue Jun 24 00:27:25 2025 -0700 generate arkode commit 31984c4c05511a5d261f28bec26eb01a91712c55 Author: Balos, Cody, J <balos1@llnl.gov> Date: Tue Jun 24 00:05:50 2025 -0700 make the function call wrapper code more slicker commit 79e43ba9ac8088515ef2c22f93a258fdd2cb54da Author: David Gardner <gardner48@llnl.gov> Date: Mon Jun 23 17:03:13 2025 -0700 Maintenance: Start next release cycle (#727) Update recent changes for next release cycle commit 9099e095bc52583137ca7b14e54c46d9c3db159b Author: Balos, Cody, J <balos1@llnl.gov> Date: Mon Jun 23 16:04:16 2025 -0700 generate erkstep commit adf57cfae13a4ac618cf9ea4758f0a1de759fe55 Author: Balos, Cody, J <balos1@llnl.gov> Date: Mon Jun 23 15:57:02 2025 -0700 generate more of arkode commit bc91473ff1819808077a49a0f55ab6a3af960bd4 Author: Balos, Cody, J <balos1@llnl.gov> Date: Mon Jun 23 15:53:06 2025 -0700 setup proper callback handling for erkstep commit c2c1a6c0d6d12ef988ad8813bf03a81c7820e126 Author: Balos, Cody, J <balos1@llnl.gov> Date: Mon Jun 23 14:51:53 2025 -0700 dont generate ARKodeSetUserData commit 27cc79e74d810d245dbedb8f6b05228876c8f6f0 Author: Balos, Cody, J <balos1@llnl.gov> Date: Sat Jun 21 00:07:58 2025 -0700 use generate script for arkode commit 610495510a1105a392b56078fdf79c74d0053dd8 Author: Balos, Cody, J <balos1@llnl.gov> Date: Fri Jun 20 23:55:45 2025 -0700 rename arkode files commit 51289dbca46917bc742f9bf5c1dfe99c904027b7 Author: Balos, Cody, J <balos1@llnl.gov> Date: Fri Jun 20 23:46:06 2025 -0700 fix bindings for SUNErrCode commit ba92418a1c97618fd71490c518f1bd564121a480 Author: Balos, Cody, J <balos1@llnl.gov> Date: Wed Jun 18 16:42:20 2025 -0700 use correct srml function commit e5788975b449fd2217b554e7afe5991664a90e1f Author: Balos, Cody, J <balos1@llnl.gov> Date: Wed Jun 18 16:40:06 2025 -0700 add option to dump srcml commit 67d862df32ad7a7c97a5db967ddb488dc63bdd2a Author: Balos, Cody, J <balos1@llnl.gov> Date: Wed Jun 18 16:30:12 2025 -0700 exclude C comments from generated code commit f5248f81f4717a8d67f494c964cd2d8604e0e855 Author: Balos, Cody, J <balos1@llnl.gov> Date: Wed Jun 18 16:27:26 2025 -0700 allow SWIG blocks to processed commit d0532e79fe232a86bb1fc35ca52b838bcf3e9748 Author: Balos, Cody, J <balos1@llnl.gov> Date: Wed Jun 18 16:09:21 2025 -0700 generate with newer litgen commit 5daff55d1bf586e26140ad64d0e852e093724331 Author: Balos, Cody, J <balos1@llnl.gov> Date: Wed Jun 18 16:08:26 2025 -0700 fix paths of includes commit 3fc4f5210ccba0b9fcc26967b32352f6ef2b51c7 Author: Balos, Cody, J <balos1@llnl.gov> Date: Wed Jun 18 16:08:19 2025 -0700 fix dependencies in toml commit b2daa13aa2eecddcf21fc80e894ffbc3f1431441 Author: Balos, Cody, J <balos1@llnl.gov> Date: Wed Jun 18 15:18:38 2025 -0700 require at least python 3.9 commit cb163b350992391728189c6581bf3702d6301726 Author: Balos, Cody, J <balos1@llnl.gov> Date: Wed Jun 18 11:44:05 2025 -0700 bump commit d397bf79a2cefad3abe9252a284339703fea60fc Author: Balos, Cody, J <balos1@llnl.gov> Date: Wed Jun 18 10:46:03 2025 -0700 bump commit 22eacac3afbfbbb35e8feeb1ef94c0e4533a9fd6 Author: Balos, Cody, J <balos1@llnl.gov> Date: Wed Jun 18 10:41:33 2025 -0700 enable ci wheel builds commit 10a2f3fed7b01ac8415f08c8033a5074c76eaca6 Author: Balos, Cody, J <balos1@llnl.gov> Date: Wed Jun 18 10:32:26 2025 -0700 rename bindings directory to pysundials commit a32f9a30d51f39fb80bdf0d16c89b0a04dfa5d0d Author: Balos, Cody, J <balos1@llnl.gov> Date: Wed Jun 18 10:24:01 2025 -0700 change name of python project to pysundials-official commit 8014b084b6d07127a3b17fa3a2be8799a40142ba Author: Balos, Cody, J <balos1@llnl.gov> Date: Wed Jun 18 09:58:30 2025 -0700 allow editable builds commit 7a64ee0f95350dc1ecc1e71ad9412bbdb6bb2eb9 Author: Balos, Cody, J <balos1@llnl.gov> Date: Wed Jun 18 09:31:01 2025 -0700 rename python test directory commit 50b9474f979bd035a0965949486438d01245857b Author: Balos, Cody, J <balos1@llnl.gov> Date: Wed Jun 18 01:06:07 2025 -0700 add dependencies to pyproject.toml commit f520bc37ab8715b359fc7d0f2fba627f7b49d2f3 Author: Balos, Cody, J <balos1@llnl.gov> Date: Wed Jun 18 00:59:36 2025 -0700 fix gitignore commit cc1c079ce604981ae2db0fd7960426ad8bb2de97 Author: Balos, Cody, J <balos1@llnl.gov> Date: Wed Jun 18 00:52:06 2025 -0700 reorganize bindings directory and enable pip install commit fec710afbc9b9d8f0366ae71497911d06e8bf716 Author: Balos, Cody, J <balos1@llnl.gov> Date: Tue Jun 17 14:20:59 2025 -0700 add a pytest test target commit c3ff4663573953facb33eb026dd5d80444ecedc8 Author: David Gardner <gardner48@llnl.gov> Date: Tue Jun 17 09:11:04 2025 -0700 Release: v7.4.0 (#718) SUNDIALS Release v7.4.0 commit ca371919f71c3894047b3e0bc2f1664f262fdc02 Author: Cody Balos <balos1@llnl.gov> Date: Mon Jun 16 14:03:17 2025 -0700 Bugfix: Allowable Eta values in CVodeSetEtaFixedStepBounds (#706) The docs state that `eta_max_fx >= 1.0` is valid, but the code checks for `eta_max_fx > 1.0`. `1.0` should be allowed (similarly for `eta_min_fx`). --------- Co-authored-by: David Gardner <gardner48@llnl.gov> Co-authored-by: Steven Roberts <roberts115@llnl.gov> commit 838669cf6f9c7d0d2ee623001d60807d963680c9 Author: Steven Roberts <roberts115@llnl.gov> Date: Mon Jun 16 13:34:51 2025 -0400 Feature: Remove ARKodeSetCFLFraction cfl_frac restriction (#714) Allow for CFL values greater than 1 Co-authored-by: David Gardner <gardner48@llnl.gov> commit 396b71a1fcfdd3eef9a43be86fd01146e3adb8e7 Author: Cody Balos <balos1@llnl.gov> Date: Mon Jun 16 08:39:32 2025 -0700 Bugfix: Compensated summation and number of recomputes (#716) This PR enables us to use compensated summation of `tcur` in any of the ARKODE modules and fixes the "nrecomputes" accumulator in the `SUNAdjointStepper`. --------- Co-authored-by: David Gardner <gardner48@llnl.gov> commit b4237bcb222e34f98a1b32534eaefc64a95ca406 Author: Cody Balos <balos1@llnl.gov> Date: Fri Jun 13 16:48:00 2025 -0700 interface some of the error codes commit d2caaee7f06feb2fa92b1bcc18d80420540217ac Author: Cody Balos <balos1@llnl.gov> Date: Fri Jun 13 16:38:03 2025 -0700 update cmake file for renamed files commit c07feb9039ad8db901dc3f781eb1d6659a33ad3d Author: Cody Balos <balos1@llnl.gov> Date: Fri Jun 13 16:14:28 2025 -0700 name files pysundials commit 986114420aab5ebe7706a0a8ba7077804c2e5162 Author: Cody Balos <balos1@llnl.gov> Date: Fri Jun 13 16:10:24 2025 -0700 interfaces all pf sundials core now commit 4f013705402825b9d1c121c05a8fd66ffd14ebdb Author: Cody Balos <balos1@llnl.gov> Date: Fri Jun 13 15:33:54 2025 -0700 use static Create methods commit d8e82f2d4c3a8c5dfd46b1efad9a8c802e01b4d4 Author: Cody Balos <balos1@llnl.gov> Date: Fri Jun 13 15:09:25 2025 -0700 add comments to generate.yaml commit 04b4fa955b7e8b6b246dcb03ed91dd80595b2ecc Author: Cody Balos <balos1@llnl.gov> Date: Fri Jun 13 15:03:09 2025 -0700 sort generate.yaml commit 93761c9549810512334b08b1ba999fe489a9cb19 Author: Cody Balos <balos1@llnl.gov> Date: Fri Jun 6 17:05:41 2025 -0700 tests commit 0193a52f95670a105451a111c44f8508c799a29c Author: Cody Balos <balos1@llnl.gov> Date: Fri Jun 6 17:05:35 2025 -0700 more bindings in core commit 168f8c5b5579168769d14cbe3e0afaa0b8bbf425 Author: Cody Balos <balos1@llnl.gov> Date: Fri Jun 6 16:39:23 2025 -0700 cmake tweaks commit dcd87d5e661e717ae28f99a27764905799907ed2 Author: Cody Balos <balos1@llnl.gov> Date: Fri Jun 6 16:30:02 2025 -0700 most of core is bound commit f8f34f8f42b1cf9b78806d5b808679078348ef92 Author: Cody Balos <balos1@llnl.gov> Date: Thu Jun 5 15:48:40 2025 -0700 more interfaces commit db99d1a32e2d45ff54786c0e076741642020d51b Author: Cody Balos <balos1@llnl.gov> Date: Thu Jun 5 11:58:48 2025 -0700 add matrix interface commit cbe7e3a0ada606369eb12ca71756d6f1b807f83b Author: Cody Balos <balos1@llnl.gov> Date: Thu Jun 5 11:33:13 2025 -0700 interface sundials_iterative.h commit 619d3959fe62d5500835d036a428c2ba0085ae3f Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon Jun 2 17:49:34 2025 -0700 Build(deps): Bump docker/build-push-action from 6.17.0 to 6.18.0 (#712) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> commit 2edb5aa9ff54a99a42df4c73b983e5ded3d2ac1f Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri May 23 13:59:50 2025 -0700 Build(deps): Bump docker/build-push-action from 6.16.0 to 6.17.0 (#707) Bumps docker/build-push-action from 6.16.0 to 6.17.0. Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> commit d8b7f2cf669ed991ed785b91743c4275b5b01fbc Author: Mustafa Ağgül <33010171+maggul@users.noreply.github.com> Date: Fri May 23 11:32:45 2025 -0500 Docs: Fix math formatting in SUNAdjoint Introduction (#708) Add missing directive commit 07d21c2c5ae33211a9a2fafd8eac56de5582dce0 Author: Steven Roberts <roberts115@llnl.gov> Date: Tue May 20 09:56:53 2025 -0700 Bugfix: Set adjMallocDone flag on AdjFree methods (#704) Fixed segfaults in `CVodeAdjInit` and `IDAAdjInit` when called after adjoint memory has been freed. commit 8e0da93f611bd3254719ada586e8c276628711eb Author: Cody Balos <balos1@llnl.gov> Date: Fri May 16 14:33:58 2025 -0700 Docs: Fix default value of eta fixed step upper bound in arkode math section (#705) The default value was changed to `1.0` in ARKODE v6.3.0 (SUNDIALS v7.3.0) commit c0517fd0307a4d4c6a6776c9753b57645950cefc Author: Cody Balos <balos1@llnl.gov> Date: Wed May 14 00:27:46 2025 -0700 generate more code commit e535376304eee49191bad89d3104b01ab66c430b Author: Cody Balos <balos1@llnl.gov> Date: Mon May 12 17:07:11 2025 -0700 generator updates commit f32faf3ca5e23a98998bba14276842a5f063489c Author: Cody Balos <balos1@llnl.gov> Date: Mon May 12 16:56:40 2025 -0700 formatting commit bb487aece131ba7d7def9b57fcb5667442b4d328 Author: Cody Balos <balos1@llnl.gov> Date: Mon May 12 14:54:30 2025 -0700 cleanup commit d5fe9e72a2f9d306ceb5b55d9b9199f81280806f Author: Cody Balos <balos1@llnl.gov> Date: Mon May 12 14:54:20 2025 -0700 delete unused bindings commit 8c79a28f1dd3520ae9f6f9ccc2160c788aef07ca Merge: 15aee6730 d1e07340e Author: Cody Balos <balos1@llnl.gov> Date: Mon May 12 14:52:49 2025 -0700 Merge remote-tracking branch 'origin/develop' into feature/python-nanobind commit d1e07340e760f221ff1bf1f404734e81d2f9811d Author: David Gardner <gardner48@llnl.gov> Date: Wed May 7 17:28:50 2025 -0700 Maintenance: Ignore python formatting in blame (#701) Ignore formatting updates from #699 in blame commit f4dd677103170d9eef53b1237aac4ad438a094a4 Author: Steven Roberts <roberts115@llnl.gov> Date: Wed May 7 14:46:22 2025 -0700 Tools: Separate MRI logging data by level (#698) Add option to extract MRI logging data separated by level commit b166f03e29852a17fec5747cb64c4c986f24d42b Author: Steven Roberts <roberts115@llnl.gov> Date: Wed May 7 11:08:47 2025 -0700 Maintenance: update python formatting (#699) Format all python files using Spack style with black commit 83478e706d41ac21465b85b0feca8cf1f5ce7834 Author: Steven Roberts <roberts115@llnl.gov> Date: Tue May 6 09:04:25 2025 -0700 Docs: Add warning for users to free flag strings (#700) Note sure if the warning or note directive is preferable for this. commit 67062a30b622e86721eed88d5e99f86cb9c10381 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun May 4 14:39:43 2025 -0700 Build(deps): Bump docker/build-push-action from 6.15.0 to 6.16.0 (#697) commit 15aee67302d6f2c0bd8cd0651816c61dfa831366 Author: Cody Balos <balos1@llnl.gov> Date: Fri Apr 25 12:35:54 2025 -0700 add more linear solver bindings commit 0d85925a476729ef8897c2ec22563ae77b19ddda Author: Cody Balos <balos1@llnl.gov> Date: Fri Apr 25 11:00:27 2025 -0700 add initial support for sunlinearsolver commit b3498996236072506276d125ccf808247e269803 Author: Cody Balos <balos1@llnl.gov> Date: Thu Apr 24 16:46:22 2025 -0700 add ARKStepCreate (needs linear solvers to work with implicit) commit 2f97e441a9cdf69a10ae915e761e895ec2924145 Author: Cody Balos <balos1@llnl.gov> Date: Thu Apr 24 16:16:51 2025 -0700 separate out arkode steppers into different files commit 6fca7c5c0ad3987c929949456fcee4a3ffefd6fb Author: Cody Balos <balos1@llnl.gov> Date: Thu Apr 24 16:06:44 2025 -0700 add lvalue ref constructor to ClassView commit 6ac31a359599842526990f6f31fe13fc2484895f Author: Cody Balos <balos1@llnl.gov> Date: Thu Apr 24 16:06:20 2025 -0700 reogranize test scripts commit 6bfa5180ed7d096b5433786401a1a7621f1ca604 Author: Cody Balos <balos1@llnl.gov> Date: Thu Apr 24 14:27:52 2025 -0700 format commit 24c3c70374df1e75692362caa6bccbf9c799db25 Author: Cody Balos <balos1@llnl.gov> Date: Thu Apr 24 14:22:15 2025 -0700 get it building and running clean again commit de22a57bfe99d51815c8f4f29d73a28a70781cc6 Author: Cody Balos <balos1@llnl.gov> Date: Wed Apr 23 15:48:23 2025 -0700 change cmake option name commit 0ce6fb761d34cb5ce73243ea4e6576dd838014c9 Author: Balos, Cody, J <balos1@llnl.gov> Date: Wed Apr 23 12:37:01 2025 -0700 add another test commit f0ced6e39a6c6906c35d015ec81b9b20749b7b04 Merge: c341452b7 70ef60926 Author: Balos, Cody, J <balos1@llnl.gov> Date: Wed Apr 23 09:59:48 2025 -0700 Merge remote-tracking branch 'origin/develop' into feature/python-nanobind commit 70ef609268b14de0a4dea0952f4b5a0ab6921cc1 Author: Steven Roberts <roberts115@llnl.gov> Date: Wed Apr 16 09:27:59 2025 -0700 Docs: Minor formatting fixes in docs (#691) Fix typos in docs commit b6c68f835f656d254a84e2223500852bf01b67ee Author: Steven Roberts <roberts115@llnl.gov> Date: Tue Apr 15 08:45:31 2025 -0700 Bugfix: Fix spacing in some IDA(S) error messages (#690) Add space after error message time in IDA(S) commit 295f47ff9889dd97fabdd26a21b971ecd71b3653 Author: Cody Balos <balos1@llnl.gov> Date: Sun Apr 13 21:33:36 2025 -0700 Bugfix: Fix Caliper compile test (#688) Fixed a CMake bug that would cause the Caliper compile test to fail at configure time. ------ Co-authored-by: David Gardner <gardner48@llnl.gov> commit e3b56f0336b86a7f6e08939e104fcc25cd54d051 Author: David Gardner <gardner48@llnl.gov> Date: Tue Apr 8 07:03:04 2025 -0700 Bugfix: CVODE tarscript (#686) Add missing `.sh` commit ef498ea0cc674ea413e4dec25c94d39025bc0293 Author: David Gardner <gardner48@llnl.gov> Date: Mon Apr 7 13:11:27 2025 -0700 Maintenance: Start new release cycle (#685) Update recent changes for next release cycle commit e941546af1a5b5e492dcac0a1872540e9961c556 Author: David Gardner <gardner48@llnl.gov> Date: Mon Apr 7 06:54:19 2025 -0700 Release: v7.3.0 (#684) SUNDIALS Release v7.3.0 commit 3d2f7744e786bec549babc1020fbd442612aa004 Author: Steven Roberts <roberts115@llnl.gov> Date: Fri Apr 4 10:46:29 2025 -0700 Feautre: Update ARKODE adaptivity controller defaults (#565) Updated adaptivity controller defaults - No deadzone - Bias: 1.0 - Safety factor: 0.9 - Adjustment: 0 - I controller --------- Co-authored-by: David Gardner <gardner48@llnl.gov> Co-authored-by: Daniel R. Reynolds <reynolds@smu.edu> Co-authored-by: Daniel R. Reynolds <dreynolds@umbc.edu> commit 2a817e705bc891c4201230bbdbcfc23979d6a570 Author: Cody Balos <balos1@llnl.gov> Date: Wed Apr 2 17:35:52 2025 -0700 Feature: ASA core modules and ERK discrete adjoint support (#641) Add the core modules for adjoint sensitivity analysis and add discrete adjoint capability for ERK methods in ERKStep and ARKStep modules in ARKODE. --------- Co-authored-by: Steven Roberts <roberts115@llnl.gov> Co-authored-by: David Gardner <gardner48@llnl.gov> Co-authored-by: Daniel R. Reynolds <reynolds@smu.edu> commit 06d44a2c3809e8d3bcdcdca139adf2052518d0bd Author: David Gardner <gardner48@llnl.gov> Date: Tue Apr 1 20:08:56 2025 -0700 Feature: CVODE Resize History (#678) Add support for resizing CVODE and CVODES when solving initial value problems where the number of equations and unknowns changes over time. Resizing requires a user supplied history of solution and right-hand side values at the new problem size. commit dbe9d95fa867fe5ffe3125a45760ff5cab0bac61 Author: David Gardner <gardner48@llnl.gov> Date: Tue Apr 1 14:25:41 2025 -0700 CI: Fix mingw32 tests (#683) [MINGW-packages](https://github.com/msys2/MINGW-packages) dropped support OpenBLAS (msys2/MINGW-packages@609f024a4ab22aed8fa77f63cc27e50cfb489499) and SuiteSparse (msys2/MINGW-packages@c5ee4e8ee5a17e8d160f967ba74827dfe2b520ca) on mingw32. These packages are still available for mingw64. commit 3494706c093837b3d30677a62c742f33ce9a7339 Author: David Gardner <gardner48@llnl.gov> Date: Mon Mar 31 07:06:27 2025 -0700 Feature: Anderson adaptive damping and depth (#679) Add support in KINSOL for setting a user-supplied functions to compute the damping factor and depth in fixed-point or Picard iterations. commit 8c684cb278d9902aa8b5d72ffc7d77da50f2ceea Author: Steven Roberts <roberts115@llnl.gov> Date: Sat Mar 22 15:31:57 2025 -0700 Bugfix: Resizing MRI (#677) Fix bug where trying to resize an MRI method leads to an erroneous "Unable to resize vector" error. --------- Co-authored-by: David J. Gardner <gardner48@llnl.gov> commit aba7df67f83fd3d94e54c9927228edff0bac0c94 Author: Chris Vogl <vogl2@llnl.gov> Date: Sat Mar 22 12:50:15 2025 -0400 Examples: Corrected default values in ark_harmonic_symplectic help message (#676) The default values listed in help message are not what is used in the code. --------- Co-authored-by: David Gardner <gardner48@llnl.gov> commit 71a480a419e39c22ae3cc2939be25785b721f17d Author: Steven Roberts <roberts115@llnl.gov> Date: Fri Mar 21 09:11:53 2025 -0700 Feature: Improve precision of some RK coefficients (#675) Improved the precision of the coefficients for `ARKODE_ARK324L2SA_ERK_4_2_3`, `ARKODE_VERNER_9_5_6`, `ARKODE_VERNER_10_6_7`, `ARKODE_VERNER_13_7_8`, `ARKODE_ARK324L2SA_DIRK_4_2_3`, and `ARKODE_ESDIRK324L2SA_4_2_3`. --------- Co-authored-by: David J. Gardner <gardner48@llnl.gov> commit 47af768f6c2ee279f7493bba6a577e7a34c43e14 Author: Steven Roberts <roberts115@llnl.gov> Date: Thu Mar 20 09:59:22 2025 -0700 Deprecate Work Space Functions (#669) Deprecate all work space functions for removal in version 8.0.0 ----- Co-authored-by: David Gardner <gardner48@llnl.gov> commit d3fdca38e8e4a953d938e672f13743da63fa398a Author: Harmen Stoppels <harmenstoppels@gmail.com> Date: Wed Mar 19 17:42:21 2025 +0100 Maintenance: spack v1.0 support (#673) Spack v1.0 will parse `pkg %gcc +foo` as "pkg with direct dependency gcc with variant foo enabled" instead of "pkg with variant foo enabled and compiler gcc". Reorder as `%foo +bar` -> `+bar %foo` to be compatible with Spack v0.x and v1.0. commit a5c62e6ed2f61985c91afdfe449f66c6da0d33d1 Author: Steven Roberts <roberts115@llnl.gov> Date: Tue Mar 18 17:25:07 2025 -0700 Feature: Fix Adaptivity for Small Errors or no CFL (#548) The error floor parameter used in the controllers could cause an error overestimation, particularly for the first step. Use I controller for initial steps with insufficient history. --------- Co-authored-by: David Gardner <gardner48@llnl.gov> commit 05f019f03b28129577cb723883b95d96743d559e Author: David Gardner <gardner48@llnl.gov> Date: Mon Mar 17 08:15:32 2025 -0700 CI: Windows Intel Ninja Test (#672) Update Intel compiler version to fix CI failures with Windows + Intel + Ninja commit 034e1e30c2ba9344ee1329abd174189f05978522 Author: Steven Roberts <roberts115@llnl.gov> Date: Sun Mar 16 12:31:30 2025 -0700 Docs: Fix typo in SplittingStep description (#670) commit 0f4d5ae8ff3fca36ea5deeef0af6e0465d17fc01 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue Mar 11 09:29:19 2025 -0700 Build(deps): Bump docker/build-push-action from 6.13.0 to 6.15.0 (#668) Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 6.13.0 to 6.15.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/docker/build-push-action/releases">docker/build-push-action's releases</a>.</em></p> <blockquote> <h2>v6.15.0</h2> <ul> <li>Bump <code>@​docker/actions-toolkit</code> from 0.55.0 to 0.56.0 in <a href="https://redirect.github.com/docker/build-push-action/pull/1330">docker/build-push-action#1330</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/docker/build-push-action/compare/v6.14.0...v6.15.0">https://github.com/docker/build-push-action/compare/v6.14.0...v6.15.0</a></p> <h2>v6.14.0</h2> <ul> <li>Bump <code>@​docker/actions-toolkit</code> from 0.53.0 to 0.55.0 in <a href="https://redirect.github.com/docker/build-push-action/pull/1324">docker/build-push-action#1324</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/docker/build-push-action/compare/v6.13.0...v6.14.0">https://github.com/docker/build-push-action/compare/v6.13.0...v6.14.0</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/docker/build-push-action/commit/471d1dc4e07e5cdedd4c2171150001c434f0b7a4"><code>471d1dc</code></a> Merge pull request <a href="https://redirect.github.com/docker/build-push-action/issues/1330">#1330</a> from docker/dependabot/npm_and_yarn/docker/actions-t...</li> <li><a href="https://github.com/docker/build-push-action/commit/b89ff0a6f27deae3d7f5803e80f1de9415b673c8"><code>b89ff0a</code></a> chore: update generated content</li> <li><a href="https://github.com/docker/build-push-action/commit/1e3ae3a4d3bba144fbd440e91219e1cd3bc38d69"><code>1e3ae3a</code></a> chore(deps): Bump <code>@​docker/actions-toolkit</code> from 0.55.0 to 0.56.0</li> <li><a href="https://github.com/docker/build-push-action/commit/b16f42f92abaeb7610fd7fc99ab230d13e79e275"><code>b16f42f</code></a> Merge pull request <a href="https://redirect.github.com/docker/build-push-action/issues/1325">#1325</a> from crazy-max/buildx-edge</li> <li><a href="https://github.com/docker/build-push-action/commit/dc0fea5e62c3379ed8d79ee70c09796499a5f799"><code>dc0fea5</code></a> ci: update buildx to edge and buildkit to latest</li> <li><a href="https://github.com/docker/build-push-action/commit/0adf9959216b96bec444f325f1e493d4aa344497"><code>0adf995</code></a> Merge pull request <a href="https://redirect.github.com/docker/build-push-action/issues/1324">#1324</a> from docker/dependabot/npm_and_yarn/docker/actions-t...</li> <li><a href="https://github.com/docker/build-push-action/commit/d88cd289df60c51a4111f165d65e205c8e913937"><code>d88cd28</code></a> chore: update generated content</li> <li><a href="https://github.com/docker/build-push-action/commit/3d09a6bd705280a63155d5f61da35bb42301fe96"><code>3d09a6b</code></a> chore(deps): Bump <code>@​docker/actions-toolkit</code> from 0.53.0 to 0.55.0</li> <li>See full diff in <a href="https://github.com/docker/build-push-action/compare/v6.13.0...v6.15.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=docker/build-push-action&package-manager=github_actions&previous-version=6.13.0&new-version=6.15.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> commit 3344daa29d990004c3fcacd85aa8f25c1338fe02 Author: Steven Roberts <roberts115@llnl.gov> Date: Fri Feb 28 17:12:42 2025 -0800 Docs: Fix summation bound (#666) Fix summation bound in operator splitting docs commit 6cb302c90379b0f18436ffef0fcdb08e97a57ef7 Author: Chris Vogl <vogl2@llnl.gov> Date: Wed Feb 12 12:36:37 2025 -0500 Docs: Fix typo in table description (#664) Add "default" to the docs for the Yoshida Butcher Table constant description. commit 35d6d24d46c879cb89f7adba610f9381bf8516d5 Author: Steven Roberts <roberts115@llnl.gov> Date: Wed Feb 12 06:48:18 2025 -0800 Feature: Update default ARKODE methods (#547) Update the default RK tables in ARKODE: - ARK order >2: Follows the recommendations in the conclusion of https://doi.org/10.1016/j.apnum.2018.10.007 - ERK order 4: Improved principal error and embedded quality metrics - ERK order 5: Improved principal error and embedded quality metrics - ERK order 8: Switch to a method designed for local extrapolation mode, likely better principal error. - DIRK order 2: Improved principal error, L-stability, and stage order 2 - DIRK order >2: Follows the recommendations in the conclusion of https://doi.org/10.1016/j.apnum.2019.07.008 --------- Co-authored-by: David Gardner <gardner48@llnl.gov> commit 51087e02d0a67ec29d5035858e1ceec1592df3d2 Author: Daniel R. Reynolds <reynolds@smu.edu> Date: Fri Feb 7 16:16:32 2025 -0600 Bugfix: Python plotting script (#663) Removes an incorrect "sanity check" from python plotting script so it works with serial and parallel output files. commit b0cb581f324b46aa2906f39a03aa73a8c400bf34 Author: Mustafa Ağgül <33010171+maggul@users.noreply.github.com> Date: Wed Feb 5 19:23:41 2025 -0600 Docs: fix typo in README and in a function input argument (#661) Remove small space due to inconsistent latex rendering of README Correct docs for LinearCombinationVectorArray commit 0725fdbc00f8b5c5f8c6b8128f30a4702d18e48a Author: Steven Roberts <roberts115@llnl.gov> Date: Fri Jan 31 07:25:31 2025 -0800 Bugfix: Fix return value in ARKodeSetFixedStep (#659) Previously success was always returned, even if an error occurred commit 3e3c999274c02e0e5d86054e8a34b61203485cfa Author: Chris Vogl <vogl2@llnl.gov> Date: Fri Jan 31 09:16:19 2025 -0500 Maintenance: Typo in Operator Splitting Example (#653) Fix typo in error check commit 294361e7f6c9a9d8fd67f54b6eb7f0b5114551da Author: Mustafa Ağgül <33010171+maggul@users.noreply.github.com> Date: Thu Jan 30 20:39:59 2025 -0600 Maintenance: Fixing incorrect function name returns in check_flag calls (#658) Some of the `check_flag` calls in the LSRK examples were not returning the correct function names. commit f33b6d7abc5cdef8d5d766b620e23e45b352b988 Author: Steven Roberts <roberts115@llnl.gov> Date: Tue Jan 28 20:49:58 2025 -0800 CI: Simplify addressing of CI errors (#657) Uniquely names artifacts for a matrix of jobs to so there's no conflicts The changes will allow us to get out files across all logging levels and precisions with one run rather than repeated runs and updates. commit b2db253c00970c48c273e991ad4223dc55769a72 Author: Steven Roberts <roberts115@llnl.gov> Date: Tue Jan 28 16:43:27 2025 -0800 Bugfix: Correct time label in log parser (#656) Fix time key in get_history commit 8e3df317810a34fb539835f4542238e074044333 Author: Steven Roberts <roberts115@llnl.gov> Date: Tue Jan 28 15:06:07 2025 -0800 Docs: Fix Shu-Osher Butcher table entry (#655) Fix typo in Shu-Osher-3-2-3 ERK method table docs commit e9e8f5cf1e55991e61740c0b9c9b5f5c6d11af17 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon Jan 27 16:32:33 2025 -0800 Build(deps): Bump docker/build-push-action from 6.12.0 to 6.13.0 (#654) Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 6.12.0 to 6.13.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/docker/build-push-action/releases">docker/build-push-action's releases</a>.</em></p> <blockquote> <h2>v6.13.0</h2> <ul> <li>Bump <code>@​docker/actions-toolkit</code> from 0.51.0 to 0.53.0 in <a href="https://redirect.github.com/docker/build-push-action/pull/1308">docker/build-push-action#1308</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/docker/build-push-action/compare/v6.12.0...v6.13.0">https://github.com/docker/build-push-action/compare/v6.12.0...v6.13.0</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/docker/build-push-action/commit/ca877d9245402d1537745e0e356eab47c3520991"><code>ca877d9</code></a> Merge pull request <a href="https://redirect.github.com/docker/build-push-action/issues/1308">#1308</a> from docker/dependabot/npm_and_yarn/docker/actions-t...</li> <li><a href="https://github.com/docker/build-push-action/commit/d2fe919bb5012a6186426dc91c361c4980d10c2d"><code>d2fe919</code></a> chore: update generated content</li> <li><a href="https://github.com/docker/build-push-action/commit/f0fc9ece82cf2ace13ec8f35687697ae511bdf74"><code>f0fc9ec</code></a> chore(deps): Bump <code>@​docker/actions-toolkit</code> from 0.51.0 to 0.53.0</li> <li>See full diff in <a href="https://github.com/docker/build-push-action/compare/v6.12.0...v6.13.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=docker/build-push-action&package-manager=github_actions&previous-version=6.12.0&new-version=6.13.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> commit 32b87ca4860998806d9ac84602f5733f1b5dc9e3 Author: Cody Balos <balos1@llnl.gov> Date: Thu Jan 23 13:44:18 2025 -0800 CMake: Add a macro to wrap add_executable (#651) Add sundials_add_executable macro to easily include/exclude examples with complex values commit 7c540be32e2c89b568215c25f4e1fd497ec617a1 Author: Daniel R. Reynolds <reynolds@smu.edu> Date: Wed Jan 22 12:03:30 2025 -0600 Reorganized organization of checkNvector routines (#647) Clean up how ARKODE and its steppers check for required and optional N_Vector routines. 1. Stepper-specific N_Vector operation checks have been removed. 2. ARKODE performs an initial check on the supplied N_Vector for operations that are always required. 3. Individual ARKODE utilities perform their own N_Vector checks when they are configured. 4. ARKODE then performs a final check after user configuration is complete to check any remaining N_Vector operation requirements. --------- Co-authored-by: David Gardner <gardner48@llnl.gov> commit 767679fb673cfb8a2567eb2c0ff3ba49745f5046 Author: Steven Roberts <roberts115@llnl.gov> Date: Wed Jan 22 06:46:15 2025 -0800 Update copyright year (#636) Update copyright year range for 2025 Add .sh suffix to tarscripts Fix spelling errors with new codespell version --------- Co-authored-by: David Gardner <gardner48@llnl.gov> commit e34ff3d7c811cc20bde7fea6cdd857c439a83dbb Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon Jan 20 20:31:54 2025 -0800 Build(deps): Bump docker/build-push-action from 6.11.0 to 6.12.0 (#650) Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 6.11.0 to 6.12.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/docker/build-push-action/releases">docker/build-push-action's releases</a>.</em></p> <blockquote> <h2>v6.12.0</h2> <ul> <li>Bump <code>@​docker/actions-toolkit</code> from 0.49.0 to 0.51.0 in <a href="https://redirect.github.com/docker/build-push-action/pull/1300">docker/build-push-action#1300</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/docker/build-push-action/compare/v6.11.0...v6.12.0">https://github.com/docker/build-push-action/compare/v6.11.0...v6.12.0</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/docker/build-push-action/commit/67a2d409c0a876cbe6b11854e3e25193efe4e62d"><code>67a2d40</code></a> Merge pull request <a href="https://redirect.github.com/docker/build-push-action/issues/1300">#1300</a> from docker/dependabot/npm_and_yarn/docker/actions-t...</li> <li><a href="https://github.com/docker/build-push-action/commit/0b1b1c9c43ec788c199860037a0545356ea03d26"><code>0b1b1c9</code></a> chore: update generated content</li> <li><a href="https://github.com/docker/build-push-action/commit/b6a7c2c4eec8151a4dbcd3823747fe1b77d5b280"><code>b6a7c2c</code></a> chore(deps): Bump <code>@​docker/actions-toolkit</code> from 0.49.0 to 0.51.0</li> <li><a href="https://github.com/docker/build-push-action/commit/31ca4e5d51253d7e4a2317bfe74699cbe3a398a9"><code>31ca4e5</code></a> Merge pull request <a href="https://redirect.github.com/docker/build-push-action/issues/1296">#1296</a> from crazy-max/bake-v6</li> <li><a href="https://github.com/docker/build-push-action/commit/e613db9d5a93dda4d07aeb81991e80164577ae4a"><code>e613db9</code></a> update bake-action to v6</li> <li>See full diff in <a href="https://github.com/docker/build-push-action/compare/v6.11.0...v6.12.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=docker/build-push-action&package-manager=github_actions&previous-version=6.11.0&new-version=6.12.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> commit cc5e58c72392635b8dc4f2fa657a526b9b8fe185 Author: David Gardner <gardner48@llnl.gov> Date: Sat Jan 18 09:19:50 2025 -0800 Docs: cleanup install guide (#637) * Separate sections for installing with Spack and CMake * Co-locate Linux, Windows, and HPC install instructions in CMake section * Remove `ccmake` steps to focus on simpler `cmake` steps * Create subsections for related CMake options * Combine TPL sections with related TPL options * Add cross-references to corresponding TPL modules * Add configuration examples for all TPLs * Combine addons section with CMake option * Create subsections for table of headers and libraries * Add CMake targets to tables * Add missing headers and libraries * Remove deprecated headers * Remove duplicate text --------- Co-authored-by: Steven Roberts <roberts115@llnl.gov> commit 72b88cc51bc2847133c466c9f6215c35fa671602 Author: Steven Roberts <roberts115@llnl.gov> Date: Sat Jan 18 08:19:28 2025 -0800 Maintenance: Remove unused macros (#644) Add -Wunused-macros and -Wunused-local-typedefs with ENABLE_ALL_WARNINGS -------- Co-authored-by: David Gardner <gardner48@llnl.gov> commit f963373db52c9c5d19558f12f700e036c8c52a7f Author: Cody Balos <balos1@llnl.gov> Date: Fri Jan 17 16:25:05 2025 -0800 CI: Fix /autofix command (#646) Currently, our `/autofix` command does not work because the jobs don't have the 'write' permission. This will fix it, but not until the change ends up in `main`. This permission can be set globally too, but this is more secure. commit 3f72e6cb9446aba3a92c67ac1c48edec14a19b0c Author: David Gardner <gardner48@llnl.gov> Date: Fri Jan 17 09:42:33 2025 -0800 CI: Add jobs to test PDF doc builds (#645) Add CI jobs to build PDFs for the user guides, example docs, and install guide commit 7c90f5cf95639249b1086a0493d55eab7abbc88b Author: Steven Roberts <roberts115@llnl.gov> Date: Wed Jan 15 16:29:25 2025 -0800 Add macros for consistent sunrealtype formatting (#517) Add SUN_FORMAT_E, SUN_FORMAT_G, and SUN_FORMAT_SG macros --------- Co-authored-by: David Gardner <gardner48@llnl.gov> commit 87fef531fc3cc9da2b3e45ef345141151b573a54 Author: Daniel R. Reynolds <reynolds@smu.edu> Date: Tue Jan 14 12:40:36 2025 -0600 Mustafa-contributor (#643) This PR rectifies an omission from our last release, where we forgot to update the lists of SUNDIALS contributors to include Mustafa Aggul (who contributed the ARKODE LSRKStep module). commit 517507bbf42af6eb5e190d9a77d3344942cbf7da Author: David Gardner <gardner48@llnl.gov> Date: Tue Jan 14 08:31:19 2025 -0800 Bugfix: SUNDIALS_ENABLE_ERROR_CHECKS default value (#638) Fix the behavior of `SUNDIALS_ENABLE_ERROR_CHECKS` so additional runtime error checks are disabled by default with all release build types. Previously, `MinSizeRel` builds enabled additional error checking by default. commit 1fb40c0e091eb7b103e1103b8990e1387bf78ccc Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon Jan 13 23:59:16 2025 -0800 Build(deps): Bump docker/build-push-action from 6.10.0 to 6.11.0 (#639) Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 6.10.0 to 6.11.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/docker/build-push-action/releases">docker/build-push-action's releases</a>.</em></p> <blockquote> <h2>v6.11.0</h2> <ul> <li>Handlebar <code>defaultContext</code> support for <code>build-contexts</code> input by <a href="https://github.com/crazy-max"><code>@​crazy-max</code></a> in <a href="https://redirect.github.com/docker/build-push-action/pull/1283">docker/build-push-action#1283</a></li> <li>Bump <code>@​docker/actions-toolkit</code> from 0.46.0 to 0.49.0 in <a href="https://redirect.github.com/docker/build-push-action/pull/1281">docker/build-push-action#1281</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/docker/build-push-action/compare/v6.10.0...v6.11.0">https://github.com/docker/build-push-action/compare/v6.10.0...v6.11.0</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/docker/build-push-action/commit/b32b51a8eda65d6793cd0494a773d4f6bcef32dc"><code>b32b51a</code></a> Merge pull request <a href="https://redirect.github.com/docker/build-push-action/issues/1281">#1281</a> from docker/dependabot/npm_and_yarn/docker/actions-t...</li> <li><a href="https://github.com/docker/build-push-action/commit/594bf46f0f6d32fd8bd98a553127950004165c96"><code>594bf46</code></a> Merge pull request <a href="https://redirect.github.com/docker/build-push-action/issues/1294">#1294</a> from crazy-max/fix-e2e</li> <li><a href="https://github.com/docker/build-push-action/commit/fd37bd55af0b8c458ea0ff376ce151a332fa7aed"><code>fd37bd5</code></a> ci(e2e): fix setup docker config</li> <li><a href="https://github.com/docker/build-push-action/commit/e6478a2405f3527f33b93efb6857519c3ffd91f2"><code>e6478a2</code></a> chore: update generated content</li> <li><a href="https://github.com/docker/build-push-action/commit/78785bddff35ca36f384e0c6a8a367584317df9f"><code>78785bd</code></a> chore(deps): Bump <code>@​docker/actions-toolkit</code> from 0.46.0 to 0.49.0</li> <li><a href="https://github.com/docker/build-push-action/commit/128779fed7edb034b3f8006e9dac81a8593c040e"><code>128779f</code></a> Merge pull request <a href="https://redirect.github.com/docker/build-push-action/issues/1283">#1283</a> from crazy-max/named-context-handlebars</li> <li><a href="https://github.com/docker/build-push-action/commit/7e094594beda23fc8f21fa31049f4b203e51096b"><code>7e09459</code></a> Merge pull request <a href="https://redirect.github.com/docker/build-push-action/issues/1282">#1282</a> from crazy-max/remove-buildkit-5561</li> <li><a href="https://github.com/docker/build-push-action/commit/32ee877a58507615d974839965ef8e530d66362e"><code>32ee877</code></a> Revert &quot;init buildkit-5561 workflow&quot;</li> <li><a href="https://github.com/docker/build-push-action/commit/d1a4129c41bb3f92b731b33dc29cfe5f6cd9298f"><code>d1a4129</code></a> chore: update generated content</li> <li><a href="https://github.com/docker/build-push-action/commit/49c623eaf82513814393adabc13bf2535384d735"><code>49c623e</code></a> handlebar defaultContext support for build-contexts input</li> <li>Additional commits viewable in <a href="https://github.com/docker/build-push-action/compare/v6.10.0...v6.11.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=docker/build-push-action&package-manager=github_actions&previous-version=6.10.0&new-version=6.11.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> commit 792686d3347b1691c0bb100d9fdf78a18f119fd8 Author: Cody Balos <balos1@llnl.gov> Date: Wed Jan 8 21:00:33 2025 -0800 Bugfix: guard zeroing of yerr with compensated sums check (#635) Only zero yerr when compensated summation is enabled ----- Co-authored-by: David J. Gardner <gardner48@llnl.gov> commit c341452b7e0cd7458ef930f69e89d40b5ba5fe06 Author: Balos, Cody, J <balos1@llnl.gov> Date: Tue Jan 7 22:30:29 2025 -0800 wip function pointer struct commit f0d64a3d303ef3a5770e742219d9a95a600c8d3c Author: David Gardner <gardner48@llnl.gov> Date: Tue Jan 7 00:18:39 2025 -0600 Docs: Fix install guide versions (#633) Fix version numbers in the install guide Fix scripts to automatically update version numbers Fix typo in version changed direct…
1 parent b12e77b commit 214b1aa

File tree

207 files changed

+15809
-1108
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

207 files changed

+15809
-1108
lines changed

.git-blame-ignore-revs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ b578eabccd77b7642b04ddda9d8530f05890d1b4
99
# Apply formatting to CMake files
1010
c6b9a02f24a27081c471d63dfc524684a9f5a9e3
1111
# Update formatting for Python files
12-
63f06adc12db0edc250fe9d86ce4ffbbc272a489
12+
b166f03e29852a17fec5747cb64c4c986f24d42b
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
#!/bin/bash
2+
3+
###
4+
# Attempt to find the branch of the PR from the detached head state
5+
##
6+
7+
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
8+
echo "Attempting to find branch that matches commit..."
9+
10+
# Get the current commit SHA
11+
current_commit_sha=$(git rev-parse HEAD)
12+
# List all branches containing the current commit SHA
13+
branches=$(git branch -r --contains $current_commit_sha)
14+
15+
echo "all branches:"
16+
echo "$(git branch -a)"
17+
echo "branches with SHA $current_commit_sha:"
18+
echo "$branches"
19+
20+
# Loop over the string split by whitespace
21+
branch=""
22+
num_branches_found=0
23+
for _possible_branch in $branches; do
24+
# Skip items that start with "pull/"
25+
if [[ $_possible_branch == pull/* ]]; then
26+
continue
27+
fi
28+
if [[ $_possible_branch == origin/* ]]; then
29+
_possible_branch=$(echo "$_possible_branch" | sed 's/origin\///')
30+
fi
31+
echo "Possible Branch: $_possible_branch"
32+
branch=$_possible_branch
33+
num_branches_found=$((num_branches_found+1))
34+
done
35+
36+
if [ "$num_branches_found" -ne 1 ]; then
37+
echo "Error: Unable to find a single branch that matched git sha $current_commit_sha"
38+
exit 1
39+
fi
40+
41+
echo "Found branch: $branch"
42+
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
43+
44+
git checkout $branch
45+
git submodule update --init --recursive

.github/workflows/check-format.yml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,20 @@ name: Checks - formatting
33
on:
44
pull_request:
55
workflow_dispatch:
6+
issue_comment:
7+
types: [created]
8+
9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.head_ref || github.ref_name }}
11+
cancel-in-progress: true
612

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

1117
jobs:
1218
format_check:
19+
if: ${{ github.event_name != 'issue_comment' || (github.event_name == 'issue_comment' && startsWith(github.event.comment.body, '/autofix')) }}
1320
runs-on: ubuntu-latest
1421
container:
1522
image: ghcr.io/llnl/sundials_spack_cache:llvm-17.0.4-h4lflucc3v2vage45opbo2didtcuigsn.spack
@@ -64,3 +71,46 @@ jobs:
6471
name: format.patch
6572
path: |
6673
${{ github.workspace }}/format.patch
74+
75+
apply_format:
76+
if: ${{ always() && contains(join(needs.*.result, ','), 'failure') && (github.event_name == 'issue_comment' && startsWith(github.event.comment.body, '/autofix')) }}
77+
needs: format_check
78+
runs-on: ubuntu-latest
79+
permissions:
80+
contents: write
81+
steps:
82+
# Checkout the GitHub created reference for the PR.
83+
# The only way to do this is by using the "issue" number
84+
# but that is really the PR number in this context.
85+
# This is due to using an `issue_comment` event which
86+
# is due to the GitHub Actions API that does not have
87+
# a `pull_request_comment` event or something similar.
88+
# This leaves us in a detached head state which is corrected
89+
# in `apply-style/checkout.sh`
90+
- name: Checkout repository code
91+
uses: actions/checkout@v4
92+
with:
93+
ref: refs/pull/${{ github.event.issue.number }}/head
94+
fetch-depth: 0
95+
96+
- name: Checkout the right git ref
97+
run: ./.github/actions/apply-style/checkout.sh
98+
99+
- name: Download the git diff from format_check
100+
uses: actions/download-artifact@v4
101+
with:
102+
name: format.patch
103+
104+
- name: Apply patch
105+
run: |
106+
git apply format.patch
107+
rm format.patch
108+
109+
- name: Commit fixes
110+
run: |
111+
git config user.name "format-robot"
112+
git config user.email "no-reply@llnl.gov"
113+
if [ -n "$(git status --porcelain)" ]; then
114+
git commit -am 'apply format updates'
115+
git push
116+
fi

.github/workflows/check-spelling.yml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,20 @@ name: Checks - spelling
33
on:
44
pull_request:
55
workflow_dispatch:
6+
issue_comment:
7+
types: [created]
8+
9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.head_ref || github.ref_name }}
11+
cancel-in-progress: true
612

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

1117
jobs:
1218
spelling_check:
19+
if: ${{ github.event_name != 'issue_comment' || (github.event_name == 'issue_comment' && startsWith(github.event.comment.body, '/autofix')) }}
1320
runs-on: ubuntu-latest
1421
steps:
1522
- name: Install python3-pip
@@ -44,3 +51,46 @@ jobs:
4451
name: spelling.patch
4552
path: |
4653
${{ github.workspace }}/spelling.patch
54+
55+
apply_spelling:
56+
if: ${{ always() && contains(join(needs.*.result, ','), 'failure') && (github.event_name == 'issue_comment' && startsWith(github.event.comment.body, '/autofix')) }}
57+
needs: spelling_check
58+
runs-on: ubuntu-latest
59+
permissions:
60+
contents: write
61+
steps:
62+
# Checkout the GitHub created reference for the PR.
63+
# The only way to do this is by using the "issue" number
64+
# but that is really the PR number in this context.
65+
# This is due to using an `issue_comment` event which
66+
# is due to the GitHub Actions API that does not have
67+
# a `pull_request_comment` event or something similar.
68+
# This leaves us in a detached head state which is corrected
69+
# in `apply-style/checkout.sh`
70+
- name: Checkout repository code
71+
uses: actions/checkout@v4
72+
with:
73+
ref: refs/pull/${{ github.event.issue.number }}/head
74+
fetch-depth: 0
75+
76+
- name: Checkout the right git ref
77+
run: ./.github/actions/apply-style/checkout.sh
78+
79+
- name: Download the git diff from spelling_check
80+
uses: actions/download-artifact@v4
81+
with:
82+
name: spelling.patch
83+
84+
- name: Apply patch
85+
run: |
86+
git apply spelling.patch
87+
rm spelling.patch
88+
89+
- name: Commit fixes
90+
run: |
91+
git config user.name "format-robot"
92+
git config user.email "no-reply@llnl.gov"
93+
if [ -n "$(git status --porcelain)" ]; then
94+
git commit -am 'apply spelling updates'
95+
git push
96+
fi

.github/workflows/check-swig.yml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@ name: Checks - swig
33
on:
44
pull_request:
55
workflow_dispatch:
6+
issue_comment:
7+
types: [created]
8+
9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.head_ref || github.ref_name }}
11+
cancel-in-progress: true
612

713
concurrency:
814
group: ${{ github.workflow }}-${{ github.head_ref || github.ref_name }}
@@ -52,3 +58,46 @@ jobs:
5258
name: swig.patch
5359
path: |
5460
${{ github.workspace }}/swig.patch
61+
62+
apply_swig:
63+
if: ${{ always() && contains(join(needs.*.result, ','), 'failure') && (github.event_name == 'issue_comment' && startsWith(github.event.comment.body, '/autofix')) }}
64+
needs: swig_check
65+
runs-on: ubuntu-latest
66+
permissions:
67+
contents: write
68+
steps:
69+
# Checkout the GitHub created reference for the PR.
70+
# The only way to do this is by using the "issue" number
71+
# but that is really the PR number in this context.
72+
# This is due to using an `issue_comment` event which
73+
# is due to the GitHub Actions API that does not have
74+
# a `pull_request_comment` event or something similar.
75+
# This leaves us in a detached head state which is corrected
76+
# in `apply-style/checkout.sh`
77+
- name: Checkout repository code
78+
uses: actions/checkout@v4
79+
with:
80+
ref: refs/pull/${{ github.event.issue.number }}/head
81+
fetch-depth: 0
82+
83+
- name: Checkout the right git ref
84+
run: ./.github/actions/apply-style/checkout.sh
85+
86+
- name: Download the git diff from swig_check
87+
uses: actions/download-artifact@v4
88+
with:
89+
name: swig.patch
90+
91+
- name: Apply patch
92+
run: |
93+
git apply swig.patch
94+
rm swig.patch
95+
96+
- name: Commit fixes
97+
run: |
98+
git config user.name "format-robot"
99+
git config user.email "no-reply@llnl.gov"
100+
if [ -n "$(git status --porcelain)" ]; then
101+
git commit -am 'apply swig updates'
102+
git push
103+
fi
Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
name: pysundials-official wheels
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- develop
8+
- feature/python-nanobind # TODO(CJB): remove once PR is open
9+
pull_request:
10+
merge_group:
11+
workflow_dispatch:
12+
# release:
13+
# types:
14+
# - published
15+
16+
jobs:
17+
build_sdist:
18+
name: Build SDist
19+
runs-on: ubuntu-latest
20+
steps:
21+
- uses: actions/checkout@v4
22+
with:
23+
submodules: true
24+
25+
- name: Build SDist
26+
run: pipx run build --sdist
27+
28+
- name: Check metadata
29+
run: pipx run twine check dist/*
30+
31+
- uses: actions/upload-artifact@v4
32+
with:
33+
name: dist-sdist
34+
path: dist/*.tar.gz
35+
36+
37+
build_wheels:
38+
name: Wheels on ${{ matrix.os }}
39+
runs-on: ${{ matrix.os }}
40+
strategy:
41+
fail-fast: false
42+
matrix:
43+
os: [ubuntu-latest, macos-13, macos-14, windows-latest]
44+
45+
steps:
46+
- uses: actions/checkout@v4
47+
with:
48+
submodules: true
49+
50+
- uses: pypa/cibuildwheel@v2.22
51+
52+
- name: Verify clean directory
53+
run: git diff --exit-code
54+
shell: bash
55+
56+
- name: Upload wheels
57+
uses: actions/upload-artifact@v4
58+
with:
59+
path: wheelhouse/*.whl
60+
name: dist-${{ matrix.os }}
61+
62+
# upload_all:
63+
# name: Upload if release
64+
# needs: [build_wheels, build_sdist]
65+
# runs-on: ubuntu-latest
66+
# if: github.event_name == 'release' && github.event.action == 'published'
67+
68+
# steps:
69+
# - uses: actions/setup-python@v5
70+
# - uses: actions/download-artifact@v4
71+
# with:
72+
# path: dist
73+
# pattern: dist-*
74+
# merge-multiple: true
75+
76+
# - uses: pypa/gh-action-pypi-publish@release/v1
77+
# with:
78+
# user: __token__
79+
# password: ${{ secrets.pypi_password }}

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
/.pydevproject
2020
.vscode
2121
compile_commands.json
22+
.venv
2223
.clangd
2324

2425
# custom test environment setup script
@@ -82,3 +83,7 @@ uberenv_libs
8283

8384
# tools
8485
/tools/suntools/__pycache__
86+
87+
# python
88+
.pytest_cache
89+
__pycache__

CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,10 @@ if(SUNDIALS_ENABLE_EXTERNAL_ADDONS)
235235
add_subdirectory(external)
236236
endif()
237237

238+
if(SUNDIALS_ENABLE_PYTHON)
239+
add_subdirectory(bindings/pysundials)
240+
endif()
241+
238242
# ===============================================================
239243
# Install configuration header files and license file.
240244
# ===============================================================

0 commit comments

Comments
 (0)