Skip to content

compiling with cdi-v2.3.0: integer size inconsistency  #352

Description

@theodore-andreadis

building ExtPar using the cdi-v2.3.0 I got the errors seen in the attached "err.log", all due to
"mo_extpar_output_nc.f90"
in short, I got two kind of errors:
*1st: "Error: Type mismatch in argument ‘nmiss_dummy’ at (1); passed INTEGER(8) to INTEGER(4)"
it seems it is caused because in cdi-v2.3.0, in "cdi.h" the CDI_SIZE_TYPE is typedef-ed as int and not as long, but
several calls at mo_extpar_out_nc.f90 pass a 0_i8
*2nd: "Error: Symbol ‘cdi_key_xdimname’ at (1) has no IMPLICIT type"
in cdi-v2.3.0 header files appear CDI_KEY_VDIMNAME and CDI_KEY_DIMNAME. Maybe a _vdim of _dim
should replace the _xdim constant?
attached:
err.log

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions