Skip to content

Gnu MCT builds will fail starting in ctsm5.1.dev113 #1887

@billsacks

Description

@billsacks

Brief summary of bug

Starting in ctsm5.1.dev113, Gnu builds with the MCT driver are expected to fail. Since the MCT driver is deprecated, we do not plan to fix this issue.

General bug information

CTSM version you are using: ctsm5.1.dev113

Does this bug cause significantly incorrect results in the model's science? No

Configurations affected: Gnu builds with the MCT driver

Details of bug

The build fails when compiling clm_time_manager.F90 with errors like this:

/home/sacks/ctsm_code/ctsm/src/utils/clm_time_manager.F90:12:26:

   12 |    use ESMF        , only: operator(>), operator(<), operator(-)
      |                          1
Error: Intrinsic operator ‘>’ referenced at (1) not found in module ‘esmf’
/home/sacks/ctsm_code/ctsm/src/utils/clm_time_manager.F90:12:39:

   12 |    use ESMF        , only: operator(>), operator(<), operator(-)
      |                                       1
Error: Intrinsic operator ‘<’ referenced at (1) not found in module ‘esmf’
/home/sacks/ctsm_code/ctsm/src/utils/clm_time_manager.F90:11:53:

   11 |    use ESMF        , only: operator(==), operator(+), operator(<=), operator(>=)
      |                                                     1
Error: Intrinsic operator ‘<=’ referenced at (1) not found in module ‘esmf’
/home/sacks/ctsm_code/ctsm/src/utils/clm_time_manager.F90:11:67:

   11 |    use ESMF        , only: operator(==), operator(+), operator(<=), operator(>=)
      |                                                                   1
Error: Intrinsic operator ‘>=’ referenced at (1) not found in module ‘esmf’
/home/sacks/ctsm_code/ctsm/src/utils/clm_time_manager.F90:1715:12:

 1715 |     nstep = step_no
      |            1
Warning: Possible change of value in conversion from INTEGER(8) to INTEGER(4) at (1) [-Wconversion]
/home/sacks/ctsm_code/ctsm/src/utils/clm_time_manager.F90:785:16:

  785 |     get_nstep = step_no
      |                1
Warning: Possible change of value in conversion from INTEGER(8) to INTEGER(4) at (1) [-Wconversion]
/home/sacks/ctsm_code/ctsm/src/utils/clm_time_manager.F90:620:12:

  620 |     nstep = step_no
      |            1
Warning: Possible change of value in conversion from INTEGER(8) to INTEGER(4) at (1) [-Wconversion]
/home/sacks/ctsm_code/ctsm/src/utils/clm_time_manager.F90:279:9:

  279 |     if ( stop_date <= start_date ) then
      |         1
Error: Operands of comparison operator ‘<=’ at (1) are TYPE(esmf_time)/TYPE(esmf_time)
/home/sacks/ctsm_code/ctsm/src/utils/clm_time_manager.F90:287:9:

  287 |     if ( stop_date <= curr_date ) then
      |         1
Error: Operands of comparison operator ‘<=’ at (1) are TYPE(esmf_time)/TYPE(esmf_time)
/home/sacks/ctsm_code/ctsm/src/utils/clm_time_manager.F90:306:14:

  306 |     do while( curr_date > current )
      |              1
Error: Operands of comparison operator ‘>’ at (1) are TYPE(esmf_time)/TYPE(esmf_time)
gmake: *** [clm_time_manager.o] Error 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugsomething is working incorrectlyclosed: wontfixWe won't fix this issue, because it would be too difficult and/or isn't important enough to fix

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions