Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Lambert Theisen
fenicsR13
Commits
46bb5407
Commit
46bb5407
authored
Aug 11, 2019
by
Lambert Theisen
Browse files
Add note howto monitor memory consumption
parent
b9450e55
Changes
2
Hide whitespace changes
Inline
Side-by-side
Dockerfile
View file @
46bb5407
...
...
@@ -27,7 +27,8 @@ ENV PATH=/usr/local/gmsh-${GMSH_VERSION}-Linux64-sdk/bin:$PATH
# Install additional programs
RUN
apt-get update
&&
apt-get
install
-y
\
# someotherpackages
\
numdiff
numdiff
\
htop
# Install any needed packages specified in requirements.txt
# RUN pip install --trusted-host pypi.python.org -r requirements.txt
...
...
README.rst
View file @
46bb5407
...
...
@@ -141,6 +141,12 @@ hosted version on `Gitlab Pages`_.
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
- Fix: Add ``backend: TkAgg`` to ``~/.matplotlib/matplotlibrc`` file
- Performance in Docker is way better than conda build, especially JIT compilation is faster
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment