Intel® MPI Library
Get help with building, analyzing, optimizing, and scaling high-performance computing (HPC) applications.
2242 Discussions

"Hello world" not running on MPI 2021.14

tuhh1996
Beginner
349 Views

Hi all, 

im pretty new to this forum - so I might ask some stupid questions. 

In the past, I have used the intel compiler a lot on my machine. But due to an update to opensuse leap 15.6, I have recently installed the newest intel one api, including the mpi version 2021.14. As always,  I tried to compile and run a simple "hello world" program first. It failed with 

 

 

MPIR_Init_thread(193)........: 
MPID_Init(1715)..............: 
MPIDI_OFI_mpi_init_hook(1673): 
create_vni_context(2258).....: OFI EP enable failed (ofi_init.c:2258:create_vni_context:Cannot allocate memory)
cnl7408@fds071:~/calc/testing> mpirun --version
Intel(R) MPI Library for Linux* OS, Version 2021.14 Build 20241121 (id: e7829d6)
Copyright 2003-2024, Intel Corporation.

 

 

 The program is 

 

 

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 compiled and executed the code with 

 

 

mpiifx test_mpi.f90
mpirun -n 2 ./a.out

 

 

A few month ago, on the same system (Opensuse Leap 15.4, and older intel mpi version) the programm was working ...  

Does someone has an idea what could cause an issue here?

Cheers,
Malte

0 Kudos
2 Replies
TobiasK
Moderator
230 Views

@tuhh1996 please provide more information about your HW/SW environment. Please provide the output of I_MPI_DEBUG=10 and I_MPI_HYDRA_DEBUG=1

0 Kudos
tuhh1996
Beginner
218 Views

Hi TobiasK, 

the issue is already resolved - I had to define the variable I_MPI_FABRICS="shm". 

Thanks anyway,
Malte 

0 Kudos
Reply