BSC-ES / autosubmit-gui

The Autosubmit Graphical User Interface (GUI) is the web-based Autosubmit frontend, allowing users to discover, monitor, and analyze experiments. It is based on ReactJS and relies on the Autosubmit API as the middleware to get experiment information.
MIT License
2 stars 0 forks source link

GUI for AutoSubmit v1 #30

Closed kinow closed 1 month ago

kinow commented 5 years ago

In GitLab by @dbeltran on Jan 3, 2019, 16:46

@mcastril

Hi there,

I am developing a GUI for autosubmit as you can see in autosubmit@3d4163eea9dc3aff5208b32ab541986d34ca9401.

It will be a separated executable which will be called autosubmit-GUI.

It will be a slow process because it is the first time that I develop any GUI application related, for now, I just committed a version (in an isolated branch) that looks awful but at least I made it work (except grouping/expand) with autosubmit create.

As related to the development strategy:

As for the libraries, for now, I am using PySide2(free for commercial use) <= 5.11 because I have trouble making it work with 5.12 due to having an old version of GCC (4.8).

Of course, all of this is open to discussion.

Edit 1: The code will be a bit mess up until I learn more PySide(QT) since I'm testing different approaches to archive what I want

offtopic: Git buttons for list, bold, etc does not work with chrome.

To do:

To do (Beta Priority):

Priority:

Architecture discussion on autosubmit#522 for future reference.

kinow commented 3 years ago

In GitLab by @mcastril on Jan 27, 2021, 15:17

What I meant in my last message was that I think something is wrong at the AS level. It is like AS set all job logs to the same time at some point (and curiously with today's date).

kinow commented 3 years ago

In GitLab by @mcastril on Jan 27, 2021, 15:24

I think this is a separate issue that should be treated separately. I opened autosubmit#649

kinow commented 3 years ago

In GitLab by @etourign on Jan 27, 2021, 15:57

sorry @mcastril I should have opened an issue myself. Thanks for your help all!

kinow commented 3 years ago

In GitLab by @etourign on Jan 27, 2021, 15:57

I will be working on a workaround extension for this feature that will look for the latest existing job log (.out or .err depending on the case), if the log listed in the pkl does not exists and the job has been finished.

I will post here when it is done.

that sounds like a great idea, thanks a lot!

kinow commented 3 years ago

In GitLab by @mcastril on Jan 27, 2021, 16:03

No worries @etourign .

I will be working on a workaround extension for this feature that will look for the latest existing job log (.out or .err depending on the case), if the log listed in the pkl does not exists and the job has been finished.

Would this mean that you cannot see logs from a previous experiment iteration? I understand if it's not possible in case we are not saving this information in the database.

kinow commented 3 years ago

In GitLab by @wuruchi on Jan 27, 2021, 16:49

Would this mean that you cannot see logs from a previous experiment iteration? I understand if it's not possible in case we are not saving this information in the database.

Currently, the out and err log names are not stored in the job historical database. Do you think we should do it?

kinow commented 3 years ago

In GitLab by @mcastril on Jan 27, 2021, 17:09

Do you think that it would entail a lot of overhead?

Given that we already store and show historical job information, I think it would be really powerful to associate logs with step iterations.

Many times jobs succeed after a retrial, so I think we can make good use of this information.

kinow commented 3 years ago

In GitLab by @wuruchi on Jan 27, 2021, 18:43

Hello @mcastril

I had seen the need to add some fields (e.g. MaxRSS and AveRSS) but I was waiting until we finish more important issues. I will include these 2 (out and err) new fields in the upcoming changes.

kinow commented 3 years ago

In GitLab by @wuruchi on Jan 28, 2021, 13:36

Hello @etourign @mcastril

The out and err fix has been implemented in Autosubmit GUI. Please examine if the logs correspond to the latest run of the job.

kinow commented 3 years ago

In GitLab by @etourign on Jan 28, 2021, 13:42

seems to work for a3e8, thanks a lot! Will let you know if I run into other issues.

I guess Showing last 150 lines. is to make sure that long logs are not transferred? I think it is reasonable, but with time we might find we need a few more lines.

kinow commented 3 years ago

In GitLab by @mcastril on Jan 28, 2021, 17:12

Thanks @wuruchi !

I guess Showing last 150 lines. is to make sure that long logs are not transferred? I think it is reasonable, but with time we might find we need a few more lines.

I think it's enough for 90% of the cases. Otherwise we always can look the real files, but no need to add more load if it's not generalised. Anyway we will look with time.

@etourign, @dbeltran is still fixing the pkl issue so it should stop happening in the future once the fix is applied. @wuruchi's fix tries to be resilient against "bad pkls".

kinow commented 3 years ago

In GitLab by @wuruchi on Mar 3, 2021, 15:27

marked the checklist item In the description panel (right box): Show the list of currently waiting jobs. as completed

kinow commented 3 years ago

In GitLab by @wuruchi on Apr 12, 2021, 12:24

marked the checklist item Gather information about the statistics fields in the result and display that information in the statistics tab. as completed

kinow commented 3 years ago

In GitLab by @wuruchi on Apr 12, 2021, 12:26

I am marking

Gather information about the statistics fields in the result and display that information in the statistics tab.

As completed, since the implementation of the historical database, and the recently implemented summary view provide related information that we can expand.

kinow commented 3 years ago

In GitLab by @wuruchi on Apr 12, 2021, 12:28

To do (Beta):

  • [ X ] Try adding an authentication method.
  • [ X ] Add contextual actions in the nodes that allow the user to see the log of the node, change status, re-run job or change platform.

I think we can try these in the next iteration of Autosubmit GUI.

kinow commented 5 years ago

In GitLab by @mcastril on Jan 3, 2019, 16:46

moved from autosubmit#363