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

error while loading shared libraries: libmpi_dbg.so.4: cannot restore segment prot aft

srinivasan_G_1
Beginner
1,142 Views

Hi,

I have installed INTEL parallel studio XE cluster edition on our 10 Node cluster machine. I'm able to compile using mpiicc but when i try to run my code using mpirun i'm getting error like this 

"error while loading shared libraries: /app/intelMPI//impi/4.1.3.048/intel64/lib/libmpi_dbg.so.4: cannot restore segment prot after reloc: Permission denied"

I have checked my environment varibles path in .bashrc file, i've properly declared the LD_LIBRARY_PATH in .bashrc file. i dont know exactly what is happening. 

0 Kudos
1 Solution
Artem_R_Intel1
Employee
1,142 Views

Hi Srinivasan,

Could you please check SELinux status on your system? If it's enabled try to disable it or configure SELinux to allow libmpi_dbg.so.4 execution.

View solution in original post

0 Kudos
2 Replies
Artem_R_Intel1
Employee
1,143 Views

Hi Srinivasan,

Could you please check SELinux status on your system? If it's enabled try to disable it or configure SELinux to allow libmpi_dbg.so.4 execution.

0 Kudos
srinivasan_G_1
Beginner
1,142 Views

Thanks artem, 

SELINUX was enabled. I disabled selinux, its now working.  

0 Kudos
Reply