# Make not working during gromacs installation

**URL:** <https://gromacs.bioexcel.eu/t/make-not-working-during-gromacs-installation/9452>\
**Category:** User discussions\
**Tags:** installation-error\
**Created:** [June 20, 2024, 5:36am UTC](https://gromacs.bioexcel.eu/t/make-not-working-during-gromacs-installation/9452 "2024-06-20T05:36:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![intomybioverse](https://avatars.discourse-cdn.com/v4/letter/i/67e7ee/32.png) [@intomybioverse](https://gromacs.bioexcel.eu/u/intomybioverse)\
**Post date:** [June 20, 2024, 5:36am UTC](https://gromacs.bioexcel.eu/t/make-not-working-during-gromacs-installation/9452/1 "2024-06-20T05:36:01Z")

</div>

Hello everyone!  
I am trying to install GROMACS, a version compatible with Ubuntu 20.04. with both the latest version and GROMACS 2021.5, I am getting the same error as mentioned below.

Please help out!

I have following these steps for the installation process.

> **[GROMACS Installation On Ubuntu Linux : A Step-by-Step Guide Of 2023 That Will...](https://castle.com.bd/gromacs-installation-on-ubuntu-linux/)**
>
> A Beginner's Guide for GROMACS Installation on Ubuntu Linux for Molecular Dynamics Simulation. installing GROMACS 2023 on ubuntu 20-04 LTS

~/Downloads/gromacs-2024.2/build$ sudo make  
[0%] Creating directories for ‘fftwBuild’  
[0%] Performing download step (download, verify and extract) for ‘fftwBuild’  
– Downloading…  
dst=‘/home/soumya/Downloads/gromacs-2024.2/build/src/external/build-fftw/fftwBuild-prefix/src/fftw-3.3.8.tar.gz’  
timeout=‘none’  
inactivity timeout=‘none’  
– Using src=‘[http://www.fftw.org/fftw-3.3.8.tar.gz](http://www.fftw.org/fftw-3.3.8.tar.gz)’  
CMake Error at fftwBuild-stamp/download-fftwBuild.cmake:170 (message):  
Each download failed!

```
error: downloading 'http://www.fftw.org/fftw-3.3.8.tar.gz' failed
      status_code: 56
      status_string: "Failure when receiving data from the peer"
      log:
      --- LOG BEGIN ---
        Trying 216.137.187.110:80...

```

Connected to /www.fftw.org (216.137.187.110) port 80 (#0)

GET /fftw-3.3.8.tar.gz HTTP/1.1

Host: /www.fftw.org

User-Agent: curl/7.81.0

Accept: _/_

Recv failure: Connection reset by peer

Closing connection 0

```
      --- LOG END ---

```

make[2]: \*\*\* [src/external/build-fftw/CMakeFiles/fftwBuild.dir/build.make:98: src/external/build-fftw/fftwBuild-prefix/src/fftwBuild-stamp/fftwBuild-download] Error 1  
make[1]: \*\*\* [CMakeFiles/Makefile2:3532: src/external/build-fftw/CMakeFiles/fftwBuild.dir/all] Error 2  
make: \*\*\* [Makefile:166: all] Error 2

---

<div class="post-metadata">

**Author:** ![MagnusL](https://dub1.discourse-cdn.com/flex017/user_avatar/gromacs.bioexcel.eu/magnusl/32/2380_2.png) [@MagnusL](https://gromacs.bioexcel.eu/u/MagnusL)\
**Post date:** [June 20, 2024, 8:06am UTC](https://gromacs.bioexcel.eu/t/make-not-working-during-gromacs-installation/9452/2 "2024-06-20T08:06:12Z")

</div>

If you have problems downloading fftw you can install it beforehand and point cmake to where those libraries are installed.

---

<div class="post-metadata">

**Author:** ![intomybioverse](https://avatars.discourse-cdn.com/v4/letter/i/67e7ee/32.png) [@intomybioverse](https://gromacs.bioexcel.eu/u/intomybioverse)\
**Post date:** [June 20, 2024, 9:07am UTC](https://gromacs.bioexcel.eu/t/make-not-working-during-gromacs-installation/9452/3 "2024-06-20T09:07:20Z")

</div>

yes, it worked. Thanks.

---

<div class="post-metadata">

**Author:** ![Himeshi](https://avatars.discourse-cdn.com/v4/letter/h/3e96dc/32.png) [@Himeshi](https://gromacs.bioexcel.eu/u/Himeshi)\
**Post date:** [May 7, 2026, 8:04am UTC](https://gromacs.bioexcel.eu/t/make-not-working-during-gromacs-installation/9452/4 "2026-05-07T08:04:27Z")

</div>

Alternatively after configuring, find the `download-fftwBuild.cmake` file and replace its contents with below and add your path to the source files in the file download command.

```auto

cmake_minimum_required(VERSION ${CMAKE_VERSION}) # this file comes with cmake

file(DOWNLOAD "https://www.fftw.org/fftw-3.3.10.tar.gz" "<your-path-to-gromacs>/gromacs-2026.2/build/src/external/build-fftw/fftwBuild-prefix/src/fftw-3.3.10.tar.gz"
     SHOW_PROGRESS
     INACTIVITY_TIMEOUT 60
     TIMEOUT 600
     STATUS status)

list(GET status 0 status_code)
list(GET status 1 status_message)

if(NOT status_code EQUAL 0)
    message(FATAL_ERROR "Download failed (${status_code}): ${status_message}")
endif()

```
