diff --git a/examples/README.md b/examples/README.md index 389abf7c..7aea421b 100644 --- a/examples/README.md +++ b/examples/README.md @@ -8,11 +8,18 @@ To run the Python solverdummies, run the following commands in the `examples/` d ```bash python macro_dummy.py -python python-dummy/run_micro_manager.py +python python-dummy/run_micro_manager.py --config micro-manager-config.json ``` Note that running `micro_manager micro-manager-config.json` from the terminal will not work, as the path in the configuration file is relative to the current working directory. See [#36](https://github.com/precice/micro-manager/issues/36) for more information. +To run the Python solverdummies with adaptivity run the following commands in the `examples/` directory in **two different terminals**: + +```bash +python macro_dummy.py +python python-dummy/run_micro_manager.py --config micro-manager-adaptivity-config.json +``` + ## C++ The C++ solverdummies have to be compiled first using [`pybind11`](https://pybind11.readthedocs.io/en/stable/index.html). To do so, install `pybind11` using `pip`: @@ -42,7 +49,14 @@ Then, run the following commands in the `examples/` directory, in **two differen ```bash python macro_dummy.py -python cpp-dummy/run_micro_manager.py +python cpp-dummy/run_micro_manager.py --config micro-manager-config.json +``` + +To run the C++ solverdummies with adaptivity run the following commands in the `examples/` directory in **two different terminals**: + +```bash +python macro_dummy.py +python cpp-dummy/run_micro_manager.py --config micro-manager-adaptivity-config.json ``` When changing the C++ solverdummy to your own solver, make sure to change the `PYBIND11_MODULE` in `micro_cpp_dummy.cpp` to the name that you want to compile to.