stfc / PSyclone

Domain-specific compiler and code transformation system for Finite Difference/Volume/Element Earth-system models in Fortran
BSD 3-Clause "New" or "Revised" License
102 stars 27 forks source link

algorithm parsing for invoke kernel arguments fails for "- 1.0_r_def" #332

Closed rupertford closed 5 years ago

rupertford commented 5 years ago

As reported by @teranivy, the algorithm parsing fails with LFRic code with the following ...

Unsupported argument structure '<class 'fparser.two.Fortran2003.Level_2_Unary_Expr'>', value '- 1.0_r_def', kernel 'inc_aX_plus_Y(- 1.0_r_def, rhs_np1(igh_u), rhs_n(igh_u))'

rupertford commented 5 years ago

Created branch 332_parse_error

arporter commented 5 years ago

333 has been merged so closing issue.