changeset 30697:7e8db64587a6 stable

doc: Add SUNDIALS IDA to list of libraries with optional 64-bit indexing. * doc/interpreter/install.txi (Compiling Octave with 64-bit Indexing): Add SUNDIALS IDA to list of libraries with optional 64-bit indexing. Add build instructions for 64-bit indexing with SUNDIALS IDA.
author Markus Mützel <markus.muetzel@gmx.de>
date Tue, 01 Feb 2022 20:03:51 +0100
parents fcd704fc132f
children 713fc832413e a6dfda8450d6
files doc/interpreter/install.txi
diffstat 1 files changed, 14 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/doc/interpreter/install.txi	Tue Feb 01 19:33:06 2022 +0100
+++ b/doc/interpreter/install.txi	Tue Feb 01 20:03:51 2022 +0100
@@ -649,6 +649,8 @@
 
 @item SuiteSparse
 
+@item @sc{sundials ida}
+
 @item @sc{arpack}
 @end itemize
 
@@ -700,6 +702,12 @@
 about 23 binary bits.  In this particular example no rounding errors
 occur.
 
+Generally, it is best to have all of these libraries in versions that
+support 32-bit indexing, or all of these libraries must support 64-bit
+indexing.  Mixing libraries with 64-bit indexing with libraries with
+32-bit indexing can cause unpredictable behavior including program
+crashes with possible loss of data.
+
 The following instructions were tested with the development version of
 Octave and GCC 4.3.4 on an x86_64 Debian system and may be out of date
 now.  Please report any problems or corrections on the Octave bug
@@ -787,6 +795,12 @@
 @noindent
 Other systems may require a different solution.
 
+@item @sc{sundials ida}
+(@url{https://computing.llnl.gov/projects/sundials/ida})
+
+When configuring with @code{cmake} add the flag
+@option{-DSUNDIALS_INDEX_SIZE=64}.
+
 @item @sc{arpack} (@url{https://forge.scilab.org/index.php/p/arpack-ng/})
 
 @itemize @minus