Repository navigation
Closed
Description
SLES10:
make[2]: Entering directory `/autofs/na3_home1/buildbot/buildbot/pod10/ucx-sles10-x86_64/build/src/uct'
CC tl/libuct_la-context.lo
CC tl/libuct_la-tl_base.lo
CC ib/ud/libuct_la-ud_verbs.lo
CC ib/ud/libuct_la-ud_iface.lo
CC ib/ud/libuct_la-ud_ep.lo
CC ib/base/libuct_la-ib_context.lo
CC ib/base/libuct_la-ib_device.lo
CC ib/base/libuct_la-ib_iface.lo
cc1: warnings being treated as errors
ib/ud/ud_verbs.c: In function 'uct_ud_verbs_iface_poll_tx':
ib/ud/ud_verbs.c:140: warning: implicit declaration of function 'ibv_wc_status_str'
ib/ud/ud_verbs.c:140: warning: format '%s' expects type 'char *', but argument 5 has type 'int'
ib/ud/ud_verbs.c: In function 'uct_ud_verbs_iface_poll_rx':
ib/ud/ud_verbs.c:165: warning: format '%s' expects type 'char *', but argument 5 has type 'int'
make[2]: *** [ib/ud/libuct_la-ud_verbs.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
cc1: warnings being treated as errors
ib/base/ib_device.c: In function 'uct_ib_async_event_handler':
ib/base/ib_device.c:181: warning: implicit declaration of function 'ibv_event_type_str'
ib/base/ib_device.c:181: warning: format '%s' expects type 'char *', but argument 4 has type 'int'
ib/base/ib_device.c:181: warning: format '%s' expects type 'char *', but argument 4 has type 'int'
ib/base/ib_device.c:191: warning: format '%s' expects type 'char *', but argument 4 has type 'int'
ib/base/ib_device.c:191: warning: format '%s' expects type 'char *', but argument 4 has type 'int'
ib/base/ib_device.c:200: warning: format '%s' expects type 'char *', but argument 4 has type 'int'
ib/base/ib_device.c:200: warning: format '%s' expects type 'char *', but argument 4 has type 'int'
ib/base/ib_device.c:213: warning: format '%s' expects type 'char *', but argument 4 has type 'int'
ib/base/ib_device.c:213: warning: format '%s' expects type 'char *', but argument 4 has type 'int'
ib/base/ib_device.c:225: warning: format '%s' expects type 'char *', but argument 4 has type 'int'
ib/base/ib_device.c:225: warning: format '%s' expects type 'char *', but argument 4 has type 'int'
ib/base/ib_device.c: In function 'uct_ib_device_create':
ib/base/ib_device.c:331: warning: implicit declaration of function 'ibv_node_type_str'
ib/base/ib_device.c:331: warning: format '%s' expects type 'char *', but argument 7 has type 'int'
make[2]: *** [ib/base/libuct_la-ib_device.lo] Error 1
make[2]: Leaving directory `/autofs/na3_home1/buildbot/buildbot/pod10/ucx-sles10-x86_64/build/src/uct'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/autofs/na3_home1/buildbot/buildbot/pod10/ucx-sles10-x86_64/build'
make: *** [all] Error 2
program finished with exit code 2
Metadata
Metadata
Assignees
Labels
No labels
Activity
yosefe commentedon Feb 19, 2015
missing functions:
ibv_wc_status_stribv_event_type_strshamisp commentedon Feb 19, 2015
shamisp commentedon Feb 20, 2015
probably we can borrow these two from VERBs
yosefe commentedon Feb 22, 2015
Looks like this system has OFED 1.3.1. I don't think we should support such old version.
I'll add a check to make sure these functions exist, but i don't want to support it.
shamisp commentedon Feb 22, 2015
This is 5 years old driver and might be reasonable to drop support for this version. Nevertheless, the configuration script should instruct users to update the driver to a certain version. The minimum driver requirements must be clearly defined. IMHO reporting missing function declaration is not enough.
yosefe commentedon Feb 22, 2015
AFAIK there is no better way to check for OFED version during ./configure. Besides, the libiverbs could be "inbox", i.e part of the distro. I know this is not ideal...
How do you think we should do it? Maybe check version of libibverbs-devel rpm?
shamisp commentedon Feb 22, 2015
I think the way you check today is fine. There is no better way of doing this for verbs
I would enhance the error message, something like:
OFED version 1.X and above is required for the UCX build process with Mellanox InfiniBand/ROCEE support.
The latest version of OFED can be found here: YYY
From: Yossi Itigin [mailto:notifications@github.com]
Sent: Sunday, February 22, 2015 10:31 AM
To: uccs/ucx
Cc: Shamis, Pavel
Subject: Re: [ucx] Compilation problem (#127)
AFAIK there is no better way to check for OFED version during ./configure. Besides, the libiverbs could be "inbox", i.e part of the distro. I know this is not ideal...
How do you think we should do it? Maybe check version of libibverbs-devel rpm?
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/127#issuecomment-75440496.
shamisp commentedon Feb 22, 2015
Fixed in #134
Merge pull request openucx#127 from leibin2014/integration3