Hi @gareth, thanks for looking through my code!
Ah I never knew this! However, as per my reply to Prof. Curcic’s comment, I think there is perhaps an optimisation issue with OpenMPI and OpenCoarrays running on Apple silicon. For the final program in his book, I am getting much higher runtimes with more images.