small bug in GYRE 5.0

Bug/problem reports for any of the GYRE executables (gyre_ad, gyre_nad, etc)
Post Reply
Mathias
Posts: 10
Joined: Mon Nov 28, 2016 12:39 pm

small bug in GYRE 5.0

Post by Mathias » Mon Nov 28, 2016 2:55 pm

Dear Rich

While digging around in GYRE 5.0, I noticed a bug in "gyre/src/build/gyre_grid_par.f90".
In line 100, the namelist contains two times "x_i", but doesn't contain "x_o".

Best regards
Mathias

User avatar
rhtownsend
Site Admin
Posts: 397
Joined: Sun Mar 31, 2013 4:22 pm

Re: small bug in GYRE 5.0

Post by rhtownsend » Mon Nov 28, 2016 3:16 pm

Mathias wrote:Dear Rich

While digging around in GYRE 5.0, I noticed a bug in "gyre/src/build/gyre_grid_par.f90".
In line 100, the namelist contains two times "x_i", but doesn't contain "x_o".

Best regards
Mathias
Well spotted -- I'll fix in the full release (which may be delayed a little; I've decided to switch over to a proper documentation format, as the Bitbucket Wiki is just not flexible enough).

cheers,

Rich

ehsan
Posts: 88
Joined: Sun Jun 16, 2013 11:31 am

Re: small bug in GYRE 5.0

Post by ehsan » Sun Dec 11, 2016 6:54 am

Great catch Mathias.
Then, my question to Rich is: How come the compiler does not catch this? I guess it is not allowed that one variable be defined more than once within the scope of the same module/subroutine.
Or I might be wrong.

Regards,
Ehsan.

User avatar
rhtownsend
Site Admin
Posts: 397
Joined: Sun Mar 31, 2013 4:22 pm

Re: small bug in GYRE 5.0

Post by rhtownsend » Mon Dec 12, 2016 8:13 am

ehsan wrote:Great catch Mathias.
Then, my question to Rich is: How come the compiler does not catch this? I guess it is not allowed that one variable be defined more than once within the scope of the same module/subroutine.
Or I might be wrong.

Regards,
Ehsan.
I think a variable can be listed multiple times in a namelist declaration.

cheers,

Rich

Post Reply