Here are more problems with a different version of libfabric: btl_ofi_component.c: In function ‘validate_info’: btl_ofi_component.c:64:23: error: ‘FI_MR_VIRT_ADDR’ undeclared (first use in this function) (mr_mode & ~(FI_MR_VIRT_ADDR | FI_MR_ALLOCATED | FI_MR_PROV_KEY)) == 0)) { ^~~~~~~~~~~~~~~ btl_ofi_component.c:64:23: note: each undeclared identifier is reported only once for each function it appears in btl_ofi_component.c:64:41: error: ‘FI_MR_ALLOCATED’ undeclared (first use in this function) (mr_mode & ~(FI_MR_VIRT_ADDR | FI_MR_ALLOCATED | FI_MR_PROV_KEY)) == 0)) { ^~~~~~~~~~~~~~~ btl_ofi_component.c:64:59: error: ‘FI_MR_PROV_KEY’ undeclared (first use in this function) (mr_mode & ~(FI_MR_VIRT_ADDR | FI_MR_ALLOCATED | FI_MR_PROV_KEY)) == 0)) { ^~~~~~~~~~~~~~ btl_ofi_component.c: In function ‘mca_btl_ofi_init_device’: btl_ofi_component.c:410:42: error: ‘FI_MR_VIRT_ADDR’ undeclared (first use in this function) ofi_info->domain_attr->mr_mode & FI_MR_VIRT_ADDR) { ^~~~~~~~~~~~~~~ In file included from ../../../../opal/threads/thread_usage.h:31:0, from ../../../../opal/class/opal_object.h:126, from ../../../../opal/util/output.h:70, from ../../../../opal/include/opal/types.h:43, from ../../../../opal/mca/btl/btl.h:119, from btl_ofi_component.c:27: btl_ofi_component.c: In function ‘mca_btl_ofi_component_progress’: btl_ofi_component.c:557:63: error: ‘FI_EINTR’ undeclared (first use in this function) } else if (OPAL_UNLIKELY(ret != -FI_EAGAIN && ret != -FI_EINTR)) { ^
What the heck version was this tested against??? > On Jun 3, 2018, at 7:32 AM, r...@open-mpi.org wrote: > > On my system, which has libfabric installed (but maybe an older version than > expected?): > > btl_ofi_component.c: In function ‘mca_btl_ofi_component_progress’: > btl_ofi_component.c:557:63: error: ‘FI_EINTR’ undeclared (first use in this > function) > } else if (OPAL_UNLIKELY(ret != -FI_EAGAIN && ret != -FI_EINTR)) { > > Can someone please fix this? > Ralph > > _______________________________________________ > devel mailing list > devel@lists.open-mpi.org > https://lists.open-mpi.org/mailman/listinfo/devel
_______________________________________________ devel mailing list devel@lists.open-mpi.org https://lists.open-mpi.org/mailman/listinfo/devel