I’ve cracked this by looking at this issue: Porting existing JULES suite to Cylc8/LOTUS2 - #3 by r.i.maidment
I needed to update the compile config file based on this: https://code.metoffice.gov.uk/trac/jules/browser/main/trunk/etc/fcm-make/platform/jasmin-lotus-intel.cfg