Skip to content

Latest commit

 

History

History
30 lines (16 loc) · 3.71 KB

File metadata and controls

30 lines (16 loc) · 3.71 KB

Services

Every Study in o²S²PARC is composed of at least one so-called Service (also called node), though most Studies will contain multiple Services.

Services are building blocks for Studies and can provide data/files, visualize results (2D, 3D), implement code in Jupyter notebooks or perform computations to execute simulations within a Study.

The computational backend involves all Services needed to handle the actual computational workload. A computational workflow is described as a pipeline that processes a stream of data in a sequential way. Every pipeline consists of multiple algorithms, each one expecting specific input data and providing specific output data.

The pipeline can be built up as a directed acyclic graph (DAG) where the lines between the Services describe input/output flows and the nodes represent the algorithms (i.e., the computational kernels). Such kernels include standalone solvers, algorithms to perform specific calculations, or viewers that render data into graphs, plots or tables, etc.

All these Services can be already provided within a Study Template or can be set up from scratch by the user by selecting options in the Service catalog.

catalog Connected Services as well as selection of Services via the Service Catalog in the Workbench.

Service Types

Services come in generally two flavors: computational or interactive. Computational Services such as a Python Runner will allow setting of some parameters (e.g. input files) and will perform a computation with no user interaction required. Interactive Services only perform tasks with user interaction, as is the case for Services such as the JupyterLab. JupyterLab Services will allow you to write and execute code within the JupyterLab GUI, but as with all interactive Services, will not run automatically when a Study pipeline is launched. Computational Services, on the other hand, will automatically read all input parameters at runtime and execute the static code embedded inside them.

In terms of viewing, Interactive Services will have a special view in the Workbench through the Interactive View tab interactive. You may occasionally want to maximize this view in order to have a larger working area. To do this, you can click on the maximize button on the upper right hand corner of the Interactive View.

minimize

To regain access the other Workbench options such as inspecting Service inputs and outputs or changing the Pipeline, you can minimize the Interactive View by clicking on the minimize button on the upper right hand corner.

maximize

Services Tab

This section functions very similarly to the Template Studies tab. Clicking on a published Service will create a Study in your Studies tab with the single Service inside the Study. To add Services to an existing Study, you may access the Service Catalog directly within a Study workspace without needing to go through the Services Tab. See more in Creating a Study and Add and Update Services.