Skip to content

land_null errors out with nvidia compiler nvhpc/22.7 on c5 character buffer is too small; increase length: netcdf_read_data_0d: file:INPUT/grid_spec.nc- variable:lnd_mosaic #1326

@nikizadehgfdl

Description

@nikizadehgfdl

Describe the bug
Regression test fails with the latest nvidia compiler on c5 :

FATAL from PE 7: character buffer is too small; increase length: netcdf_read_data_0d: file:INPUT/grid_spec.nc- variable:lnd_mosaic

This is under FMS2023.02 release. In previous releases I could bypass the error by reverting land_null to pre-mosaic2 version. But older tags of land_null do not compile with FMS2023.02

To Reproduce
frerun -s -r basic -u --no-transfer -x /ncrc/home2/Niki.Zadeh/frerts/fre/FMS2023.02_mom6_20230828/_0/OM4_extra.xml.20230810143846 -p ncrc5.pgi227 -t prod MOM6_GOLD_SIS2_generics

Expected behavior
Not to crash.

System Environment
ncrc5 nvhpc22.7

Additional context
None of the regression tests that use land_null run any more with nvidia compiler.

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