Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

When I excuete the a.out...

ksim_2003
Beginner
598 Views
Hi,
I installed Intel fortran V 9.0 on my AMD 64 machine and complie the sample program, int_sin.f90. But if I run the "a.out" file, I always havean error message as,
"error while loading shared libraries: /installed-dir/lib/libimf.so:
cannot restore segment prot after reloc: Permission denied"
Can anyone help me about this error?
Thank you
Ksim77
0 Kudos
2 Replies
ctierney42
Beginner
598 Views
Your problem is with the SELinux extensions. I ran the following to change the configuration. I am not sure what the command actually did, but it allowed my to execute my programs.

Assuming your intel compilers are in /opt/intel:

# chcon -t texrel_shlib_t `find . -name *.so`

This will change the security settings for all shared libraries for all intel compilers installed.

You can always disable SELinux as well.

Craig
0 Kudos
ctierney42
Beginner
598 Views
Sorry for following my own reply. The syntax of the command should have been:


# chcon -t texrel_shlib_t `find /opt/intel -name *.so`

Craig
0 Kudos
Reply