Bioinformatics ReviewBioinformatics Review
Notification Show More
Font ResizerAa
  •  Home
  • Docking
  • MD Simulation
  • Tools
  • More Topics
    • Softwares
    • Sequence Analysis
    • Algorithms
    • Bioinformatics Programming
    • Bioinformatics Research Updates
    • Drug Discovery
    • Phylogenetics
    • Structural Bioinformatics
    • Editorials
    • Tips & Tricks
    • Bioinformatics News
    • Featured
    • Genomics
    • Bioinformatics Infographics
  • Community
    • BiR-Research Group
    • Community Q&A
    • Ask a question
    • Join Telegram Channel
    • Join Facebook Group
    • Join Reddit Group
    • Subscription Options
    • Become a Patron
    • Write for us
  • About Us
    • About BiR
    • BiR Scope
    • The Team
    • Guidelines for Research Collaboration
    • Feedback
    • Contact Us
    • Recent @ BiR
  • Subscription
  • Account
    • Visit Dashboard
    • Login
Font ResizerAa
Bioinformatics ReviewBioinformatics Review
Search
Have an existing account? Sign In
Follow US
MD SimulationSoftwareTools

How to install GROMACS on Apple M1 (MacOS)?

Dr. Muniba Faiza
Last updated: May 19, 2022 11:27 am
Dr. Muniba Faiza
Share
3 Min Read
Installing GROMACS on Apple M1 (MacOS)
SHARE

We have provided a few articles on GROMACS installation on Ubuntu. In this article, we are going to install GROMACS [1] on Mac OS.

Contents
  • Installing prerequisites
  • Downloading regressiontests
  • Downloading Gromacs
  • Installing Regressiontests
  • Installing Gromacs
    • References

Installing prerequisites

You will have to install cmake on your system before installing GROMACS. Open a terminal and paste the following command:

% brew install cmake

If you have not installed brew yet, then install it now by following the steps given here.

Downloading regressiontests

We will use wget to download the regression tests package. If you have not installed wget on your system then use the following command:

% brew install wget

You can also download it from here.

Change to the directory where you want to download the packages, let’s say, ‘Downloads’. Paste the following command in the terminal:

% cd Downloads/

% wget https://ftp.gromacs.org/regressiontests/regressiontests-2021.5.tar.gz

Downloading Gromacs

Paste the following command or download it from here:

% wget https://ftp.gromacs.org/gromacs/gromacs-2021.5.tar.gz

Installing Regressiontests

Now extract the downloaded package as shown below:

% tar xvzf regressiontests-2021.5.tar.gz

Installing Gromacs

Enter pwd in the terminal and note down the path. We will use it later. Now, extract the downloaded Gromacs package.

% tar xvzf gromacs-2021.5.tar.gz

Move inside the gromacs directory.

% cd gromacs-2021.5/

Now make a new directory namely, build.

% mkdir build

Move inside the build directory and install gromacs.

% cd build/

% source cmake.. -DGMX_BUILD_OWN_FFTW=ON -DREGRESSIONTEST_DOWNLOAD=OFF -DCMAKE_C_COMPILER=gcc -DREGRESSIONTEST_PATH=/your/pwd/path/

% sudo make check

% sudo make install

Now add it to your path as shown below.

% sudo nano /etc/paths

Add the following line at the end of the file.

/usr/local/gromacs/bin/GMXRC

Save and exit.

After the successful installation, you may check the version of your Gromacs with a command to make sure the installation is finished as expected.

% gmx pdb2gmx --version

It should display the usage. Now, you have successfully installed GROMACS on Mac OS.


References

  1. Abraham, M. J., Murtola, T., Schulz, R., Páll, S., Smith, J. C., Hess, B., & Lindahl, E. (2015). GROMACS: High performance molecular simulations through multi-level parallelism from laptops to supercomputers. SoftwareX, 1, 19-25.
TAGGED:apple m1GromacsinstallationMac OS
Share This Article
Facebook Copy Link Print
ByDr. Muniba Faiza
Follow:
Dr. Muniba is a Bioinformatician based in New Delhi, India. She has completed her PhD in Bioinformatics from South China University of Technology, Guangzhou, China. She has cutting edge knowledge of bioinformatics tools, algorithms, and drug designing. When she is not reading she is found enjoying with the family. Know more about Muniba
1 Comment
  • grugru says:
    September 25, 2022 at 7:36 am

    Thanks to your article, I successfully installed gromacs on my macOS Catalina. But I modified or added few command lines.

    brew install cmake
    brew link cmake
    brew link –overwrite cmake
    cmake –version #3.7.2 → 3.24.2

    cmake -DGMX_BUILD_OWN_FFTW=ON -DREGRESSIONTEST_DOWNLOAD=OFF -DCMAKE_C_COMPILER=gcc -DREGRESSIONTEST_PATH=/path/path/gromacs/regressiontest

    Log in to Reply

Leave a Reply Cancel reply

You must be logged in to post a comment.

ai tools vs traditional tools in bioinformatics
AI Tools vs Traditional Tools in Bioinformatics- Which one to select?
Algorithms Artificial Intelligence Machine Learning Software Tools
AI vs Physics in Molecular Docking
AI vs Physics in Molecular Docking: Towards Faster and More Accurate Pose Prediction
Artificial Intelligence Drug Discovery Machine Learning
10 years of Bioinformatics Review: From a Blog to a Bioinformatics Knowledge Hub!
Editorial
Starting in Bioinformatics? Do This First!
Starting in Bioinformatics? Do This First!
Tips & Tricks

You Might Also Like

Bioinformatics ProgrammingSoftware

TIN: R package to analyze Transcriptome Instability

December 21, 2015
SoftwareTools

Bioinformatics and stem cell research- A mini review

June 12, 2020
SoftwareStructural BioinformaticsTools

How to install DeepView-Swiss PDB Viewer on Linux?

May 20, 2020
[Tutorial] How to install Autodock Vina on MacOS?
SoftwareTools

[Tutorial] How to install Autodock Vina on Mac OS?

March 12, 2023
Copyright 2024 IQL Technologies
  • Journal
  • Customer Support
  • Contact Us
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Cookie Policy
  • Sitemap
Welcome Back!

Sign in to your account

Username or Email Address
Password

Lost your password?

Not a member? Sign Up