Skip to content

A few failing nvhpc compiler tests in cmeps1.1.48 #663

@ekluzek

Description

@ekluzek

I found this in CTSM in working on submodules updates on b4b-dev that ultimately became ctsm5.4.044. I've just verified the same tests I had trouble with there fail in cesm3_0_alpha09c.

The three nvhpc tests for aux_clm in CTSM fail at buildtime:

SMS.f10_f10_mg37.I2000Clm50BgcCrop.derecho_nvhpc.clm-crop       ( MODEL_BUILD)
SMS.f45_f45_mg37.I2000Clm60FatesSpRsGs.derecho_nvhpc.clm-FatesColdSatPhen       ( MODEL_BUILD)
SMS_D.f10_f10_mg37.I2000Clm60BgcCrop.derecho_nvhpc.clm-crop     ( MODEL_BUILD)

The build log for cesm.log has this:

NVFORTRAN-S-0084-Illegal use of symbol chkerr - not public entity of module (/glade/derecho/scratch/erik/cesm_alpha/components/cmeps/cime_config/../mediator/esmFldsExchange_cesm_mod.F90: 124)
NVFORTRAN-S-0038-Symbol, chkerr, has not been explicitly declared (/glade/derecho/scratch/erik/cesm_alpha/components/cmeps/cime_config/../mediator/esmFldsExchange_cesm_mod.F90) 
  0 inform,   0 warnings,   2 severes, 0 fatal for esmfldsexchange_cesm

The line referred to is the last in this in mediator/esmFldsExchange_cesm_mod.F90:

  subroutine esmFldsExchange_cesm(gcomp, phase, rc)

    use ESMF
    use NUOPC
    use med_kind_mod          , only : CX=>SHR_KIND_CX, CS=>SHR_KIND_CS, CL=>SHR_KIND_CL, R8=>SHR_KIND_R8
    use med_utils_mod         , only : chkerr => med_utils_chkerr

It is declared public in med_utils_mod as follows...

  public :: med_utils_ChkErr

so I don't see the problem. Unless the nvhpc compiler has an incorrect sensativity to case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions