No one has specifically pointed out your Lustre version yet, but why not try a more up to
date 2.5, like Anthony mentions? Older Lustre can't necessarily be built against
newer OFED.
________________________________________
From: HPDD-discuss [hpdd-discuss-bounces(a)lists.01.org] on behalf of Anthony Alba
[ascanio.alba7(a)gmail.com]
Sent: Thursday, September 25, 2014 5:56 PM
To: aayush agrawal
Cc: hpdd-discuss(a)ml01.01.org
Subject: Re: [HPDD-discuss] Not able to build lustre 2.5.0 against OFED.
Can you try ofed 2.3-1.0.1.
I did this for 2.5.3 / CentOS 6.5 and it worked. 6.4 should work too.
On 25 Sep 2014 23:36, "aayush agrawal"
<aayush.agrawal@calsoftinc.com<mailto:aayush.agrawal@calsoftinc.com>> wrote:
Hi,
I am trying to build lustre 2.5.0 against OFED but not able to compile lustre with OFED.
My CentOS version is 6.4, So I downloaded MLNX_OFED_LINUX-2.2-1.0.1-rhel6.4-x86_64.
# cat /etc/issue
CentOS release 6.4 (Final)
Kernel \r on an \m
Then I could run following commands successfully:
./mlnxofedinstall -vvv --add-kernel-support --without-32bit --without-fw-update --hpc
/etc/init.d/openibd restart
configure ib0 interface
After this I tried to compile lustre with OFED.
I could run ./configure --with-linux=Path_to_linux-2.6.32-358.18.1.el6
--with-o2ib=/usr/src/ofa_kernel/default/ command successfully.
But make command gave me below error:
In file included from include/trace/ftrace.h:440,
from include/trace/define_trace.h:73,
from
/root/rpmbuild/BUILD/lustre-2.5.0/ldiskfs/trace/events/ldiskfs.h:904,
from /root/rpmbuild/BUILD/lustre-2.5.0/ldiskfs/super.c:56:
/root/rpmbuild/BUILD/lustre-2.5.0/ldiskfs/trace/events/ldiskfs.h: In function
'ftrace_profile_enable_ldiskfs_free_inode':
/root/rpmbuild/BUILD/lustre-2.5.0/ldiskfs/trace/events/ldiskfs.h:18: error: implicit
declaration of function 'register_trace_ldiskfs_free_inode'
/root/rpmbuild/BUILD/lustre-2.5.0/ldiskfs/trace/events/ldiskfs.h: In function
'ftrace_profile_disable_ldiskfs_free_inode':
/root/rpmbuild/BUILD/lustre-2.5.0/ldiskfs/trace/events/ldiskfs.h:18: error: implicit
declaration of function 'unregister_trace_ldiskfs_free_inode'
.....
.....
I looked online for this error and found bug registered on the same:
https://jira.hpdd.intel.com/browse/LU-4266
I tried below patches suggested in the link one by one:
1.
http://review.whamcloud.com/#/c/8451/2
2.
http://review.whamcloud.com/#/c/9109
Both patches resolve earlier error but then gives below error:
CC [M]
/home/calsoft/common/lustre_2.5.0/lustre-2.5.0_InfinibandTrial/fresh/lustre-2.5.0_61/lnet/klnds/o2iblnd/o2iblnd.o
gcc: @EXTRA_OFED_INCLUDE@: No such file or directory
In my understanding this must be due to change in lustre version. The patches seems to be
for lustre version 2.5.2 and 2.6.0.
Could anyone please point me to corresponding patches for 2.5.0 or suggest if I am missing
anything in above explained procedure.
Thanks,
Aayush.
_______________________________________________
HPDD-discuss mailing list
HPDD-discuss@lists.01.org<mailto:HPDD-discuss@lists.01.org>
https://lists.01.org/mailman/listinfo/hpdd-discuss