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

Intel Fortran 9.0 install problem on Fedora Core 5 x64

jtime23
Beginner
667 Views
I am having problems on aFortran install on Fedora Core 5 x64. Fedora install via latest dvd iso file.
Two problem symptons:
(1) Compiler install record
IA-32 fortran installs successfully
IA-32 idb install fails
IA-64EMT compiler install fails
IA-64EMT idb installs successfully
(2) Intel sample prog won't run
Tried to run intel sample code int_sin.f90. Compiles, but loader reports error as
./a.out: error while loading shared libraries:
/opt/intel/fc/9.0/lib/libimf.so: cannot restore segment prot after reloc: Permission denied
I can go ahead and contact TechSupport directly, but thought I'd ask here first.
Thanks for any thoughts.
=========================================
Assorted info:
PC: Dell XPS400 with Dual core 830, 1GB
Fortran:Build 20051201Z Package ID: l_fc_c_9.0.031
Linux
# cat /proc/version
Linux version 2.6.16-1.2111_FC5 (
bhcompile@hs20-bc1-5.build.redhat.com) (gcc version 4.1.0 20060304 (Red Hat 4.1.0-3)) #1 SMP Thu May 4 21:16:04 EDT 2006
glibc:
# rpm -qa|grep glibc
glibc-devel-2.4-8
glibc-2.4-8
glibc-2.4-8
glibc-common-2.4-8
glibc-headers-2.4-8
glibc-kernheaders-3.0-5.2
glibc-devel-2.4-8
gcc version:
# gcc -v
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=x86_64-redhat-linux
Thread model: posix
gcc version 4.1.0 20060304 (Red Hat 4.1.0-3)

Message Edited by jtime23@aol.com on 05-20-200603:12 PM

0 Kudos
3 Replies
TimP
Honored Contributor III
667 Views
The gcc which corresponds to the 32-bit ifort is the 32-bit gcc (gcc -m32). You haven't given much evidence on whether you installed that, and the 32-bit compatibility libraries required by either 32- or 64-bit ifort.
gcc 4.1 is likely to be troublesome for ifort 9.0, particularly one that old; ifort 9.1 would have a better chance.
0 Kudos
jtime23
Beginner
667 Views

Thanks Tim; that gives me a place to start. I'll root around and check out the gcc vers & libs; also I'll download the 9.1 and give that a shot. Sorry if questions seem dumb, but last time I did one of these was IFC 7 or 8 on a Redhat9 and that was plain vanilla IA-32 Pentium 4. I'm a bit rusty.

Jon

PM

Message Edited by jtime23@aol.com on 05-20-200605:29 PM

0 Kudos
jtime23
Beginner
667 Views

Okay, things are working now in an acceptable fashion.

IA-32 still doesn't work - now can't find the libgcc_s_32 lib to compile. I couldn't find an rpm which has this libfor the gcc 4.1 compiler. Don't care, I don't need IA-32 - I just uninstalled it.

Install script (install.sh) still couldn't successfully install em64t.

So I went to the data directory created from I_fc*.gz and ran the rpm directly using the desktop file manager. This did dependency checking, found one additional needed library and downloaded from the net. (Missing lib was libstdc++.so.5, Fedora standard install installed libstdc++.so.6 .)

With all libraries now in order, I reran install.sh script (with overwrite options) just to install em64t and let it setthe various environment variables.

Little intel sample program now runs fine using em64t compiler. Ok.

Next thing will be to test idb, but that can wait til tomorrow.

Jon

Message Edited by jtime23@aol.com on 05-20-200608:55 PM

0 Kudos
Reply