Before you can use your infiniband network you will need to install the OFED software on your infiniband client machines. You can choose to use the pre-build packages on alioth, or build your own packages straight from the alioth SVN repository.
Add the following lines to your sources.list file:
deb http://pkg-ofed.alioth.debian.org/apt/ofed ./ deb-src http://pkg-ofed.alioth.debian.org/apt/ofed ./
aptitude update aptitude install ofed
If you wish to build the OFED packages from the alioth svn repository, use the following procedure.
aptitude install svn-buildpackage build-essential devscripts
svn co svn://svn.debian.org/pkg-ofed/
The upstream source tarballs need to be available if you want to build pukka debian packages suitable for inclusion upstream. If you are simply building packages for your own use, you can ignore this step.
cd pkg-ofed mkdir tarballs
Original source tarballs can be downloaded from the repository:
apt-get source libibverbs
Alternatively, you can grab the source code directly from upstream.
Upstream source is distributed via SRPMS; you can use alien to convert them into tarballs.
cd into the package you wish to build. eg for libibcommon,
Link in the upstream tarballs directory (optional)
Run svn-buildpackage from within the trunk directory.
ln -s -f ../tarballs .
The build process will generate a deb in the build-area directory.
cd pkg-ofed/libibcommon/trunk svn-buildpackage -uc -us -rfakeroot
Repeat the process for the rest of the packages. Note that some packages have build dependancies on other OFED packages. The suggested build order is:
libibverbs libnes libcxgb3 libipathverbs libmlx4 libmthca librdmacm libibcm libibcommon libibumad libibmad libsdp dapl opensm infiniband-diags ibutils mstflint perftest qlvnictools qperf rds-tools sdpnetstat srptools tvflash ibsim mpitests ofed-docs ofa_kernel ofed