That's why you should really try to avoid hardcoded paths. All of these ESMF_ variables
are set by ESMFMKFILE and they should not need to be set individually. Just make sure
that ESMFMKFILE is in the environment.
Yes agreed! I will add ESMFMKFILE to my path and see if that makes any difference.
I've submitted a support ticket to ARCHER2's help desk summarising this discussion - thanks a lot for your advice. If it's an issue around compiler installations and/or the content of centrally located module files then it'll be beyond my power to fix but hopefully we've been able to identify some of the reasons why the case is failing.