Installation of GROMACS on MAC air having new M1 chip

GROMACS version:
GROMACS modification: Yes/No
Here post your question
Hi, very recently I have started to use MAC OS having M1 chip as the processor. This is the first time I am dealing with this type of processor. I want to install gromacs on my machine, but it failed. I have tried to install using homebrew but when I write gmx in terminal it is showing “Illegal hardware instruction”. Any help in this regard is highly appreciable. Thanks in advance.

Hello,

instead of installing via Homebrew I would suggest trying to compile it yourself. If the M1 chip is supported the manual compilation should detect and compile for it.

See the installation guide for more details: Installation guide — GROMACS 2021.2 documentation

Regards,
Petter

@pjohansson Thanks for your response. I will try it. Let’s see whether it works or not.

Regards
Abhik