[Bug fortran/56744] [meta-bug] Namelist bugs

2024-04-09 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56744
Bug 56744 depends on bug 107068, which changed state.

Bug 107068 Summary: Run-time error when reading logical arrays with a namelist
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107068

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

[Bug fortran/56744] [meta-bug] Namelist bugs

2019-01-26 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56744

--- Comment #4 from Dominique d'Humieres  ---
What is the policy for meta-bugs with all entries marked as resolved? Should we
keep them as NEW or could we close them as FIXED?

[Bug fortran/56744] [meta-bug] Namelist bugs

2016-07-11 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56744

--- Comment #3 from Dominique d'Humieres  ---
> buoyancyFilename="buoyancy_example”

Shouldn't it be

buoyancyFilename="buoyancy_example"

?

Next time please open a new PR instead of highjacking a meta-bug.

[Bug fortran/56744] [meta-bug] Namelist bugs

2016-07-11 Thread Andres.G.Vidal at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56744

--- Comment #2 from Andres Vidal  ---
Just to add a correction. When using this file ibm.list:


! Adding buoyancy 
buoyancy=.true.
buoyancyFilename="buoyancy_example”

! Adding marine habitats 
polygon=.false.
polyFilename   ="poly10km.xyz"
settlementStart=22 !in days

! Adding probability matrix to move particle up and down 
ibio=.false.
ibioFilename="vert_matrix"
ibioTimeStep=43200  !in seconds

! Adding mortality rate 
mort=.true.
halflife=31104000   !days in seconds

! Adding different attributes to each particle 
diffpart=.false.
diffpartFilename="diffpart_matrix"

! Adding two ways  to move the particles up and down  
massSpawning=.false.
larvaStart  =7  !in days

! Adding tidal stream movement 
tidalmovement=.false.
tstStart =14 !in days

! Adding strata for 3D polygons
strata=.false.
strataFilename="strataFile"  !file with strata information

! Output interpolated temperature in netcdf file
outputtemp=.false.
outputsaln=.false.



The output is:
ortran runtime error: Invalid string input in item 2

Error termination. Backtrace:
#0  0x10b808729
#1  0x10b8093f5
#2  0x10b809b59
#3  0x10b8cb1dd
#4  0x10b8cb6a7
#5  0x10b8cda6e
#6  0x10b8d5525
#7  0x10b8d5748
#8  0x10b7fee46
#9  0x10b7fee7e

[Bug fortran/56744] [meta-bug] Namelist bugs

2016-07-11 Thread Andres.G.Vidal at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56744

Andres Vidal  changed:

   What|Removed |Added

 CC||Andres.G.Vidal at gmail dot com

--- Comment #1 from Andres Vidal  ---
I'm recoding a program in Fortran 2008 and I am getting the error "Fortran
runtime error: Invalid string input" when reading a namelist. Only the part
that produces the issue is shown.

Computer: Mac OS X El Capitan
fortran version: 6.1 (through GNU web page)
Compilation command: gfortran -std=f2008 -fall-intrinsics -pedantic -O3 -m64 \
-msse2 -mfpmath=sse+387 -Waliasing -Wampersand -Wconversion -Wsurprising \
-Wc-binding-type -Wintrinsics-std -Wno-tabs -Wintrinsic-shadow
-Wline-truncation \
-Wtarget-lifetime -Wreal-q-constant -Wunused bug_cms.f08 -o bug_cms

Program:
program bug_cms

use iso_fortran_env

implicit none

! ibm.list
character(200):: buoyancyFilename
logical   :: buoyancy

namelist /ibm/buoyancy, buoyancyFilename

open(10, file='ibm.list', form='formatted')
read(10, nml=ibm)

end program bug_cms


The file ibm.list is:


! Adding buoyancy 
buoyancy=.true.
buoyancyFilename="buoyancy_example”




Output:
At line 14 of file bug_cms.f08 (unit = 10, file = 'ibm.list')
Fortran runtime error: End of file

Error termination. Backtrace:
#0  0x10de69729
#1  0x10de6a3f5
#2  0x10de6ab59
#3  0x10df32f8b
#4  0x10df2e523
#5  0x10df36525
#6  0x10df36748
#7  0x10de5ee46
#8  0x10de5ee7e

Thanks a lot in advance for your help.

[Bug fortran/56744] [meta-bug] Namelist bugs

2016-02-27 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56744
Bug 56744 depends on bug 69456, which changed state.

Bug 69456 Summary: Namelist value with trailing sign is ignored without error
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69456

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

[Bug fortran/56744] [meta-bug] Namelist bugs

2015-04-21 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56744
Bug 56744 depends on bug 56743, which changed state.

Bug 56743 Summary: Namelist bug with comment and no blank
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56743

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED


[Bug fortran/56744] [meta-bug] Namelist bugs

2014-12-06 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56744
Bug 56744 depends on bug 56660, which changed state.

Bug 56660 Summary: Fails to read NAMELIST with certain form array syntax
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56660

   What|Removed |Added

 Status|WAITING |RESOLVED
 Resolution|--- |FIXED


[Bug fortran/56744] [meta-bug] Namelist bugs

2014-11-09 Thread jb at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56744
Bug 56744 depends on bug 47007, which changed state.

Bug 47007 Summary: Values from namelist file should not depend on locale 
settings
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47007

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED


[Bug fortran/56744] [meta-bug] Namelist bugs

2014-06-07 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56744
Bug 56744 depends on bug 55117, which changed state.

Bug 55117 Summary: Programs fails to read namelist (contains derived types 
objects)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55117

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED


[Bug fortran/56744] [meta-bug] Namelist bugs

2014-06-07 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56744
Bug 56744 depends on bug 52539, which changed state.

Bug 52539 Summary: I/O: Wrong result for UTF-8/UCS-4 list-directed and namelist 
read and nml write
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52539

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution|--- |FIXED


[Bug fortran/56744] [meta-bug] Namelist bugs

2014-04-27 Thread sch...@linux-m68k.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56744
Bug 56744 depends on bug 52539, which changed state.

Bug 52539 Summary: I/O: Wrong result for UTF-8/UCS-4 list-directed and namelist 
read and nml write
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52539

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|FIXED   |---


[Bug fortran/56744] [meta-bug] Namelist bugs

2013-03-29 Thread janus at gcc dot gnu.org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56744



janus at gcc dot gnu.org changed:



   What|Removed |Added



 Status|UNCONFIRMED |NEW

   Last reconfirmed||2013-03-29

 Ever Confirmed|0   |1