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

Add ability to call ecTrans with two "call modes" in benchmark #122

Open
wants to merge 10 commits into
base: develop
Choose a base branch
from

Conversation

samhatfield
Copy link
Collaborator

INV_TRANS and DIR_TRANS support two ways of passing arrays:

  1. PSPVOR, PSPDIV, PSPSCALAR <=> PGP
  2. PSPVOR, PSPDIV <=> PGPUV; PSPSC3A <=> PGP3A; PSPSC2 <=> PGP2

Previously we only supported the second one. With this commit you can now also call the first style. In the IFS we use both cases in different places so it's important to have both cases covered.

We can now extend the test suite so more of the code has coverage.

I am still trying to figure out how scalar fields are packed, hence this branch gives erroneous norms for scalar fields. I will continue working on this.

@samhatfield samhatfield changed the title Add ability to call ecTrans with two "call modes" Add ability to call ecTrans with two "call modes" in benchmark Jul 19, 2024
@samhatfield samhatfield added the enhancement New feature or request label Aug 12, 2024
@samhatfield samhatfield force-pushed the samhatfield/refactor_benchmark_driver branch from 74ea10a to b4fa742 Compare September 11, 2024 08:25
@samhatfield samhatfield marked this pull request as ready for review September 11, 2024 15:00
@samhatfield
Copy link
Collaborator Author

Finally ready for review, when you're ready @marsdeno @wdeconinck.

@samhatfield samhatfield force-pushed the samhatfield/refactor_benchmark_driver branch from 7433c65 to 2b57504 Compare September 30, 2024 14:20
@antoine-morvan
Copy link

Hello, any update regarding this ? it is still blocking HPCW release.

@samhatfield
Copy link
Collaborator Author

Hi @antoine-morvan - I'm afraid we just have to be patient with this. This PR is not considered important on our side, and the colleagues responsible for the review are not connected to the HPCW project. Hence we cannot ask them to prioritise this work. I think there is a way to make the first HPCW release even before this PR is merged -> I'll make a comment on the DKRZ Gitlab issue.

@samhatfield samhatfield force-pushed the samhatfield/refactor_benchmark_driver branch from 8f4e8a7 to 24702d0 Compare October 18, 2024 09:47
INV_TRANS and DIR_TRANS support two ways of passing arrays:
1) PSPVOR, PSPDIV, PSPSCALAR <=> PGP
2) PSPVOR, PSPDIV <=> PGPUV; PSPSC3A <=> PGP3A; PSPSC2 <=> PGP2

Previously we only supported the second one. With this commit you can
now also call the first style. In the IFS we use both cases in different
places so it's important to have both cases covered.

We can now extend the test suite so more of the code has coverage.

In this commit I also tidied up a few things:
- All spectral and grid point work arrays are separately allocated,
  rather than relying on big work arrays to store everything and
  pointers to access slices.
- I deleted a couple unused variables.
This needs to be investigated.
@samhatfield samhatfield force-pushed the samhatfield/refactor_benchmark_driver branch from 24702d0 to a309b68 Compare November 18, 2024 15:36
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

Successfully merging this pull request may close these issues.

2 participants