Oratio, Ophelia, and Amlet make heavy use of CBLAS routines, the C version of BLAS. Many implementations exist, most of them proprietary and restricited to some specific architectures. We currently recommend OpenBLAS, whose installation is described below. The files configure.ac from the packages can be edited to accomodate other BLAS implementations.

OpenBLAS

While not officially stable, OpenBLAS is the currently recommanded library. It is based on GotoBLAS2, and benefits from a better maintenance, so that several issues present in GotoBLAS2 have been addressed. OpenBLAS is distributed under the BSD License.

OpenBLAS installation requires to compile the source code. First, extract the code and compile it with the commands
tar zxvf OpenBLAS-0.2.18.tar.gz
cd OpenBLAS-0.2.18
make

If you do not have the utility wget installed, you will also have to manually download LAPACK on Netlib. The proposed OpenBlas version requires LAPACK 3.5.0, but newer versions could rely on more recent LAPACK distributions. The LAPACK archive has to be copied in the OpenBLAS main directory.

After the compilation, you can install the library with the command sudo make install assuming that your account has enough administration rights. By default, OpenBLAS is installed in the directory /opt/OpenBLAS so you have to edit your environment variables to successfully link a code with the library. It is possible to change the installation directory with the option PREFIX, for instance sudo make PREFIX=/usr/local install /usr/local is the default installation directory of Oratio, Ophelia, and Amlet.


© Fabian Bastin.