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

Introduce V-W set specification as command line arguments in benchmark #18

Merged
merged 3 commits into from
Dec 20, 2022

Conversation

samhatfield
Copy link
Collaborator

I had a case at TCO7999 where the default behaviour of setting NPRTRV and NPRTRW didn't work. In this case it's useful to override this behaviour and force the parameters yourself, so I've added them as command line arguments. You can provide just one of the two, in which case the existing logic will determine the other by dividing NPROC by the provided value. It will also make sure the product of the two equals NPROC.

I've also included a commit which moves all default option values from get_command_line_arguments to the top of the program, for consistency,

It's better to see the default values for the various parameters at the
top of the program rather than in the command line parsing subroutine.
@samhatfield samhatfield changed the title Introduce V-W set specification as command line arguments Introduce V-W set specification as command line arguments in benchmark Dec 20, 2022
Copy link
Collaborator

@wdeconinck wdeconinck left a comment

Choose a reason for hiding this comment

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

Looks great!

@wdeconinck wdeconinck merged commit 12cb267 into ecmwf-ifs:develop Dec 20, 2022
@samhatfield samhatfield deleted the develop branch January 11, 2023 16:19
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