Make not working during gromacs installation

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.

~/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
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

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

yes, it worked. Thanks.