Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: [OMPI users] Cannot build openmpi-1.6 on
From: John R. Cary (cary_at_[hidden])
Date: 2012-06-30 10:32:30


My system:

$ uname -a
Linux multipole.txcorp.com 2.6.32-220.17.1.el6.x86_64 #1 SMP Wed May 16 00:01:37 BST 2012 x86_64 x86_64 x86_64 GNU/Linux
$ gcc --version
gcc (GCC) 4.6.3
Copyright (C) 2011

Configured with

'/scr_multipole/cary/vorpalall/builds/openmpi-1.6/configure' \
   --prefix=/scr_multipole/cary/contrib/openmpi-1.6-nodl \
   CC='/usr/local/contrib/bin/gcc' \
   CXX='/usr/local/contrib/bin/g++' \
   FC='/usr/local/contrib/bin/gfortran' \
   F77='/usr/local/contrib/bin/gfortran' \
   --enable-static \
   --with-pic \
   --disable-dlopen \
   --enable-mpirun-prefix-by-default \
--with-wrapper-ldflags='-Wl,-rpath,/scr_multipole/cary/contrib/openmpi-1.6-nodl/lib -Wl,-rpath,/usr/local/contrib/gcc-4.6.3/lib64'

fails at

make[10]: Entering directory `/scr_multipole/cary/vorpalall/builds/openmpi-1.6/nodl/ompi/contrib/vt/vt/extlib/otf/tools/otfmerge/mpi'
   CC otfmerge_mpi-handler.o
   CC otfmerge_mpi-otfmerge.o
   CCLD otfmerge-mpi
/usr/bin/ld: cannot find -lmpi
collect2: ld returned 1 exit status

????

Thx....John