Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29252 ディスカッション

When I excuete the a.out...

ksim_2003
ビギナー
595件の閲覧回数
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 件の賞賛
2 返答(返信)
ctierney42
ビギナー
595件の閲覧回数
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
ctierney42
ビギナー
595件の閲覧回数
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
返信