Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

Subject: [OMPI devel] VPATH builds broken?
From: Ashley Pittman (ashley_at_[hidden])
Date: 2014-05-08 09:09:07

I started getting build failures against trunk on the 29th, most likely as a result of this commit:

It looks like there was another commit almost immediately afterwards which fixed the first problem (include file errors) however I’m still seeing build failures with the following error, I don’t know if this is still aside effect of the previous VPATH problem or something else.

Making all in mpi
make[10]: Entering directory `/space/jenkins/workspace/open-mpi/build/ompi/contrib/vt/vt/extlib/otf/tools/otfmerge/mpi'
ln -s ../../../../../../../../../../source/ompi/contrib/vt/vt/extlib/otf/tools/otfmerge/handler.c handler.c
  CC otfmerge_mpi-handler.o
ln -s ../../../../../../../../../../source/ompi/contrib/vt/vt/extlib/otf/tools/otfmerge/otfmerge.c otfmerge.c
  CC otfmerge_mpi-otfmerge.o
  CCLD otfmerge-mpi
/space/jenkins/workspace/open-mpi/build/ompi/contrib/vt/vt/../../../.libs/ undefined reference to `opal_dstore_peer'
/space/jenkins/workspace/open-mpi/build/ompi/contrib/vt/vt/../../../.libs/ undefined reference to `opal_value_load'
/space/jenkins/workspace/open-mpi/build/ompi/contrib/vt/vt/../../../.libs/ undefined reference to `opal_value_unload'
/space/jenkins/workspace/open-mpi/build/ompi/contrib/vt/vt/../../../.libs/ undefined reference to `opal_dstore_nonpeer'
/space/jenkins/workspace/open-mpi/build/ompi/contrib/vt/vt/../../../.libs/ undefined reference to `opal_dstore_internal'
/space/jenkins/workspace/open-mpi/build/ompi/contrib/vt/vt/../../../.libs/ undefined reference to `opal_dstore'
collect2: error: ld returned 1 exit status
make[10]: *** [otfmerge-mpi] Error 1
make[10]: Leaving directory `/space/jenkins/workspace/open-mpi/build/ompi/contrib/vt/vt/extlib/otf/tools/otfmerge/mpi'
make[9]: *** [all-recursive] Error 1
make[9]: Leaving directory `/space/jenkins/workspace/open-mpi/build/ompi/contrib/vt/vt/extlib/otf/tools/otfmerge'
make[8]: *** [all-recursive] Error 1
make[8]: Leaving directory `/space/jenkins/workspace/open-mpi/build/ompi/contrib/vt/vt/extlib/otf/tools'
make[7]: *** [all-recursive] Error 1
make[7]: Leaving directory `/space/jenkins/workspace/open-mpi/build/ompi/contrib/vt/vt/extlib/otf'
make[6]: *** [all] Error 2
make[6]: Leaving directory `/space/jenkins/workspace/open-mpi/build/ompi/contrib/vt/vt/extlib/otf'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/space/jenkins/workspace/open-mpi/build/ompi/contrib/vt/vt/extlib'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/space/jenkins/workspace/open-mpi/build/ompi/contrib/vt/vt'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/space/jenkins/workspace/open-mpi/build/ompi/contrib/vt/vt'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/space/jenkins/workspace/open-mpi/build/ompi/contrib/vt'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/space/jenkins/workspace/open-mpi/build/ompi'
make: *** [all-recursive] Error 1

The build script I’m using is fairly simple, it’s working from a clean checkout each time but is doing a “VPATH” or out-of-tree build

cd source
cd ..
[ -d build ] && rm -rf build
[ -d build ] && rm -rf install
mkdir build
cd build
../source/configure --enable-mpirun-prefix-by-default --prefix $WORKSPACE/install
make install