Skip to content

Require variable dimensions in argument list? #19

@cacraigucar

Description

@cacraigucar

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)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions