Tuesday, August 9, 2011

Encountering cannot restore segment prot after reloc during mpirun

If you encounter this error "Encountering cannot restore segment prot after reloc: permission denied " during a mpirun, this is due to the presence of SELinux setting is enabled on the server. In CentOS, you can disabled this setting by changing /etc/selinux to

SELINUX=disabled
To ensure the above commands take effect, you need to reboot.


If you do not wish to reboot just yet, You can using this command to prevent the current selinux from running
# /usr/sbin/setenforce 0

No comments: