A workaround is to add –disable-vt to your configure line if you do not care about having vampirtrace support. Not a solution, but might help you make progress.
From: users [mailto:users-boun...@open-mpi.org] On Behalf Of Ilias Miroslav Sent: Friday, November 13, 2015 11:30 AM To: us...@open-mpi.org Subject: [OMPI users] static OpenMPI with GNU Greeting, I am trying to compile the static version of OpenMPI, with GNU. The configuration command : mil...@login.grid.umb.sk:~/bin/openmpi-1.10.1-gnu-static/openmpi-1.10.1/../configure<mailto:mil...@login.grid.umb.sk:~/bin/openmpi-1.10.1-gnu-static/openmpi-1.10.1/../configure> --prefix=/home/milias/bin/openmpi-1.10.1-gnu-static CXX=g++ CC=gcc F77=gfortran FC=gfortran LDFLAGS="--static" LIBS="-ldl -lrt" --disable-shared --enable-static But the compilation end with error below. I though that the -lrt should fix it (/usr/lib64/librt.a), but no way. Any help please ? Miro make[10]: Entering directory `/home/milias/bin/openmpi-1.10.1-gnu-static/openmpi-1.10.1/ompi/contrib/vt/vt/extlib/otf/tools/otfmerge/mpi' CC otfmerge_mpi-handler.o CC otfmerge_mpi-otfmerge.o CCLD otfmerge-mpi /home/milias/bin/openmpi-1.10.1-gnu-static/openmpi-1.10.1/opal/.libs/libopen-pal.a(memory_linux_munmap.o): In function `opal_memory_linux_free_ptmalloc2_munmap': memory_linux_munmap.c:(.text+0x3d): undefined reference to `__munmap' /home/milias/bin/openmpi-1.10.1-gnu-static/openmpi-1.10.1/opal/.libs/libopen-pal.a(memory_linux_munmap.o): In function `munmap': memory_linux_munmap.c:(.text+0x87): undefined reference to `__munmap' collect2: ld returned 1 exit status make[10]: *** [otfmerge-mpi] Error 1 ----------------------------------------------------------------------------------- This email message is for the sole use of the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. -----------------------------------------------------------------------------------