musicode:start
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
musicode:start [2022/01/11 02:05] – [Interaction with test jobmanager] stanislavsulc | musicode:start [2023/12/07 02:06] (current) – [Setting up Model Server] stanislavsulc | ||
---|---|---|---|
Line 21: | Line 21: | ||
==== MuPIF Services ==== | ==== MuPIF Services ==== | ||
- | * Platform online monitor | + | * Platform online monitor http:// |
+ | * Model API generator https:// | ||
- | ==== MuPIF update from January 10th 2022 - changes of model implementation ==== | + | ==== Changelog of Important |
+ | |||
+ | 1. 1. 2022 | ||
* Instead of PropertyID, FieldID, ParticleSetID, | * Instead of PropertyID, FieldID, ParticleSetID, | ||
* meatadata Inputs contain key " | * meatadata Inputs contain key " | ||
Line 29: | Line 32: | ||
* Only generalized set() and get() functions can be used. Functions setProperty, | * Only generalized set() and get() functions can be used. Functions setProperty, | ||
+ | 9. 2. 2022 | ||
+ | * Obj_ID in Inputs/ | ||
+ | * For Type mupif.Property in Inputs/ | ||
+ | |||
+ | 18. 5. 2022 | ||
+ | * The workflow metadata contain item " | ||
+ | * The default value of metadata argument in the initialize function was changed to None. | ||
==== Setting up Model Server ==== | ==== Setting up Model Server ==== | ||
Line 46: | Line 56: | ||
ns=ns, | ns=ns, | ||
appClass=ClassnameOfModel, | appClass=ClassnameOfModel, | ||
- | appName=' | + | appName=' |
jobManWorkDir=' | jobManWorkDir=' | ||
maxJobs=5 | maxJobs=5 | ||
).runServer() | ).runServer() | ||
</ | </ | ||
- | After this script is executed, the jobmanager can be obtained from the nameserver by its name 'Mupif.JobManager@model_name'. With the jobmanager we can remotely instantiate a new instance of our model class. For more information look at the https:// | + | After this script is executed, the jobmanager can be obtained from the nameserver by its name 'InstitutionName.ModelName'. With the jobmanager we can remotely instantiate a new instance of our model class. For more information look at the https:// |
==== Interaction with test jobmanager ==== | ==== Interaction with test jobmanager ==== | ||
- | An existing jobmanager " | + | An existing jobmanager " |
- | < | + | |
- | python3 ../runns.py | + | |
- | python3 server.py | + | |
- | python3 | + | |
- | </ | + | |
- | which interacts with the model accessible by the local jobmanager, | + | |
< | < | ||
MUPIF_NS=172.22.2.1: | MUPIF_NS=172.22.2.1: | ||
</ | </ | ||
It asks the given nameserver for the jobmanager named " | It asks the given nameserver for the jobmanager named " | ||
+ | |||
+ | ==== Getting help ==== | ||
+ | |||
+ | * The preferred way to get support from CVUT Team is to create a new ticket on GitHub (https:// |
musicode/start.1641863130.txt.gz · Last modified: 2022/01/11 02:05 by stanislavsulc