Skip to content

Commit 49a776d

Browse files
authored
Nutils adapter: Document scipy backend option
I sometimes face this issue on my system, and it might be useful for others as well. Transferring documentation from precice/tutorials#660 (comment).
1 parent 50519b8 commit 49a776d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

content/docs/adapters/nutils/adapter-nutils.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,5 @@ The best way to learn how to couple a [Nutils](http://www.nutils.org/) applicati
1818
We recommend using a Python virtual environment to install different Nutils versions. See the `requirements.txt` and the `run.sh` of the cases included in the preCICE tutorials for an example.
1919

2020
Version 8 requires `bottombar` as a dependency. `pip` might automatically install version `2.0`, which has [known issues](https://github.com/precice/precice/issues/1443) when used with preCICE. A [patch](https://github.com/evalf/bottombar/commit/fd2dc3a76db282e5ba1f12047683100a299cf651) was implemented in version `2.1`, thus a workaround is to explicitly re-install version `2.1`: `pip3 install bottombar==2.1` (in the same [virtual environment](https://docs.python.org/3/library/venv.html#creating-virtual-environments)).
21+
22+
In case you get an error `nutils.Matrix.MatrixError: reordering problem`, this might be an issue with the [solver backend](https://nutils.org/install-matrix.html) on your system. In that case, try setting `NUTILS_MATRIX=scipy` before calling the respective Nutils solver (requires installing the Python package `scipy`).

0 commit comments

Comments
 (0)