Skip to content

[PSyAd] [LFRic] transpose intrinsic not correctly handled in sympy writer/reader. #3474

Description

@DrTVockerodtMO

In MetOffice/lfric_apps#545 we found a failing adjoint test, where in our current software stack it properly features the line

jac_inv_transpose(:,:) = TRANSPOSE(jac_inv)

which is a direct copy from the forward. However, when running PSyAd using PSyclone 3.3 we found that the line is replaced with

jac_inv_transpose(:,:) = jac_inv

which is not expected. These matrices are passive variables so PSyAd ought to replicate them properly. This was already after the forward code was patched to include this line-by-line.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions