I'm attempting to make QEspresso's pw program on a new 2021 MacBook Air, which has an M1 processor. While ./configure does not throw any errors, running 'make pw' fails with the following output:
checking build system type... Invalid configuration `aarch64-apple-darwin20.6.0': machine `aarch64-apple' not recognized
configure: error: /bin/sh ./config/config.sub aarch64-apple-darwin20.6.0 failed
if test -d src/ ; then \
( cd src/ ; make ) ; fi
make[3]: *** No rule to make target `device_auxfunc_mod.o', needed by `deviceXlib_mod.o'. Stop.
make[2]: *** [libsrc] Error 2
make[1]: *** [libcuda_devxlib] Error 2
make: *** [libcuda] Error 2
I included what I believe are the relevant lines of the make output. The output prior to this seemed normal. I believe CUDA is related to parallelization, which I don't need right now, so I tried disabling parallelization as a make option -- yet this does not work. I've also tried
sudo ./configure --disable-parallel --with-internal-FFTW --with-internal-blas --with-internal-lapack ARCH="mac686"
following the instructions of Ref [1] for Macs, however, I don't know if I need to manual set ARCH="mac686", or something different for the newer M1. Or maybe this is entirely the wrong direction.
Has anyone tried installing QEspresso on an M1 Mac yet? Or have any sense if this is currently even possible? My web search only dug up one reference to installing QEspresso on the new M1 (see Ref [2]), which was totally unhelpful, so I'm afraid I'm running into a dead end and major time sink.
Ref [1]: https://sites.google.com/a/ncsu.edu/cjobrien/tutorials-and-guides/pwscf
Ref [2]: https://lists.quantum-espresso.org/pipermail/developers/2021-July/002430.html
x86_64
instead ofaarch64
. $\endgroup$make
doesn't work for me with the same error message. $\endgroup$