cupid-ide / cupid

Cupid IDE and Code Generation Tool for Earth System Models
Other
5 stars 6 forks source link

Wrong variable name generated for certain NUOPC specialization points #21

Closed rsdunlapiv closed 8 years ago

rsdunlapiv commented 9 years ago

When generating specialization points, the first parameter to:

call NUOPC_CompSpecialize(gcomp, specLabel=model_label_SetClock, &
        specRoutine=SetClock, rc=rc)

inside SetServices is not correctly being set to the actual GridComp variable defined in SetServices.

An example of the issue is in my home directory in yellowstone: /glade/u/home/dunlap/v7-AtmOcnProto-remote

rsdunlapiv commented 9 years ago

Fixed for NRL.