iota2.task_launcher

Task launcher module

Functions

main()

Main function to start task launcher from a terminal

set_working_dir_parameter(t_kwargs, ...)

Add working directory to given parameters

task_launcher(func_pkl)

function dedicated to undill function and its kwargs then launch it

iota2.task_launcher.main()[source]

Main function to start task launcher from a terminal

Return type:

int

iota2.task_launcher.set_working_dir_parameter(t_kwargs, worker_working_dir)[source]

Add working directory to given parameters

Return type:

dict

iota2.task_launcher.task_launcher(func_pkl)[source]

function dedicated to undill function and its kwargs then launch it

useful to travel through cluster

Parameters:
  • func_pkl (str) – path to a function serialized thanks to dill

  • func_kw_pkl – path to a dictionary serialized thanks to dill which represents function kwargs

Return type:

None