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

Reply via email to