# Problems with GROMACS 2020.2 Installation

**URL:** <https://gromacs.bioexcel.eu/t/problems-with-gromacs-2020-2-installation/241>\
**Category:** User discussions\
**Created:** [June 3, 2020, 11:10pm UTC](https://gromacs.bioexcel.eu/t/problems-with-gromacs-2020-2-installation/241 "2020-06-03T23:10:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![arthurmluz](https://avatars.discourse-cdn.com/v4/letter/a/c5a1d2/32.png) [@arthurmluz](https://gromacs.bioexcel.eu/u/arthurmluz)\
**Post date:** [June 3, 2020, 11:10pm UTC](https://gromacs.bioexcel.eu/t/problems-with-gromacs-2020-2-installation/241/1 "2020-06-03T23:10:07Z")

</div>

GROMACS version:2020.2  
GROMACS modification: No  
Hello, everyone  
I’ve been trying to install GROMACS 2020.2 but in the make command I’ve encountered these errors which I don’t really understand since I don’t have much knowledge in make and compilations. The commands I’ve done after making the build directory were:

cmake … -DGMX\_BUILD\_OWN\_FFTW=ON -DREGRESSIONTEST\_DOWNLOAD=ON  
make

The make process stops at the very end. These are the messages I get:  
[0%] Built target fftwBuild  
[0%] Built target scanner  
[3%] Built target thread\_mpi  
[4%] Built target tng\_io\_obj  
[6%] Built target tng\_io\_zlib  
[6%] Built target lmfit\_objlib  
[23%] Built target linearalgebra  
[25%] Built target modularsimulator  
[25%] Built target vmddlopen  
[98%] Built target libgromacs  
[98%] Linking CXX executable …/…/bin/template  
…/…/lib/libgromacs.so.5.0.0: undefined reference to `srot_' ../../lib/libgromacs.so.5.0.0: undefined reference to `strsm\_’  
collect2: error: ld returned 1 exit status  
share/template/CMakeFiles/template.dir/build.make:97: recipe for target ‘bin/template’ failed  
make[2]: \*\*\* [bin/template] Error 1  
CMakeFiles/Makefile2:2313: recipe for target ‘share/template/CMakeFiles/template.dir/all’ failed  
make[1]: \*\*\* [share/template/CMakeFiles/template.dir/all] Error 2  
Makefile:162: recipe for target ‘all’ failed  
make: \*\*\* [all] Error 2

Can anyone help me with some insights of what might be causing this error and what could be done to solve it?

---

<div class="post-metadata">

**Author:** ![KeisukeTajima](https://avatars.discourse-cdn.com/v4/letter/k/958977/32.png) [@KeisukeTajima](https://gromacs.bioexcel.eu/u/KeisukeTajima)\
**Post date:** [June 20, 2020, 5:29am UTC](https://gromacs.bioexcel.eu/t/problems-with-gromacs-2020-2-installation/241/2 "2020-06-20T05:29:59Z")

</div>

Hi, I had similar link problems but solved it by defining some options explicitly.

cmake … -DGMX\_BUILD\_OWN\_FFTW=ON -DREGRESSIONTEST\_DOWNLOAD=ON -DBUILD\_SHARED\_LIBS=ON -DGMX\_PREFER\_STATIC\_LIBS=OFF -DGMX\_FFT\_LIBRARY=fftw3 -DCMAKE\_CXX\_COMPILER=/usr/local/bin/g++ -DCMAKE\_C\_COMPILER=/usr/local/bin/gcc  
make

Hope it helps.

---

<div class="post-metadata">

**Author:** ![willyef](https://avatars.discourse-cdn.com/v4/letter/w/f17d59/32.png) [@willyef](https://gromacs.bioexcel.eu/u/willyef)\
**Post date:** [September 28, 2020, 9:58pm UTC](https://gromacs.bioexcel.eu/t/problems-with-gromacs-2020-2-installation/241/3 "2020-09-28T21:58:09Z")

</div>

Hi, I used the cmake like you suggested, but I still get the same error.  
Any clues on the solution?  
Thanks for any help you can provide.
