Hi Gus, Thank you. I did start from a completely clean directory tree every time (I deleted the whole folder and re-extracted the tarball).
I noticed that disabling any of the BTL components resulted in the same error, so my solution was to build everything and disable certain components at runtime. - Lee-Ping On Sep 29, 2014, at 6:03 AM, Gustavo Correa <g...@ldeo.columbia.edu> wrote: > Hi Lee-Ping > > Did you cleanup the old build, to start fresh? > > make distclean > configure --disable-vt ... > ... > > I hope this helps, > Gus Correa > > On Sep 29, 2014, at 8:47 AM, Lee-Ping Wang wrote: > >> Hmm, the build doesn't finish - it breaks when trying to create the man >> page. I guess I'll disable only a few specific BTL components that have >> given me issues in the past. >> >> Creating ompi_info.1 man page... >> CCLD ompi_info >> ../../../ompi/.libs/libmpi.so: undefined reference to `ibv_free_device_list' >> ../../../ompi/.libs/libmpi.so: undefined reference to `ibv_alloc_pd' >> ../../../ompi/.libs/libmpi.so: undefined reference to `ibv_close_device' >> ../../../ompi/.libs/libmpi.so: undefined reference to `ibv_dealloc_pd' >> ../../../ompi/.libs/libmpi.so: undefined reference to `ibv_destroy_qp' >> ../../../ompi/.libs/libmpi.so: undefined reference to `ibv_create_cq' >> ../../../ompi/.libs/libmpi.so: undefined reference to `ibv_get_sysfs_path' >> ../../../ompi/.libs/libmpi.so: undefined reference to `ibv_open_device' >> ../../../ompi/.libs/libmpi.so: undefined reference to `ibv_create_qp' >> ../../../ompi/.libs/libmpi.so: undefined reference to `ibv_query_device' >> ../../../ompi/.libs/libmpi.so: undefined reference to `ibv_get_device_list' >> ../../../ompi/.libs/libmpi.so: undefined reference to `ibv_get_device_name' >> ../../../ompi/.libs/libmpi.so: undefined reference to `ibv_destroy_cq' >> collect2: error: ld returned 1 exit status >> >> Thanks, >> >> - Lee-Ping >> >> On Sep 29, 2014, at 5:27 AM, Lee-Ping Wang <leep...@stanford.edu> wrote: >> >>> Hi there, >>> >>> I'm building OpenMPI 1.8.3 on a system where I explicitly don't want any of >>> the BTL components (they tend to break my single node jobs). >>> >>> ./configure CC=gcc CXX=g++ F77=gfortran FC=gfortran >>> --prefix=$QC_EXT_LIBS/openmpi --enable-static --enable-mca-no-build=btl >>> >>> Building gives me this error in the vt component - it appears to be >>> expecting some Infiniband stuff: >>> >>> CCLD otfmerge-mpi >>> /u/sciteam/leeping/opt/qchem-4.2/ext-libs/openmpi-1.8.3/ompi/contrib/vt/vt/../../../.libs/libmpi.so: >>> undefined reference to `ibv_free_device_list' >>> /u/sciteam/leeping/opt/qchem-4.2/ext-libs/openmpi-1.8.3/ompi/contrib/vt/vt/../../../.libs/libmpi.so: >>> undefined reference to `ibv_alloc_pd' >>> /u/sciteam/leeping/opt/qchem-4.2/ext-libs/openmpi-1.8.3/ompi/contrib/vt/vt/../../../.libs/libmpi.so: >>> undefined reference to `ibv_close_device' >>> /u/sciteam/leeping/opt/qchem-4.2/ext-libs/openmpi-1.8.3/ompi/contrib/vt/vt/../../../.libs/libmpi.so: >>> undefined reference to `ibv_dealloc_pd' >>> /u/sciteam/leeping/opt/qchem-4.2/ext-libs/openmpi-1.8.3/ompi/contrib/vt/vt/../../../.libs/libmpi.so: >>> undefined reference to `ibv_destroy_qp' >>> /u/sciteam/leeping/opt/qchem-4.2/ext-libs/openmpi-1.8.3/ompi/contrib/vt/vt/../../../.libs/libmpi.so: >>> undefined reference to `ibv_create_cq' >>> /u/sciteam/leeping/opt/qchem-4.2/ext-libs/openmpi-1.8.3/ompi/contrib/vt/vt/../../../.libs/libmpi.so: >>> undefined reference to `ibv_get_sysfs_path' >>> /u/sciteam/leeping/opt/qchem-4.2/ext-libs/openmpi-1.8.3/ompi/contrib/vt/vt/../../../.libs/libmpi.so: >>> undefined reference to `ibv_open_device' >>> /u/sciteam/leeping/opt/qchem-4.2/ext-libs/openmpi-1.8.3/ompi/contrib/vt/vt/../../../.libs/libmpi.so: >>> undefined reference to `ibv_create_qp' >>> /u/sciteam/leeping/opt/qchem-4.2/ext-libs/openmpi-1.8.3/ompi/contrib/vt/vt/../../../.libs/libmpi.so: >>> undefined reference to `ibv_query_device' >>> /u/sciteam/leeping/opt/qchem-4.2/ext-libs/openmpi-1.8.3/ompi/contrib/vt/vt/../../../.libs/libmpi.so: >>> undefined reference to `ibv_get_device_list' >>> /u/sciteam/leeping/opt/qchem-4.2/ext-libs/openmpi-1.8.3/ompi/contrib/vt/vt/../../../.libs/libmpi.so: >>> undefined reference to `ibv_get_device_name' >>> /u/sciteam/leeping/opt/qchem-4.2/ext-libs/openmpi-1.8.3/ompi/contrib/vt/vt/../../../.libs/libmpi.so: >>> undefined reference to `ibv_destroy_cq' >>> collect2: error: ld returned 1 exit status >>> make[10]: *** [otfmerge-mpi] Error 1 >>> >>> I've decided to disable the vt component since I doubt I'm using it, but >>> this could be good to know. >>> >>> Thanks, >>> >>> - Lee-Ping >> >> _______________________________________________ >> users mailing list >> us...@open-mpi.org >> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users >> Link to this post: >> http://www.open-mpi.org/community/lists/users/2014/09/25399.php > > _______________________________________________ > users mailing list > us...@open-mpi.org > Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users > Link to this post: > http://www.open-mpi.org/community/lists/users/2014/09/25400.php