Autorun is a mechanism that will automatically cause an application to be rerun whenever its input changes. This option is available both for applications and workflows in the EPISODES Platform. |
With this guide you will learn how to enable autorun for your applications and how it can be used. Please consult the Applications page for more information about creating and running applications.
Autorun is an option that can be set for applications and workflows. When enabled the portal will monitor that application for changes and it will automatically run the application when it detects that its outputs might be outdated. Specific cases that can trigger the autorun are listed in the section below. To enable autorun you have to click the enable autorun checkbox that is beside various control buttons in the application panel.
Figure 1. An application panel with Enable Autorun checkbox marked
Selecting this checkbox will also have some additional effects:
The portal will attempt to autorun an application when it detects that some of the application's outputs might be outdated due to changes in application's inputs. This includes situations when:
The application will not be run if it is missing some of it's required inputs, or if its already running or waiting to be run.
It can be useful to use autorun in a chain of applications where one application's output is used as input to another. When you set autorun to all of them and the first application is run, it will cause all three application to be run one after another automatically.
Figure 2. Example of applications that are chained together
This can also be achieved by transforming applications into workflow and enabling autorun to the whole workflow.
Makuch, M., M. Malawski, J. Kocot, and T. Szepieniec (2022) Model and system for scientific workflows represented in file system directory tree. In: Future Generation Computer Systems, https://doi.org/10.1016/j.future.2022.03.023
Makuch, M., M. Malawski, J. Kocot, and T. Szepieniec (2020) Applying workflows to scientific projects represented in file system directory tree. In: 2020 IEEE/ACM Workflows in Support of Large-Scale Science (WORKS), pp. 25-32, https://doi.org/10.1109/WORKS51914.2020.00009