On the new macs with M1 CPU, gfortran 11.1 does not support the -malign=double flag - probably it is for x86 only.
SYST=gnu-fast currently enables this flag.
Options:
drop the flag (having the flag has some performance benefits on x86 according to Jisk)
add another SYST flag for M1 systems (tedious to maintain)
add the flag only if the system supports it (requires some CMake scripting)
Workaround: edit it out of the CMakeLists.txt file.
On the new macs with M1 CPU, gfortran 11.1 does not support the
-malign=double
flag - probably it is for x86 only.SYST=gnu-fast
currently enables this flag. Options:Workaround: edit it out of the CMakeLists.txt file.