Issue compiling JULES v6.0 on cylc2 -IGNORE - SOLVED!

Hello,

I’ve been trying to migrate an existing suite (u-dp235) to work on cylc2, however, I’m struggling to compile JULES using FCM. I get the following error which leads to a bunch of subsequent errors:

“[FAIL] mpif90 -obin/jules.exe o/jules.o -L/tmp/A8w6jhRZtL -ljules -L/apps/jasmin/supported/libs/netcdf/intel2024.2.0/4.9.2//lib -L/apps/jasmin/supported/libs/netcdf/intel2024.2.0/fortran/4.6.1/lib -L/gws/nopw/j04/jules/admin/curl/curl-lotus-parallel-intel/lib/ -L/apps/jasmin/supported/libs/hdf5/intel2024.2.0/1.14.4-2/lib -lnetcdff -lnetcdf -lhdf5_hl -lhdf5 -lcurl -heap-arrays -fp-model precise -traceback # rc=1
[FAIL] ld: warning: libssl.so.10, needed by /gws/nopw/j04/jules/admin/curl/curl-lotus-parallel-intel/lib//libcurl.so, not found (try using -rpath or -rpath-link)
[FAIL] ld: warning: libcrypto.so.10, needed by /gws/nopw/j04/jules/admin/curl/curl-lotus-parallel-intel/lib//libcurl.so, not found (try using -rpath or -rpath-link)”

This suggest to me that fcm using the wrong curl library path (maybe I’m wrong), but I have no idea how to solve this.

Any help would be greatly appreciated!

cheers

Jon

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