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

Require variable dimensions in argument list? #19

Open
cacraigucar opened this issue Aug 9, 2019 · 0 comments
Open

Require variable dimensions in argument list? #19

cacraigucar opened this issue Aug 9, 2019 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@cacraigucar
Copy link
Collaborator

This issue has bitten me again and probably will be fixed in this repo (and may get lost in the NCAR repo issues) which is why I'm duplicating it here. I was doing code cleanup, and removed a dimension which was in the calling list of a routine, but not being used in it internally. It turns out that this variable was the one I put in to workaround this issue.

The standard name of the variable in question is "variable_layer_dimension". This is assigned a value in the host model and resides as a host level module data field and is known as nlayer. When I have a array which does not exist at the host model level, but only at the scheme level the allocate for the array inside ccpp_MusicBox_suite_cap.F90 says
allocate(dto2(1:nlayer,1:tuv_n_wavelen)). The error is that "symbol nlayer has no IMPLICIT type"

[NCAR/ccpp-framework] Require variable dimensions in argument list? (NCAR#197)

@cacraigucar cacraigucar added the bug Something isn't working label Aug 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants