# Rocky Linux 8 using IntelMPI occur error when normal users, good in root usr

**URL:** <https://forums.rockylinux.org/t/rocky-linux-8-using-intelmpi-occur-error-when-normal-users-good-in-root-usr/16769>\
**Category:** Rocky Linux Help & Support\
**Tags:** rocky-linux-8, intel\
**Created:** [December 7, 2024, 1:52pm UTC](https://forums.rockylinux.org/t/rocky-linux-8-using-intelmpi-occur-error-when-normal-users-good-in-root-usr/16769 "2024-12-07T13:52:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![haoyahao3](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/haoyahao3/32/4840_2.png) [@haoyahao3](https://forums.rockylinux.org/u/haoyahao3)\
**Post date:** [December 7, 2024, 1:52pm UTC](https://forums.rockylinux.org/t/rocky-linux-8-using-intelmpi-occur-error-when-normal-users-good-in-root-usr/16769/1 "2024-12-07T13:52:01Z")

</div>

Here is a strange error when using IntelMPI:  
After successful install and using IntelMPI runtime and complier, I have complied the fowllowing codes for mpi:

```auto
PROGRAM hello_world_mpi

include 'mpif.h'

 

integer process_Rank, size_Of_Cluster, ierror, tag

 

call MPI_INIT(ierror)

call MPI_COMM_SIZE(MPI_COMM_WORLD, size_Of_Cluster, ierror)

call MPI_COMM_RANK(MPI_COMM_WORLD, process_Rank, ierror)

 

print *, 'Hello World from process: ', process_Rank, 'of ', size_Of_Cluster

 

call MPI_FINALIZE(ierror)

END PROGRAM

```

I have complied it by using intel ifork complier by

```auto
 mpiifort hello.f90 -o hello

```

Then when I try to run such program as root user:

```auto
> mpirun -n 2 ./hello

 Hello World from process: 1 of 2
 Hello World from process: 0 of 2

```

**Everything goes right in root user.**  
When I try to run this in any other user, it get:

```auto
> mpirun -n 2 ./hello

[1733578910.431461221] RFRLServer7:rank89.hello: Unable to create send CQ of size 5080 on mlx5_bond_0: Cannot allocate memory
[1733578910.433054057] RFRLServer7:rank89.hello: Unable to initialize verbs NIC /sys/class/infiniband/mlx5_bond_0 (unit 0:0)
RFRLServer7:rank89: PSM3 can't open nic unit: 0 (err=23)
Abort(1615247) on node 0 (rank 0 in comm 0): Fatal error in PMPI_Init: Unknown error class, error stack:
MPIR_Init_thread(193)........: 
MPID_Init(1715)..............: 
MPIDI_OFI_mpi_init_hook(1673): 
create_vni_context(2242).....: OFI endpoint open failed (ofi_init.c:2242:create_vni_context:Invalid argument)

```

It seems a wrong in this.  
The ifork information:  
ifort (IFORT) 2021.13.1 20240703  
The complier is 2024.2.  
The intel MPI is Intel(R) MPI Library for Linux\* OS, Version 2021.14 Build 20241121 (id: e7829d6)  
My cpu is Intel(R) Xeon(R) Platinum 8360H CPU @ 3.00GHz.  
The sysmtem is rocky linux 8.10.  
Is there anyone could help me with this problem?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/rockylinux/original/1X/91b7219eec10e30013422e4df76c1d898711a5d5.svg) [@system](https://forums.rockylinux.org/u/system)\
**Post date:** [February 5, 2025, 1:52pm UTC](https://forums.rockylinux.org/t/rocky-linux-8-using-intelmpi-occur-error-when-normal-users-good-in-root-usr/16769/2 "2025-02-05T13:52:49Z")

</div>

Closed on February 5, 2025, 1:52pm UTC

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
