-
Notifications
You must be signed in to change notification settings - Fork 135
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
203 changed files
with
11,610 additions
and
4,378 deletions.
There are no files selected for viewing
This file contains 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 |
---|---|---|
|
@@ -30,13 +30,13 @@ project(sundials C) | |
# Set some variables with info on the SUNDIALS project | ||
set(PACKAGE_BUGREPORT "[email protected]") | ||
set(PACKAGE_NAME "SUNDIALS") | ||
set(PACKAGE_STRING "SUNDIALS 5.2.0") | ||
set(PACKAGE_STRING "SUNDIALS 5.3.0") | ||
set(PACKAGE_TARNAME "sundials") | ||
|
||
# set SUNDIALS version numbers | ||
# (use "" for the version label if none is needed) | ||
set(PACKAGE_VERSION_MAJOR "5") | ||
set(PACKAGE_VERSION_MINOR "2") | ||
set(PACKAGE_VERSION_MINOR "3") | ||
set(PACKAGE_VERSION_PATCH "0") | ||
set(PACKAGE_VERSION_LABEL "") | ||
|
||
|
@@ -63,37 +63,37 @@ mark_as_advanced(CLEAR | |
|
||
# Specify the VERSION and SOVERSION for shared libraries | ||
|
||
set(arkodelib_VERSION "4.2.0") | ||
set(arkodelib_VERSION "4.3.0") | ||
set(arkodelib_SOVERSION "4") | ||
|
||
set(cvodelib_VERSION "5.2.0") | ||
set(cvodelib_VERSION "5.3.0") | ||
set(cvodelib_SOVERSION "5") | ||
|
||
set(cvodeslib_VERSION "5.2.0") | ||
set(cvodeslib_VERSION "5.3.0") | ||
set(cvodeslib_SOVERSION "5") | ||
|
||
set(idalib_VERSION "5.2.0") | ||
set(idalib_VERSION "5.3.0") | ||
set(idalib_SOVERSION "5") | ||
|
||
set(idaslib_VERSION "4.2.0") | ||
set(idaslib_VERSION "4.3.0") | ||
set(idaslib_SOVERSION "4") | ||
|
||
set(kinsollib_VERSION "5.2.0") | ||
set(kinsollib_VERSION "5.3.0") | ||
set(kinsollib_SOVERSION "5") | ||
|
||
set(cpodeslib_VERSION "0.0.0") | ||
set(cpodeslib_SOVERSION "0") | ||
|
||
set(nveclib_VERSION "5.2.0") | ||
set(nveclib_VERSION "5.3.0") | ||
set(nveclib_SOVERSION "5") | ||
|
||
set(sunmatrixlib_VERSION "3.2.0") | ||
set(sunmatrixlib_VERSION "3.3.0") | ||
set(sunmatrixlib_SOVERSION "3") | ||
|
||
set(sunlinsollib_VERSION "3.2.0") | ||
set(sunlinsollib_VERSION "3.3.0") | ||
set(sunlinsollib_SOVERSION "3") | ||
|
||
set(sunnonlinsollib_VERSION "2.2.0") | ||
set(sunnonlinsollib_VERSION "2.3.0") | ||
set(sunnonlinsollib_SOVERSION "2") | ||
|
||
# Specify the location of additional CMAKE modules | ||
|
@@ -232,6 +232,13 @@ show_variable(SUNDIALS_INDEX_TYPE STRING "${DOCSTR}" "") | |
mark_as_advanced(SUNDIALS_INDEX_TYPE) | ||
include(SundialsIndexSize) | ||
|
||
# --------------------------------------------------------------- | ||
# Option to specify monitoring | ||
# --------------------------------------------------------------- | ||
|
||
set(DOCSTR "Build with simulation monitoring capabilities enabled") | ||
sundials_option(SUNDIALS_BUILD_WITH_MONITORING BOOL ${DOCSTR} OFF) | ||
|
||
# --------------------------------------------------------------- | ||
# Enable Fortran interface? | ||
# --------------------------------------------------------------- | ||
|
@@ -858,6 +865,17 @@ endif(CUDA_ENABLE) | |
# Now that all languages are setup, we can configure them more. | ||
# --------------------------------------------------------------- | ||
|
||
# --------------------------------------------------------------- | ||
# Option to use specialized fused kernels in the packages. | ||
# Currently only available in CVODE. | ||
# --------------------------------------------------------------- | ||
|
||
if(CUDA_ENABLE AND CMAKE_CUDA_COMPILER AND BUILD_CVODE) | ||
set(SUNDIALS_BUILD_PACKAGE_FUSED_KERNELS FALSE CACHE BOOL "Build specialized fused CUDA kernels") | ||
else() | ||
set(SUNDIALS_BUILD_PACKAGE_FUSED_KERNELS FALSE CACHE BOOL "Build specialized fused CUDA kernels" FORCE) | ||
endif() | ||
|
||
# --------------------------------------------------------------- | ||
# Decide how to compile MPI codes. We must check for MPI if | ||
# MPI is enabled or if Trilinos is enabled because the Trilinos | ||
|
Binary file not shown.
This file contains 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
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains 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 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 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,27 @@ | ||
|
||
Brusselator ODE test problem, fixed-point solver: | ||
initial conditions: u0 = 3, v0 = 3, w0 = 3.5 | ||
problem parameters: a = 0.5, b = 3, ep = 0.0005 | ||
reltol = 1.0e-06, abstol = 1.0e-10 | ||
|
||
t u v w | ||
---------------------------------------------- | ||
1.000000 1.897255 1.274939 2.997155 | ||
2.000000 0.346125 2.366448 2.999481 | ||
3.000000 0.147442 2.862061 2.999781 | ||
4.000000 0.140733 3.226731 2.999788 | ||
5.000000 0.142659 3.583206 2.999788 | ||
6.000000 0.145095 3.936910 2.999782 | ||
7.000000 0.147720 4.287893 2.999780 | ||
8.000000 0.150542 4.635957 2.999775 | ||
9.000000 0.153590 4.980863 2.999768 | ||
10.000000 0.156901 5.322330 2.999763 | ||
---------------------------------------------- | ||
|
||
Final Solver Statistics: | ||
Internal solver steps = 729 (attempted = 730) | ||
Total RHS evals: Fe = 4383, Fi = 18793 | ||
Total number of fixed-point iterations = 14410 | ||
Total number of nonlinear solver convergence failures = 0 | ||
Total number of error test failures = 1 | ||
|
This file contains 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 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 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 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.