NexGenAnalytics / WorkVisualizer

High-level, interactive, visual performance analysis for High-Performance Computing (HPC)
https://www.workvisualizer.com/
Other
3 stars 0 forks source link

#9: Allow upload of multiple `.cali` files at once #17

Closed cwschilly closed 5 months ago

cwschilly commented 5 months ago

Fixes #9 Fixes #18

cwschilly commented 5 months ago

@pierrepebay There's a weird caching thing going on here that I can't figure out...

Steps to Reproduce

  1. Open the web app
  2. Upload a single cali file (e.g. md_0r_100s.cali)
  3. Check files/unique_events.json
    • You'll see a rank_info field on every event that holds information for the counts and durations of calls on rank 0
  4. Upload a different cali file (e.g. md_2r_100s.cali)
  5. Check files/unique_events.json
    • You'll see both rank 0 and rank 2 in the rank_info field (we expect that there would only be rank 2)

I've confirmed that we wipe out the files directory every time there is an upload, so this unique_events.json is being wiped and regenerated. I can't figure out how the previous rank's information is getting passed through.

Any idea how to fix this problem?