Regarding Installing 2019 and 2018 version in same PC

GROMACS version: 2019
GROMACS modification: Yes/No
Here post your question The GROMACS 2018 version was installed on my PC, can I install GROMACS 2019 version along with the 2018 version on the same PC by giving a different path? Can I run MD simulation? is it the right way, will it give any errors while analysis? Your suggestions will be of great help to me

Looking forward to hearing from you


You can use -DCMAKE_INSTALL_PREFIX=somedirectory when calling cmake to set the installation directory. Then run the binaries or source GMXRC from there.

See this page for more details.

Kind regards,

1 Like

Thank you very for your suggestions. Can I install the 2019 and 2018 both version on one PC?

I use below commands:

tar xfz gromacs-2019.tar.gz
cd gromacs-2019
mkdir build
cd build
make check
sudo make install
source /usr/local/gromacs/bin/GMXRC

Which lines should I modify in the above command ?

The solution was already given:

1 Like

Fine sir, Thank you