-
Notifications
You must be signed in to change notification settings - Fork 934
Closed
Milestone
Description
configure passes but make fails:
how should this be resolved?
- simply bump the OFI version requirements?
- test the existence of these macros and do not build
mtl/ofiif they are not defined? - test the existence of these macros and
#ifdefprotect some parts somtl/ofican be built?
FWIW
$ cat /etc/redhat-release
CentOS Linux release 7.9.2009 (Core)
$ rpm -q libfabric
libfabric-1.7.2-1.el7.x86_64
In file included from /home/gilles/src/ompi-master/ompi/mca/mtl/ofi/mtl_ofi.c:13:0:
/home/gilles/src/ompi-master/ompi/mca/mtl/ofi/mtl_ofi.h: In function 'ompi_mtl_ofi_register_buffer':
/home/gilles/src/ompi-master/ompi/mca/mtl/ofi/mtl_ofi.h:324:17: error: 'struct fi_mr_attr' has no member named 'iface'
attr.iface = FI_HMEM_CUDA;
^
/home/gilles/src/ompi-master/ompi/mca/mtl/ofi/mtl_ofi.h:324:26: error: 'FI_HMEM_CUDA' undeclared (first use in this function)
attr.iface = FI_HMEM_CUDA;
^
/home/gilles/src/ompi-master/ompi/mca/mtl/ofi/mtl_ofi.h:324:26: note: each undeclared identifier is reported only once for each function it appears in
/home/gilles/src/ompi-master/ompi/mca/mtl/ofi/mtl_ofi.h:325:46: error: 'struct fi_mr_attr' has no member named 'device'
opal_accelerator.get_device(&attr.device.cuda);
^
/home/gilles/src/ompi-master/ompi/mca/mtl/ofi/mtl_ofi.h:327:17: error: 'struct fi_mr_attr' has no member named 'iface'
attr.iface = FI_HMEM_ROCR;
^
/home/gilles/src/ompi-master/ompi/mca/mtl/ofi/mtl_ofi.h:327:26: error: 'FI_HMEM_ROCR' undeclared (first use in this function)
attr.iface = FI_HMEM_ROCR;
^
/home/gilles/src/ompi-master/ompi/mca/mtl/ofi/mtl_ofi.h:328:46: error: 'struct fi_mr_attr' has no member named 'device'
opal_accelerator.get_device(&attr.device.cuda);