Skip to content

Instantly share code, notes, and snippets.

@hookenz
Last active November 2, 2018 02:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hookenz/61af2a46aa0004d856e48c7afbb79e5c to your computer and use it in GitHub Desktop.
Save hookenz/61af2a46aa0004d856e48c7afbb79e5c to your computer and use it in GitHub Desktop.
Getting infiniband going on Ubuntu

Infiniband setup for Linux

/etc/modules

rtc  

ib_ipoib  
ib_umad  
rdma_ucm  


#mlx4_ib  
#ib_sa  
#ib_cm  
#ib_umad  
#ib_addr  
#ib_uverbs  
#ib_ipoib  
#ib_ipath   
#ib_qib  
#rdma_ucm  ````

Install the Infiniband packages
sudo apt-get install opensm sudo apt-get install infiniband-diags

For development:

Install the RDMA library

  sudo apt-get install libibverbs-dev  

The infiniband device should appear as ib0 and can be configured in /etc/network/interfaces with a static IP in the normal way.

On Ubuntu 12.04:

sudo apt-et install libmthca1

The libmlx package is:

sudo dpkg -i libmlx4-1_1.0.4-1_amd64.deb  
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment