Giter Club home page Giter Club logo

Comments (4)

thomas-robinson avatar thomas-robinson commented on August 21, 2024 1

We discussed this issue yesterday and we are looking at some sort of parameter integer value of 1024. We are looking at where to put it also because it needs to be fairly low-level. Is 1024 sufficiently long enough?

We have a release scheduled for a few weeks (mid august), so hopefully there is a relatively quick turn around.

from fms.

mathomp4 avatar mathomp4 commented on August 21, 2024 1

I believe in MAPL we still have a few places using ESMF_MAXPATHLEN so 1024 might be good.

More recent work in MAPL has moved us to use allocatable strings:

character(len=:), allocatable

which sort of make all this less necessary anymore. But that would a pretty big rewrite. 😄 (I'm also not sure if that last nvfortran caveat is necessary anymore...I should test that.)

from fms.

mathomp4 avatar mathomp4 commented on August 21, 2024

The code I saw was this in mpp_util.inc:

    character(len=128) :: filename
...
    filename='input_'//trim(pelist_name)//'.nml'
    inquire(FILE=filename, EXIST=file_exist)
    if (.not. file_exist ) then
       if (present(alt_input_nml_path)) then
          filename = alt_input_nml_path
       else
          filename = 'input.nml'
       end if
    endif

where even if alt_input_nml_path is passed in and is 500 chars long, it'll be truncated to 128 by filename.

from fms.

Dooruk avatar Dooruk commented on August 21, 2024

After testing with the new FMS/2023.04 version in JEDI after recent updates, this is still an issue. We would really appreciate a solution as this is impacting our CI tests.

I guess the latest update regarding this was the following?

From the 2023.02 Changelog:

  • MPP: Added workaround for GCC 12 issues causing errors with string lengths in fms2_io

from fms.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.