- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I installed FC5 on my AMD 64 x2 computer and installed "l_fc_c_9.0.031" witha default setting.
I can compile the sample program, which is /doc/samples/int_sin.f90,without any error and compiler gave an executable file: a.out
And I typed ./a.out and press enter, then I get an error message as:
And I typed ./a.out and press enter, then I get an error message as:
./a.out: error while loading shared libraries: /opt/intel/fc/9.0/lib/libimf.so:
cannot restore segment prot after reloc: Permission denied
cannot restore segment prot after reloc: Permission denied
I havethe same error message when I execute it as a root. However, when I use the "gfortran" ( part of gcc), I can run the same program without any error and have an output successfully.
I badly expectto solve this problem. Please help !!
ksim.
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Are file permissions read and execute set? All .so files in /opt/intel/fc/9.0/lib/
should normally show permissions
-rwxr-xr-x
as they should have been set when you installed the compiler originally.
All parent directories also need read and execute permission.
should normally show permissions
-rwxr-xr-x
as they should have been set when you installed the compiler originally.
All parent directories also need read and execute permission.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Tim18, I really appreciate your response.
However, all .so files have an executable permissions in myopt/intel/~/lib dir.
But, fortuneately,I solved this problemchangingSELinux option by setting the line
SELINUX=disabled
in/etc/sysconfig/selinux file.
SELINUX=disabled
in/etc/sysconfig/selinux file.
Thanks again.
![](/skins/images/045A6C88D0527A93E76B179D7F5E2AFE/responsive_peak/images/icon_anonymous_message.png)
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page