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

Adding the max_wallclock_seconds setting #743

Merged
merged 8 commits into from
May 24, 2024

Conversation

mikibonacci
Copy link
Member

@mikibonacci mikibonacci commented May 23, 2024

Addressing #709

I have to fix the layout, but in the meanwhile useful to see if there is some major issue.

Copy link
Member

@superstar54 superstar54 left a comment

Choose a reason for hiding this comment

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

Thanks for the feature!
LGTM!

@superstar54
Copy link
Member

@mikibonacci please fix the failed tests.

@AndresOrtegaGuerrero
Copy link
Member

@mikibonacci i think you are also trying to upload the export folder

@AndresOrtegaGuerrero
Copy link
Member

@mikibonacci is it possible to add a test for this option?

@mikibonacci
Copy link
Member Author

Sure, I will add a test.
About the export folder, I will check what is happening, I am not sure

value=3600 * 12,
step=3600,
min=1800,
max=3600 * 24 * 10,

Choose a reason for hiding this comment

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

This could bring problems depending on the computer , for example piz daint has a limit of 24 hours max.

Choose a reason for hiding this comment

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

The logic should somehow consider the restrictions of the computer (it they are present) , or there should be a help text saying the user to set the walltime depending on the restrictions of the computer you have selected

Copy link
Member Author

Choose a reason for hiding this comment

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

I added a sentence, and set as max time 24h (10 days was indeed a bit too much).

mikibonacci and others added 2 commits May 23, 2024 19:46
Adding a sentence which tells the user to carefully set the advance code resources (included the time)

`test_qeapp_computational_resources_widget` test function adapted to work with the new wallclock setting.

Removed the export folder.
@mikibonacci
Copy link
Member Author

@AndresOrtegaGuerrero, I am not sure we need a test for this setting? I adapted the test_qeapp_computational_resources_widget function to include also the test for the time. Do you have suggestion on specific tests?

@AndresOrtegaGuerrero
Copy link
Member

@AndresOrtegaGuerrero, I am not sure we need a test for this setting? I adapted the test_qeapp_computational_resources_widget function to include also the test for the time. Do you have suggestion on specific tests?

Maybe a for the builder , just to confirm that the builder is indeed generating the walltime change

@mikibonacci
Copy link
Member Author

@AndresOrtegaGuerrero my last commit should be the one to put also the check for the builder.
If it is enough for you, I would like to merge

Copy link
Member

@AndresOrtegaGuerrero AndresOrtegaGuerrero left a comment

Choose a reason for hiding this comment

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

LGTM!

@mikibonacci mikibonacci merged commit e33f6e8 into aiidalab:main May 24, 2024
14 checks passed
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.

3 participants