- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
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 kopiert
2 Antworten
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
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.
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
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.
Antworten
Themen-Optionen
- RSS-Feed abonnieren
- Thema als neu kennzeichnen
- Thema als gelesen kennzeichnen
- Diesen Thema für aktuellen Benutzer floaten
- Lesezeichen
- Abonnieren
- Drucker-Anzeigeseite