User Tools

Site Tools


musicode:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
musicode:start [2022/03/07 15:41] – [Changelog of Important MuPIF updates (in chronological order)] stanislavsulcmusicode:start [2022/05/18 14:45] – [Changelog of Important MuPIF updates (in chronological order)] stanislavsulc
Line 24: Line 24:
  
 ==== Changelog of Important MuPIF updates (in chronological order) === ==== Changelog of Important MuPIF updates (in chronological order) ===
 +
 +1. 1. 2022
   * Instead of PropertyID, FieldID, ParticleSetID, MiscID use only DataID, which contains all enum members   * Instead of PropertyID, FieldID, ParticleSetID, MiscID use only DataID, which contains all enum members
   * meatadata Inputs contain key "Set_at": {"type": "string", "enum": ["initialization", "timestep"]}, which defines whether it should be set before each timestep or only once at the initialization.   * meatadata Inputs contain key "Set_at": {"type": "string", "enum": ["initialization", "timestep"]}, which defines whether it should be set before each timestep or only once at the initialization.
   * In initialize() function the argument "file" was removed. New methodology of setting input file using set() function and mupif.PyroFile, see https://github.com/mupif/mupif/blob/Musicode/examples/Example07-stacTM-JobMan-distrib/Example07.py.   * In initialize() function the argument "file" was removed. New methodology of setting input file using set() function and mupif.PyroFile, see https://github.com/mupif/mupif/blob/Musicode/examples/Example07-stacTM-JobMan-distrib/Example07.py.
   * Only generalized set() and get() functions can be used. Functions setProperty, getProperty, setField, getField, etc. are no longer supported.   * Only generalized set() and get() functions can be used. Functions setProperty, getProperty, setField, getField, etc. are no longer supported.
 +
 +9. 2. 2022
   * Obj_ID in Inputs/Outputs metadata must be of type string.   * Obj_ID in Inputs/Outputs metadata must be of type string.
   * For Type mupif.Property in Inputs/Outputs metadata the "ValueType" must be specified. Choose from following values: ["Scalar", "Vector", "Tensor"]   * For Type mupif.Property in Inputs/Outputs metadata the "ValueType" must be specified. Choose from following values: ["Scalar", "Vector", "Tensor"]
 +
 +18. 5. 2022
 +  * The workflow metadata contain item "Models" to describe the instantiation of the contained models. (jobmanager name for remote model and module name with class name for local model) See MuPIF examples. The models are instantiated automatically by the workflow, so there is no need to implement it in the initialize method.
 +  * The default value of metadata argument in the initialize function was changed to None.
  
 ==== Setting up Model Server ==== ==== Setting up Model Server ====
musicode/start.txt · Last modified: 2023/12/07 02:06 by stanislavsulc