# Submit And Collect Daemon Work This tutorial uses {func}`solve ` with deferred dispatch to submit four local daemon solves without waiting. It collects the first two entries through the handler, then collects the remaining entries from the {term}`submission` itself. Set `JCMROOT` and ensure that the local daemon is available before you run the tutorial from the tutorial root: ```bash python execution_runtime/daemon/03_submit_wait/run.py ``` ## Python File ```{literalinclude} ../../../../demos/documentation_tutorials/execution_runtime/daemon/03_submit_wait/run.py :language: python ``` ## Project Files
layout.jcmt ```{literalinclude} ../../../../demos/documentation_tutorials/execution_runtime/daemon/03_submit_wait/layout.jcmt :language: jcm ```
materials.jcm ```{literalinclude} ../../../../demos/documentation_tutorials/execution_runtime/daemon/03_submit_wait/materials.jcm :language: jcm ```
mie2D.jcmp ```{literalinclude} ../../../../demos/documentation_tutorials/execution_runtime/daemon/03_submit_wait/mie2D.jcmp :language: jcm ```
sources.jcm ```{literalinclude} ../../../../demos/documentation_tutorials/execution_runtime/daemon/03_submit_wait/sources.jcm :language: jcm ```