Skip to content

User guide

Krini lets you run tasks and workflows on compute services that implement the GA4GH Task Execution Service (TES) and Workflow Execution Service (WES) APIs, and follow their runs. It finds the services in the Cloud Registry that its operator has configured.

Browsing without login

Opening Krini takes you to the dashboard. Without login, the Tasks and Workflows pages list the TES and WES services of the registry that are served over https, and the service info page shows what a WES service supports (e.g. workflow languages and versions).

Logging in

Use Login to log in with your deployment's login provider. Krini then sends your access token to the TES and WES services you use, so that they know who you are; services that require login accept it only if they trust the deployment's client (see the Operator guide). Your name in the sidebar opens a menu with your e-mail address and Logout.

Running tasks and workflows

  • Tasks: choose a TES service, then create a task (container image, command, inputs and outputs) and follow the tasks you submitted. View Details shows a task's state and logs; Cancel stops a task that hasn't finished. The details page always shows the task on the service you listed it from, so you can reload or bookmark it; a link without a service uses the selected service, or asks you to choose one. Which tasks the list shows depends on the service: a gateway such as proTES shows only your own tasks.
  • Workflows: choose a WES service, then submit a workflow run (workflow URL, type and version, parameters) and follow your runs.
  • Federated learning: a federated learning run is a workflow run on a WES service that runs federated learning jobs, such as the NVFlare hub of nvflare-wes-testbed (workflow type NVFLARE, version 2.9). Choose that service under Workflows, choose the workflow type NVFLARE and version 2.9, enter the name of one of its jobs as the workflow URL (e.g. logreg-fedavg-4) and the sites as parameters, e.g. {"sites": ["tesk-fi", "tesk-cz", "poiesis-fi", "poiesis-cz"]}; or use the Federated learning example. Follow the run to COMPLETE; its details list the outputs, such as the path of the trained global model, which Krini can't download yet (see Federated learning).

To try Krini, use the buttons next to Use an example: above the task or workflow form: one click fills the form with a small example that needs no inputs, which you can submit as it is or change first. The workflow form offers only the examples of the workflow languages and versions that the selected service runs. Your deployment may offer its own examples, or none. Examples describes the built-in ones.

Privacy

The privacy notice at /privacy, linked from the login page and the sidebar, describes what Krini processes and which cookies it sets. Without login, Krini sets no cookies, unless you start a login or change the sidebar.