jcus0006 / mtdcovabm

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

Figure out a way to stop a Dask SSHCluster that would have been started programmatically #9

Closed jcus0006 closed 11 months ago

jcus0006 commented 11 months ago

Right now, we are making sure to close the cluster, at the end of the Python script, regardless of success or not. This makes it impossible to look at the dashboard (and logs) right after the run.

jcus0006 commented 11 months ago
  1. Open Terminal
  2. Find the Dask scheduler from the list (moving the cursor on the process gives the full process name)
  3. Take the Process ID
  4. Run this command: kill {{Process ID}}