Commit 46bb5407 authored by Lambert Theisen's avatar Lambert Theisen
Browse files

Add note howto monitor memory consumption

parent b9450e55
...@@ -27,7 +27,8 @@ ENV PATH=/usr/local/gmsh-${GMSH_VERSION}-Linux64-sdk/bin:$PATH ...@@ -27,7 +27,8 @@ ENV PATH=/usr/local/gmsh-${GMSH_VERSION}-Linux64-sdk/bin:$PATH
# Install additional programs # Install additional programs
RUN apt-get update && apt-get install -y \ RUN apt-get update && apt-get install -y \
# someotherpackages \ # someotherpackages \
numdiff numdiff \
htop
# Install any needed packages specified in requirements.txt # Install any needed packages specified in requirements.txt
# RUN pip install --trusted-host pypi.python.org -r requirements.txt # RUN pip install --trusted-host pypi.python.org -r requirements.txt
......
...@@ -141,6 +141,12 @@ hosted version on `Gitlab Pages`_. ...@@ -141,6 +141,12 @@ hosted version on `Gitlab Pages`_.
Developer Notes Developer Notes
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
- Monitor the performance of the program with e.g.:
.. code-block:: bash
htop -p `{ python3 ../../src/fenicsR13.py inputs/1_coeffs_nosources_norot_inflow_p1p1p1p1p1_stab.yml > /dev/null & } && echo $!`
- Matplotbib fails when having wrong backend on macOS - Matplotbib fails when having wrong backend on macOS
- Fix: Add ``backend: TkAgg`` to ``~/.matplotlib/matplotlibrc`` file - Fix: Add ``backend: TkAgg`` to ``~/.matplotlib/matplotlibrc`` file
- Performance in Docker is way better than conda build, especially JIT compilation is faster - Performance in Docker is way better than conda build, especially JIT compilation is faster
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment