Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

command line tool to generate report based on job statistics #18

Open
foreveremain opened this issue Jan 26, 2022 · 6 comments
Open

command line tool to generate report based on job statistics #18

foreveremain opened this issue Jan 26, 2022 · 6 comments
Assignees
Labels
enhancement New feature or request

Comments

@foreveremain
Copy link

It would be great to be able to plug data into a command line tool that provides the same report as the web tool.

Is that possible ?

@sashavor
Copy link

sashavor commented Feb 4, 2022

I have a similar question! I am trying to extract the relevant parts of app.py to calculate the statistics I need, but it's not working (and taking a lot of manual work)

@Llannelongue Llannelongue self-assigned this Feb 7, 2022
@Llannelongue
Copy link
Collaborator

Hey, just confirming what you are trying to do: you would like to send requests to the website from the command line to do the calculations? Or are you looking at something local, where the data is loaded on your disk and everything happens locally?

@sashavor
Copy link

sashavor commented Feb 7, 2022 via email

@Llannelongue Llannelongue added the enhancement New feature or request label Feb 7, 2022
@Llannelongue
Copy link
Collaborator

Indeed, local is simpler. This is a good idea, and I'll try to add the code for that here.

But if you want it now, you can give a look to this project I've been working on. In particular this file. The code is doing more than what you need, but if you replace the part about SLURM query by a simple input, it should do the job nicely?

@foreveremain
Copy link
Author

foreveremain commented Feb 8, 2022 via email

@Nanoseb
Copy link

Nanoseb commented Feb 11, 2022

Hi @Llannelongue,
That's great, I did not realise such project existed so I implemented my own a couple of months ago: https://github.com/Nanoseb/gqueue
Once I have some time I will try to contribute to GreenAlgorithms4HPC.
Cheers and thanks for your work on this topic, it has been a real eye opener for me.

EDIT:
btw, shouldn't this repo be moved under the "GreenAlgorithms" team? as it will get more attraction and be a lot easier to find.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants