Opened 4 years ago
Last modified 3 years ago
#2394 closed Defect
error when reading namelists — at Version 6
Reported by: | andmirek | Owned by: | systeam |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | TOP | Version: | trunk |
Severity: | major | Keywords: | |
Cc: |
Description (last modified by andmirek)
Context
New way of reading namelists doesn't work with newer CRAY compilers (cce/8.7.7, cce/8.7.11). When trying to run sette, NEMO executable produces errors of the type:
misspelled variable in namelist namcfg in reference namelist iostat =
and fails.
Analysis
Recommendation
Should we have an option to use the old method to read namelits protected by cpp directive?
Commit History (0)
(No commits)
Change History (6)
comment:1 Changed 4 years ago by acc
comment:2 Changed 4 years ago by acc
Are you sure it is the internal file reading that is in error? Seems unlikely since the error you report is in the namelist_cfg which means the namelist_ref has already been read?
comment:3 Changed 4 years ago by andmirek
I've just noticed I had changes in the branch I was using. I'm trying now branch without changes.
comment:4 Changed 4 years ago by andmirek
For the branch without my changes the errors (misspelled variable) are for namctl for both reference and configuration namelist, and nammpp for configuration namelist. Exactly the same code runs fine with an older compiler version (8.3.4).
I'll try sette for the latest trunk now and will do the same for revision before changing the way namelists are read.
comment:5 Changed 4 years ago by andmirek
trunk@12367 - no problems with reading namelists with 8.7.7. Still sette failed, but with NaNs? (completed OK with compiler version 8.3.4). I wasn't sure which revision of sette to use, so adopted the latest revision by changing namelists parameters. The test I was looking at was ORCA2_ICE_PISCES.
comment:6 Changed 4 years ago by andmirek
- Description modified (diff)
After changing to the old version of reading namelists (for namctl and namcfg only) namctl and namcfg we read correctly. So it looks new(er) CRAY compilers do not handle new method of reading namelists correctly.
Are you sure it is the internal file reading that is in error? Seems unlikely since the error you report is in the namelist_cfg which means the namelist_ref has already been read?