Skip to content

slurm monitor - #21

Open
MayssaRouissi wants to merge 11 commits into
virtual-imaging-platform:developfrom
MayssaRouissi:main
Open

MayssaRouissi wants to merge 11 commits into
virtual-imaging-platform:developfrom
MayssaRouissi:main

Conversation

@MayssaRouissi

Copy link
Copy Markdown

No description provided.

@axlbonnet axlbonnet left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

First review.
I would like the slurm command to be integrated in a similar way as the existing slurm commands.

@axlbonnet axlbonnet left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Much better, the remote commands seem good.
Still stuff to improve :)

@axlbonnet

Copy link
Copy Markdown
Contributor

Also your current branch is main, it seems not normal.

map.put("memoryUsagePct", computeMemPct(fields[4], fields[5]));
map.put("startTime", fields[6].replace("T", " "));
map.put("endTime", fields[7].replace("T", " "));
map.put("elapsedTime", normalizeElapsed(fields[8]));

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did not look yet what you begun to do in the parent GASW project.
The idea is to make the metrics information a common thing in gasw, and not specific to gasw-batch.
Especially:

  • the metrics name will be an enum in the gasw project
  • all the metrics will be saved in the Job table in the database (with the job dao in gasw)
  • i think gasw will ask the metrics to the plugin, which will return the Map (if possible), and gasw will save them in database.

If it's already done, i will review it, otherwise tell me when it's ready.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants