Add support for Sundials 2.7.0
This commit is contained in:
parent
fd3f2c72fb
commit
ad7a02d0e9
2 changed files with 3 additions and 3 deletions
|
|
@ -893,7 +893,7 @@ if env['system_sundials'] == 'y':
|
|||
|
||||
# Ignore the minor version, e.g. 2.4.x -> 2.4
|
||||
env['sundials_version'] = '.'.join(sundials_version.split('.')[:2])
|
||||
if env['sundials_version'] not in ('2.4','2.5','2.6'):
|
||||
if env['sundials_version'] not in ('2.4','2.5','2.6','2.7'):
|
||||
print """ERROR: Sundials version %r is not supported.""" % env['sundials_version']
|
||||
sys.exit(1)
|
||||
print """INFO: Using system installation of Sundials version %s.""" % sundials_version
|
||||
|
|
|
|||
|
|
@ -495,14 +495,14 @@ Optional Programs
|
|||
* Optional. If Sundials is not installed, it will be automatically downloaded
|
||||
and the necessary portions will be compiled and installed with Cantera.
|
||||
* https://computation.llnl.gov/casc/sundials/download/download.html
|
||||
* Known to work with versions 2.4, 2.5 and 2.6.
|
||||
* Known to work with versions 2.4, 2.5, 2.6, and 2.7.
|
||||
* To use Sundials with Cantera on a Linux/Unix system, it must be compiled
|
||||
with the ``-fPIC`` flag. You can specify this flag when configuring
|
||||
Sundials (2.4 or 2.5)::
|
||||
|
||||
configure --with-cflags=-fPIC
|
||||
|
||||
or Sundials 2.6::
|
||||
or Sundials 2.6 or 2.7::
|
||||
|
||||
cmake -DCMAKE_C_FLAGS=-fPIC <other command-line options>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue