Enabled and built by default!
dune-common
configures a Python virtual
environment (dune-common/build-cmake/dune-env
)
Automatically created and set up when running
dunecontrol
On Ubuntu systems you need to install python3-venv
(e.g. sudo apt install python3-venv
) for venv
to work properly.
To activate:
For more control, follow
./dune-common/bin/dunecontrol bexec rm -r CMakeFiles CMakeCache.txt
python3 -m venv venv
source venv/bin/activate
./dune-common/bin/dunecontrol --opts=dumux/cmake.opts configure
./dune-common/bin/dunecontrol --opts=dumux/cmake.opts make -j
which installs Python bindings into the activated virtual environment.
python3 test_1p.py
pip install pyvista
and append