1219820SjeffThis README is for userspace cm library.
2219820Sjeff
3219820SjeffBuilding
4219820Sjeff
5219820SjeffTo make this directory, run:
6219820Sjeff./autogen.sh && ./configure && make && make install
7219820Sjeff
8219820SjeffTypically the autogen and configure steps only need be done the first
9219820Sjefftime unless configure.in or Makefile.am changes.
10219820Sjeff
11219820SjeffLibraries are installed by default at /usr/local/lib.
12219820Sjeff
13219820SjeffDevice files
14219820Sjeff
15219820SjeffThe userspace CM uses a device file per adapter present.
16219820Sjeff
17219820SjeffTo create the appropriate character device file automatically with
18219820Sjeffudev, a rule like
19219820Sjeff
20219820Sjeff    KERNEL="ucm*", NAME="infiniband/%k", MODE="0666"
21219820Sjeff
22219820Sjeffcan be used.  This will create the device node named
23219820Sjeff
24219820Sjeff    /dev/infiniband/ucm0
25219820Sjeff
26219820Sjefffor the first HCA in the system, or you can create it manually
27219820Sjeff
28219820Sjeff  mknod /dev/infiniband/ucm0 c 231 224
29