jcus0006 / mtdcovabm

Distributed Covid 19 Agent Based Model modelled on Maltese data.
0 stars 0 forks source link

Use static working environment on all the workers #12

Open jcus0006 opened 1 year ago

jcus0006 commented 1 year ago

When using upload_file to upload all the required modules and JSON files to 2 worker nodes, it takes around 80 seconds. This is likely to increase proportional to the number of workers. This data is not dynamic, so the working environment can be pre-existing on each worker node. However, the workers need to know the Python interpreter location and the working directory.

I have tried multiple things to no avail. I have an open issue in Dask Discourse.