Why is there such error "libibverbs: Warning: RLIMIT_MEMLOCK is 32768 bytes." when running mvapich2 jobs?

Solution Unverified - Updated -

Issue

Why is there such error "libibverbs: Warning: RLIMIT_MEMLOCK is 32768 bytes." when running mvapich2 jobs? The full error messages are:

[user1@hpc ~]$ /usr/lib64/mvapich2/1.4-gcc/bin/mpirun -n 1 ./cpi

libibverbs: Warning: RLIMIT_MEMLOCK is 32768 bytes.
    This will severely limit memory registrations.
Fatal error in MPI_Init:
Other MPI error, error stack:
MPIR_Init_thread(311).......: Initialization failed
MPID_Init(191)..............: channel initialization failed
MPIDI_CH3_Init(163).........:
MPIDI_CH3I_RDMA_init(225)...:
rdma_iba_hca_init(693): cannot create cq
rank 0 in job 1 hpc.pcm_36577   caused collective abort of all ranks
  exit status of rank 0: return_code 1

Environment

Red Hat HPC Solution 5.5

mvapich2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content