Tutorial:How to install C++ compilers/make from GNU for Gromacs?
0
1
Entering edit mode
8.4 years ago

For building Gromacs software package from source you need the following programs:

  1. FFTW
  2. CMake

For details see the installation guide: http://manual.gromacs.org/documentation/2016-beta2/install-guide/index.html#prerequisites

For installing cmake you need to installing C++ compilers: please use the following commands:

$ sudo apt-get update
$ sudo apt-get upgrade
$ sudo apt-get install build-essential
$ gcc -v
$ make -v
Gromacs Cpp-compilers GNU • 3.7k views
ADD COMMENT
0
Entering edit mode

Hi Hassan,

you need to make sure that the information given in tutorials is complete, correct and useful at a minimum level, for example, if installing software on linux, you need to differentiate several distributions, at least rpm based like RHEL, Fedora CentOS, and Debian (Debian, Ubuntu, etc.) based distros, as well as building from source. Also, you should mention the easiest way, both distributions have packages for gromacs, there are different parallel API options (e.g. open MPI which is highly recommended for heavy simulations), See https://packages.debian.org/search?keywords=gromacs, for CentOS gromacs 4.7 (a bit older) is found in the epel repo:

There are also packages for all the dependencies (cmake, fftw3) in both flavors. To install the dependencies, most likely either:

yum install cmake fftw3

or

apt-get install cmake fftw3

will be enough.

ADD REPLY
0
Entering edit mode

Thanks a lot for your mention. You are right. I'm fully agree with you.

ADD REPLY
0
Entering edit mode

Can't you install it from BioLinux or from Linux Brew?

ADD REPLY
0
Entering edit mode

Yes, BioLinux is debian, so sudo apt-get install gromacs should work, LinuxBrew is good if you want to install into your home directory.

ADD REPLY

Login before adding your answer.

Traffic: 2386 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6