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 new errmsg length constant to ccpp_kinds #466

Open
peverwhee opened this issue Mar 24, 2023 · 0 comments
Open

Add new errmsg length constant to ccpp_kinds #466

peverwhee opened this issue Mar 24, 2023 · 0 comments

Comments

@peverwhee
Copy link
Collaborator

Description

In CAMDEN, we are currently using a parameter set to 512 to set the length of errmsg. We'd like to avoid having these parallel values of 512 (our parameter and the hard-coded error message length in the framework).

Solution

Add a CCPP-specific errmsg length to ccpp_kinds that could be used by host models and schemes.

Alternatives (optional)

In prebuild, error message length is set by the errmsg variable in the ccpp_t DDT in ccpp_types.F90. Since capgen doesn't use this module, we'd prefer to add the new error message length to ccpp_kinds

Related to (optional)

See discussion here (though it's summarized above): ESCOMP/CAM-SIMA#216

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant