Editing Enable large arrays: Build octave such that it can use arrays larger than 2Gb.
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 13: | Line 13: | ||
* glpk | * glpk | ||
* Qhull | * Qhull | ||
To determine the integer size of the BLAS library used by Octave, the following code can be executed: | To determine the integer size of the BLAS library used by Octave, the following code can be executed: | ||
Line 25: | Line 23: | ||
c = a' * b | c = a' * b | ||
</syntaxhighlight> | </syntaxhighlight> | ||
## GNU Octave has released in January 2020 a 5.2.0_1-w64-64 for Windows which is 64-bit indexing for linear algebra. We are anxiously awaiting same for Linux and Mac. See gnu.org octave/download/windows | |||
If the BLAS library uses '''32-bit integers''', an error will be thrown: | If the BLAS library uses '''32-bit integers''', an error will be thrown: | ||
Line 51: | Line 53: | ||
With this option, Octave will use internally 64-bit integers for array dimensions and indexing. However, '''all numerical libraries''' used by Octave will need to use also 64-bit integers for array dimensions and indexing, and in most cases they need to be compiled from source. | With this option, Octave will use internally 64-bit integers for array dimensions and indexing. However, '''all numerical libraries''' used by Octave will need to use also 64-bit integers for array dimensions and indexing, and in most cases they need to be compiled from source. | ||
For details about how to compile these libraries please read the [http://www.gnu.org/software/octave/doc/interpreter/Compiling-Octave-with-64_002dbit-Indexing.html#Compiling-Octave-with-64_002dbit-Indexing GNU Octave manual], or alternatively you can use [[MXE]] (M Cross Environment) which takes care of the different packages automatically (especially the configure flags <code>--enable-64</code> and <code>--enable-fortran-int64</code>). | |||
[[Category:Building]] | [[Category:Building]] |