User Tools

Site Tools


deema:start

This is an old revision of the document!


Deema project MuPIF portal

This page is intended to provide specific information for Deema users of MuPIF platform.

Prerequisites

Connecting to MuPIF infrastructure

  • Install WireGuard VPN software from https://www.wireguard.com/install/
  • You need VPN client configs to connect to MuPIF infrastructure. These have been distributed to all partners. If you have any problem or need additional keys, please send a request to borek.patzak@cvut.cz
  • On Linux: save the client configuration file in /etc/wireguard, use wg-quick to bring up the interface (e.g. sudo wg-quick up musicode_peerX.conf).
  • On Windows: in the WireGuard GUI, click on “Add Tunnel” and then “Import tunnel(s) from file…”; import the {peer}.conf file and activate the tunnel.
  • Test the connection:
    $ pyro5-nsc -n 172.23.1.1 -p 10000 ping
    Name server ping ok.

MuPIF Services

Using MuPIF Web API

  • Using of the web interface is demonstrated on a simple workflow, which already exists in the MuPIF database. In the list of workflows (http://172.23.1.1:5555/workflows) there is this workflow with wid “workflow_13” - click on the link to go to its detail (or click here: http://172.23.1.1:5555/workflows/workflow_13). The page shows the inputs and outputs of this workflow and a link to create a new execution - click on the “Initialize new execution record” and you get to the created execution's detail. Click on “Set inputs and Task_ID” and submit the imput data. This workflow assumes that we provide two numbers in the form of a tuple - for submitting values 3.0 and 2.5 fill in “(3.0,)” and “(2.5,)”. After saving by clicking on “Submit” you can get back to execution record by clicking on the displayed link. Now you can click on the “Schedule execution”, which should change the status from “Created” to “Pending”. After some time (scheduler checks new executions in 1 minute period) you can refresh this page and check if the status is “Finished”. If so, click on the “Discover outputs” to see the results of this simple calculation.

Setting up Model Server

deema/start.1640006322.txt.gz · Last modified: 2021/12/20 14:18 by stanislavsulc