Skip to content

Single/double precision docs mismatch #120

@jefftyoder

Description

@jefftyoder

From the COSPv2.0 README:

Running the offline tests

Build the drivers.

Edit the files in model-interface/ if necessary. By default COSP is built using double-precision real variables and printing any error messages to the standard output.


However in cosp_kinds.F90 the working precision appears to be set to single:

MODULE cosp_kinds
  implicit none
  INTEGER, PARAMETER :: sp = SELECTED_REAL_KIND( 6, 37)
  INTEGER, PARAMETER :: dp = SELECTED_REAL_KIND(12,307)
      INTEGER, PARAMETER :: wp = sp

END MODULE cosp_kinds

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