Skip to content

Commit

Permalink
Update python_installation.rst
Browse files Browse the repository at this point in the history
exporting BLAS_LIBS  was also needed to get the amici package to be importable, in addition to BLAS_CFLAGS
  • Loading branch information
willov authored Nov 28, 2023
1 parent 6ea9d9d commit bc9b181
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions documentation/python_installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand All @@ -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:

Expand Down

0 comments on commit bc9b181

Please sign in to comment.