Gromacs 2021.3 installation error

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?