-
Notifications
You must be signed in to change notification settings - Fork 332
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 support for passing integer(8) values to mpas_log_write. #1261
base: develop
Are you sure you want to change the base?
Conversation
@jim-p-w Can you add more detail to the commit message? |
…log_write. The string $j is used to identify integer(kind=I8KIND) values.
@mgduda Just for my understanding, would a core infrastructure addition like this require an addition to the unit tests also? |
@jim-p-w Probably a basic question, but I'm trying this code snippet out in your branch,
and I get this as output. Do I need to set some kind of formatting width here, or am I doing something else wrong perhaps?
|
@abishekg7 I changed the placeholder string to |
@abishekg7 @mgduda It wasn't clear to me how to create a unit test for |
Yeah, I also don't see any specific tests for Otherwise, the PR looks good. I've tested with NVHPC GPU and CPU versions so far. |
This PR allows callers of mpas_log_write to provide values of type integer(8).
The placeholder specification is $w for integer(8) values, as opposed to $i for integer values.
I ran a test where I interspersed integer and integer(8) values, e.g.