Ok I’ve got this running. I amended fcflags_overrides to
fcflags_overrides=-march=broadwell -axSKYLAKE-AVX512,CASCADELAKE,SAPPHIRERAPIDS
which updates the fcm-make2.cfg fc_flags entry to
build.prop{class, fc.flags} = -i8 -r8 -mcmodel=medium -std08 -g -traceback -assume nosource_include -O2 -f
p-model precise -qopenmp -march=broadwell -axSKYLAKE-AVX512,CASCADELAKE,SAPPHIRERAPIDS
So the fcflags_overrides amends the existing Fortran compiler flags, it doesn’t overwrite them.
Some output from the fcm-make2.log:
[info] shell(0 0.6) mpif90 -oo/reconfigure.o -c -I./include -i8 -r8 -mcmodel=medium -std08 -g -traceback -assume nosource_include -O2 -fp-model precise -qopenmp -march=broadwell -axSKYLAKE-AVX512,CASCADELAKE,SAPPHIRERAPIDS /home/548/pag548/cylc-run/u-dq126/share/fcm_make_um/preprocess-recon/src/um/src/utility/qxreconf/reconfigure.F90
I’ll now run with this executable and let you know how I go. This was using the default Intel compilers specified in ACCESS-rAM3 (intel-compiler/2021.5.01)