Institute for Reliable Computing
Head: Prof. Dr. Siegfried M. Rump
Starting with Version 9, INTLAB is compatible with GNU Octave Version 5.2.0 or newer.
The officially distributed versions of GNU Octave, however, may not switch the rounding mode correctly when computing with multiple threads.
Many thanks to Kai Torben Ohlhus for help with GNU Octave.
On Windows perform the following three steps (as shown in the three screenshots below) before installing INTLAB:
On macOs and Linux, start GNU Octave with the following command line (or change the respective application launcher's environment variables):
OMP_NUM_THREADS=1 OPENBLAS_NUM_THREADS=1 octave --gui
and perform the steps 3.1 ‐ 3.3 from the Windows instructions.
Most GNU Octave installations, including the Windows version, use the OpenBLAS-Library. By default, OpenBLAS does not synchronize the floating-point control and status register (FPCSR) when using multiple threads for a computation.
This default OpenBLAS DLL shipped with GNU Octave must be replaced by a customized DLL, which was built identically, but using the additional compiler flag CONSISTENT_FPCSR=1.
For macOS and Linux this procedure is rather straight forward and explained in the following website: https://siko1056.github.io/blog/2021/12/23/octave-matlab-directed-rounding.
On Windows this procedure is more complex. Thus pre-compiled DLL libraries are provided for convenience and we assume the Windows-64 (recommended) version of GNU Octave to be installed.
Please download
and rename the downloaded file to libblas.dll.
The file libopenblasINTLAB-0.3.33.dll was built using the MXE cross-compiler for Windows as the official GNU Octave release. For building the OpenBLAS library, only the additional compiler flag CONSISTENT_FPCSR=1 was added in https://github.com/mmuetzel/mxe-octave/blob/140c6754497f1ecbce2c31cbc242560114c410dd/src/openblas.mk#L25-L30 during the build process.
For more information on how to build the OpenBLAS library for GNU Octave on Windows, please see https://wiki.octave.org/Windows_Installer.
Institute for Reliable Computing
Hamburg University of Technology
An Schwarzenberg-Campus 3
21071 Hamburg
Germany