Parsl / parsl

Parsl - a Python parallel scripting library
http://parsl-project.org
Apache License 2.0
498 stars 195 forks source link

Monitoring reports pending tasks as running #1646

Open annawoodard opened 4 years ago

annawoodard commented 4 years ago
Screen Shot 2020-04-20 at 1 33 46 PM

Describe the bug If a task hasn't started yet, it should not be reported as running in the Gantt chart.

To Reproduce Run a test script with num tasks >> num workers. Observe that in the gantt chart, all tasks will appear as 'running'. See the attached image; in this case, there were only two workers and 25 tasks.

Expected behavior Tasks that haven't started yet should be reported as pending.

I think we just need to tweak this code here to report tasks as pending if task_time_running is None.

benclifford commented 4 years ago

I'm working on the gantt chart of part of the lsst parsl fork to accomodate a big change how tasks/attempts at executing task are represented in the database. I'll try to address this as part of that.