GROMACS 2020.2 Installation Error

GROMACS version: 2020.2
GROMACS modification: No
Error –

[ 97%] Linking CXX shared library …/…/lib/libgromacs.so

/usr/bin/ld: /home/anurag1/opt/fftw-3.3.9/lib/libfftw3f.a(assert.o): warning: relocation against stdout@@GLIBC_2.2.5' in read-only section .text’

/usr/bin/ld: /home/anurag1/opt/fftw-3.3.9/lib/libfftw3f.a(assert.o): relocation R_X86_64_PC32 against symbol `stdout@@GLIBC_2.2.5’ can not be used when making a shared object; recompile with -fPIC

/usr/bin/ld: final link failed: bad value

collect2: error: ld returned 1 exit status

make[2]: *** [src/gromacs/CMakeFiles/libgromacs.dir/build.make:13086: lib/libgromacs.so.5.0.0] Error 1

make[1]: *** [CMakeFiles/Makefile2:3854: src/gromacs/CMakeFiles/libgromacs.dir/all] Error 2

make: *** [Makefile:166: all] Error 2

FFTW Compilation Command –

./configure --enable-float --enable-sse && make install

I need to install only this specific version as this version is only supported by DeePMD-kit.