Comments (4)
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.
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.
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.
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)
- Update the data_table yaml format
- Modern diag manager: Wrong time and time_bnds when only writing 1 time dimension
- Modern diag_manger: Crashes if freq is 0 days and you have static fields
- Diag manager: Allow scalar static variables
- FMS does not appear to compile with GFortran 14.1 HOT 3
- Modern diag_manager:: diag_send_complete_instant has not been implemented HOT 2
- Build Error with GNU + fms_r8 + Debug Flags HOT 1
- Issue with horiz_interp
- Data_override:: Issue with reading the grid file in data_override when using 0:180:-180:0 grids HOT 3
- Modern diag_manager:: Static files don't end up with the corrent prepend date HOT 1
- Modern diag manager :: Simplify the diag table yaml format
- horiz_interp_type_eq does not work with gnu
- Add support for shared library creation
- parser hangs if using an invalid yaml
- remove path length parameter from field_manager
- Add ability to input different forcing files for each ensemble member in ensemble manager
- Yaml parser:: Have one core read the yaml file
- Make define_blocks warning a note HOT 1
- autotools option to compile with PORTABLE_KINDS
- Configurable Diag_table Output Frequency Across Multiple Grids HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fms.