Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add ptasks in the Python bindings
authorTom Cornebize <tom.cornebize@intel.com>
Wed, 29 Jun 2022 13:24:48 +0000 (15:24 +0200)
committerTom Cornebize <tom.cornebize@intel.com>
Wed, 29 Jun 2022 14:18:02 +0000 (16:18 +0200)
commit8c01c8aba411cd352d403591a2c11284d424867d
tree703b6973da08ce37ca748887f7abb7433bff533e
parent58d501820579989d9072d04845b09b0c2d21d05e
Add ptasks in the Python bindings

- This adds several functions in the Python bindings used for manipulating
  ptasks, such as parallel_execute or exec_init.
- This also adds the Engine.set_config function, needed for changing the
  configuration to 'host/model:ptask_L07' in the script.
- Finally, an exec-ptask.py example is added, exact translation of the
  C++ example s4u-exec-ptask.cpp.
ChangeLog
examples/python/exec-ptask/exec-ptask.py [new file with mode: 0644]
examples/python/exec-ptask/exec-ptask.tesh [new file with mode: 0644]
src/bindings/python/simgrid_python.cpp