Joe Wallwork

Results 45 issues of Joe Wallwork

Related to #152. Required for #111.

enhancement
autograd

This PR includes various tweaks in preparation for giving a GPU demo: * Provides templates for switching to GPU across the examples. * Fixes some Python imports in example 3....

> these tests will most likely fail with the intel compiler and possibly different version of `gfortran`. The default output is > quite different for both. We should think of...

bug
hackathon

Closes #142. As part of this PR, we introduce a module for test utils, e.g., printing test results and making assertions.

testing

### Name and Institution (Required) Name: Joe Wallwork Institution: University of Cambridge ### Describe the update I noticed that arrays in `GeosUtil/pressure_mod.F90` have `IF (ALLOCATED(...))` guards before they are deallocated...

Partially addresses #2717. This PR merges one of two functions from the `types` module of [PSyACC](https://github.com/MetOffice/psyacc) into PSyclone.

reviewed with actions
NG-ARCH

Partially addresses #2717. This PR merges functions from the `loop` module of [PSyACC](https://github.com/MetOffice/psyacc) into PSyclone.

NG-ARCH

The https://github.com/MetOffice/psyacc repository provides tools for automating OpenACC GPU porting efforts using PSyclone. This library was developed as part of UKCA GPU porting efforts. Rather than having a separate repository,...

enhancement
NG-ARCH

> It _should_ be relatively straightforward to extend the frontend to handle OpenACC directives. In fact, a first step would be simply to put such directives into CodeBlocks. _Originally posted...

enhancement
NG-ARCH

Closes #370. It turns out I was wrong in #364. Some simple Python experimentation shows that we *should* be carrying `requires_grad` over through expressions. ``` >>> a = torch.Tensor([1]) >>>...

bug
autograd