Running Low Latency Messaging on Linux over native InfiniBand, rmmTierInit() fails to allocate a port.
The following log event occurs during rmmTierInit():
13418 RMMT The RMM transmitter instance was not created because of a failure to allocate a port number.
The OFED implementation is not able to pin a large enough amount of memory.
Resolving the problem
Increase the memlock limits in /etc/security/limits.conf file.
When using the native InfiniBand implementation, you must increase the memlock limit so that he OFED implementation can pin a large amount of memory.
In order to increase the soft and hard memlock limits, add the following lines to the file /etc/security/limits.conf file:
<username or *> hard memlock <size in kbytes>
<username or *> soft memlock <size in kbytes>
To set unlimited space for all users, add the following lines to the file:
* soft memlock unlimited
* hard memlock unlimited
To set the limits for all users to 256MB, add the following lines to the file:
* soft memlock 262144
* hard memlock 262144