Thanks Manodeep for those suggestions. I’ve built a rAM3 executable with
fcflags_overrides=-march=sapphirerapids -qopt-zmm-usage=high
as detailed here Building the UM to run on Gadi's Sapphire nodes - #2 by Paul.Gregory , and that works well.
I’ll try some of your other suggestions too.