Andy Porter

Results 146 issues of Andy Porter

In #392, Sergi pointed out that doing `repr` of a matched block construct gave confusing information on the name. However, it turns out that this is already true of the...

![image](https://user-images.githubusercontent.com/17409212/226678940-324c252e-56d0-4e03-8d7d-b6cd74d39f50.png) ![image](https://user-images.githubusercontent.com/17409212/226679172-0068c379-26ca-474b-b376-37d9dc98b8f2.png)

Currently the `lookup` method of SymbolTable will raise a `KeyError` if a Symbol cannot be found (c.f. a Python dict). However, this leads to a lot of try..except blocks which...

enhancement
good first issue

In processing Socrates, @LonelyCat124 has been encountering source files that just contain program units (subroutines) without a module. At the minute, PSyclone does not create/populate a SymbolTable for a FileContainer...

PSyIR
discussion

![image](https://github.com/stfc/PSyclone/assets/17409212/49e941f5-3e49-4ace-9d7f-36c26076acd4) where ![image](https://github.com/stfc/PSyclone/assets/17409212/35e39116-c40f-4b4a-b400-573d053c6f83) This issue will allow `gang`, `worker` or `vector` to be specified when creating the directive.

in progress
LFRic

The form of expression for which `!$acc atomic` is valid depends upon the clause given: ![image](https://github.com/stfc/PSyclone/assets/17409212/530ad9b9-c963-4579-b95a-564bdd820797) This means that, for instance `x(i) = a` is only valid for an `atomic...

Code such as: use, intrinsic :: ieee_arithmetic, only: isnan => ieee_is_nan becomes use :: ieee_arithmetic, only isnan

bug
NEMO
NG-ARCH

Simon has reported: > If variables with identical names are declared in more than one > procedure of a module and at least one of them is an automatic array,...

enhancement
NEMO

Currently PSyAD will raise an error if it encounters a routine Call. Ideally, it would also create the adjoint of the target of the Call (assuming it can be found)....

adjoint