Lustre is a scalable cluster filesystem popular on high performance compute clusters. See http://www.lustre.org for more information. lustre can use infiniband as one of its network transports in order to increase performance. The section describes how to compile lustre against the OFED infiniband stack.
Not all lustre versions are compatible with all OFED or kernel versions. Read the lustre release notes for which versions are supported.
Build a lustre patched kernel as per the instructions on the lustre wiki. Once you have build the kernel keep the configured source tree. It is required for the next step.
Build OFED modules against the newly build lustre patched kernel.
module-assistant prepare module-assistant clean ofa-kernel module-assistant -k/path/to/lustre/patched/kernel build ofa-kernel
Do not issue a "module-assistant clean" command after the build. The ofa-kernel-module source tree is needed for the next step.
You can now configure lustre to build against the lustre patched kernel and the ofa-kernel-module sources.
cd lustre-source ./configure --with-o2ib=/usr/src/modules/ofa-kernel --with-linux=/path/to/patched/linux/source \ --other-options