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.
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_invwhich 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.