From bc9b1813ddda8e1289a5a322af090e864c08392e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?William=20L=C3=B6vfors?= Date: Tue, 28 Nov 2023 14:19:55 +0100 Subject: [PATCH] Update python_installation.rst exporting BLAS_LIBS was also needed to get the amici package to be importable, in addition to BLAS_CFLAGS --- documentation/python_installation.rst | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/documentation/python_installation.rst b/documentation/python_installation.rst index cfc0bf3a83..dee9bfd4fc 100644 --- a/documentation/python_installation.rst +++ b/documentation/python_installation.rst @@ -79,11 +79,12 @@ Install the AMICI dependencies via ``pacman`` sudo pacman -S python swig openblas gcc hdf5 boost-libs -Export the bash variable ``BLAS_CFLAGS`` to point to where blas was installed, e.g.: +Export the bash variables ``BLAS_CFLAGS`` and ``BLAS_LIBS`` to point to where BLAS was installed, e.g.: .. code-block:: bash export BLAS_CFLAGS="-I/usr/include/openblas/" + export BLAS_LIBS="-lopenblas" Install AMICI: @@ -105,11 +106,12 @@ Alternatively: sudo pacman -Su python swig openblas gcc hdf5 boost-libs -3. Export the bash variable ``BLAS_CFLAGS`` to point to where blas was installed, e.g.: +3. Export the bash variables ``BLAS_CFLAGS`` and ``BLAS_LIBS`` to point to where BLAS was installed, e.g.: .. code-block:: bash export BLAS_CFLAGS="-I/usr/include/openblas/" + export BLAS_LIBS="-lopenblas" 4. Install AMICI: