# Gromacs 2021.3 installation error

**URL:** <https://gromacs.bioexcel.eu/t/gromacs-2021-3-installation-error/2762>\
**Category:** User discussions\
**Tags:** installation-error\
**Created:** [September 4, 2021, 5:08am UTC](https://gromacs.bioexcel.eu/t/gromacs-2021-3-installation-error/2762 "2021-09-04T05:08:52Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![ABMMKI](https://avatars.discourse-cdn.com/v4/letter/a/ecae2f/32.png) [@ABMMKI](https://gromacs.bioexcel.eu/u/ABMMKI)\
**Post date:** [September 10, 2021, 2:40pm UTC](https://gromacs.bioexcel.eu/t/gromacs-2021-3-installation-error/2762/3 "2021-09-10T14:40:45Z")

</div>

Hi,

Many thanks for your response.

# CMAKE\_LINKER was

CMAKE\_LINKER:FILEPATH= **/usr/bin/ld**

# Then I have changed it to, as you suggested (though here is no ld file)

CMAKE\_LINKER:FILEPATH= **/home/khademul/bin/gcc11/bin/ld**  
//ADVANCED property for variable: CMAKE\_LINKER  
CMAKE\_LINKER-ADVANCED:INTERNAL=1

# However the problem persists and remains the same.

cmake .. -DGMX\_BUILD\_OWN\_FFTW=ON -DREGRESSIONTEST\_DOWNLOAD=ON -DMPI\_C\_COMPILER=mpicc -DGMX\_MPI=on -DCMAKE\_INSTALL\_PREFIX=/home/khademul/bin/gromacs -DCMAKE\_C\_COMPILER=/home/khademul/bin/gcc11/bin/gcc -DCMAKE\_CXX\_COMPILER=/home/khademul/bin/gcc11/bin/g++ **-DCMAKE\_LINKER** =/home/khademul/bin/gcc11/bin/ld

…  
…

make

…  
…

[98%] Built target nblib  
[98%] Building CXX object api/nblib/samples/CMakeFiles/argon-forces-integration.dir/argon-forces-integration.cpp.o  
[100%] Linking CXX executable ../../../bin/argon-forces-integration  
/home/khademul/bin/gromacs-2021.3/build/lib/libgromacs\_mpi.so.6: undefined reference to `GOMP_loop_nonmonotonic_dynamic_next@GOMP_4.5' /home/khademul/bin/gromacs-2021.3/build/lib/libgromacs_mpi.so.6: undefined reference to `GOMP\_loop\_nonmonotonic\_dynamic\_start@GOMP\_4.5’  
collect2: error: ld returned 1 exit status  
make[2]: \*\*\* [bin/argon-forces-integration] Error 1  
make[1]: \*\*\* [api/nblib/samples/CMakeFiles/argon-forces-integration.dir/all] Error 2  
make: \*\*\* [all] Error 2

## I do not have root permission and CMAKE, GCC etc installed locally. (default things are tool old version)

module load openmpi-1.8-x86\_64  
module load tools/openBLAS-0.2.18  
module load lib/OpenBLAS-0.3.9  
module load compilers/python-3.6.2-gcc

# cmake version 3.20.0-rc4

# gcc version 11.2.0

thanks, # any more suggestions?

---

_[View the full topic](https://gromacs.bioexcel.eu/t/gromacs-2021-3-installation-error/2762)._
