Skip to content

Commit

Permalink
Update python_installation.rst
Browse files Browse the repository at this point in the history
On Python 3.11 and with openblas 0.3.24-2, amici installer is unable to find "cblas.h". This is fixed by exporting the openblas path to BLAS_CFLAGS
  • Loading branch information
willov authored Nov 27, 2023
1 parent ffcbf66 commit 4b1bf5f
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion documentation/python_installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,11 @@ 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.:
.. code-block:: bash
export BLAS_CFLAGS="-I/usr/include/openblas/"
Install AMICI:

.. code-block:: bash
Expand All @@ -99,7 +104,12 @@ Alternatively:
sudo pacman -Su python swig openblas gcc hdf5 boost-libs
3. Install AMICI:
3. Export the bash variable ``BLAS_CFLAGS`` to point to where blas was installed, e.g.:
.. code-block:: bash
export BLAS_CFLAGS="-I/usr/include/openblas/"
4. Install AMICI:

.. code-block:: bash
Expand Down

0 comments on commit 4b1bf5f

Please sign in to comment.