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

ifort11.1 on fedora 12

vinayaksps
Beginner
1,910 Views

I have installed fedora 12 on my laptop with x_86(64 Bit). Then I have installed l_cprof_p_11.1.064. After that when I ran the program I got the following messege

/opt/intel/Compiler/11.1/064/bin/intel64/fortcom: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
ifort: error #10273: Fatal error in /opt/intel/Compiler/11.1/064/bin/intel64/fortcom, terminated by 0x7f

I have followed solutions of this query which have been posted earlier on this issue, e.g., installing libstdc++ etc. It has been suggested in the reference guide that ifort is compatible for fedora 10 but there is no mention of fedora 12.

I wonder if there is any nicer way to get this problem fixed.

0 Kudos
14 Replies
Steven_L_Intel1
Employee
1,910 Views

Fedora 12 is not supported by ifort 11.1. You can try to make it work by locating and installing the compat-libstdc++ component that provides libstdc++.so.5. It's not clear to me if you did exactly that. The Release Notes also say:

If developing on an Intel 64 architecture system, some Linux distributions may require
installation of one or more of the following additional Linux components: ia32-libs,
lib32gcc1, lib32stdc++6, libc6-dev-i386, gcc-multilib

In general, you should assume that versions of Linux distributions different from what is listed in the Release Notes will not work, at least not without some additional effort on your part (if at all.) This is the way of Linux.
0 Kudos
Ron_Green
Moderator
1,910 Views
You should have read the article:

http://software.intel.com/en-us/articles/using-intelr-compilers-for-linux-under-fedora/

listed in the Knowledge Base column on the right hand side of this forum. As Steve mentions, FC12 is unsupported, however, I do try to keep our articles on various linux distros up to date with workarounds to get these unsupported distros to work (when possible).

thanks

ron
0 Kudos
hamid_mosaddeghi
Beginner
1,910 Views
hello Dear

I read this article and confused, ifort 11.1 prof install on fedora 12 yes or na? here say no but on article says yes????

please hekp me

I have fedora core 12 32bit andl_cprof_p_11.1.064.tgz and now how install it!!!!!!!??

thanks
0 Kudos
Ron_Green
Moderator
1,910 Views
Yes.

Before installation:

As root user, in a terminal window:
yum install gcc
yum install gcc-c++

Next, you will need to ensure that the 32-bit version of the standard C++ library, libstdc++.so.5 (typically found
in /usr/lib/ directory) is installed on the system. The Intel C++ and Fortran compilers for Linux installation require
the linkage to the 32-bit version of libstdc++.so.5 library on all Linux distributions. Failure to do so will result in
installation failure on library dependencies not met. For more details, refer to the article at:

http://software.intel.com/en-us/articles/performance-tools-for-software-developers-intel-compiler-10x-installation-failure-libstdc-failed-dependencies/

as root user, in a terminal window, install the compatibilty library libstdc++.so.5 for 32bit AND the 32bit glibc-devel libraries

yum install compat-libstdc++-33.i686 (note:FC11, compat-libstdc++-33.i586)
yum install glibc-devel.i686 (note:FC11, glibc-devel.i586)


Then run the installation.

ron
0 Kudos
hamid_mosaddeghi
Beginner
1,910 Views
thanks Dear Rolnald W.Green for answer

I do it, and edit /etc/bashrc
insert
export PATH=/opt/intel/Compiler/11.1/064/bin/ia32:${PATH}
export LD_LIBRARY_PATH=/opt/intel/Compiler/11.1/064/lib/ia32:${LD_LIBRARY_PATH}

and Ld path insert in /etc/ld.so.conf the typ /sbin/ldconfig -v

type in terminal which ifort >>> /opt/intel/Compiler/11.1/064/bin /ia32

now make program dl_ploy , I see this error

Permissible targets for this Makefile are:

nag-f95 (serial)
gfortran (serial)
cray-t3e (serial)
macosx (serial)
intel-linux-ifc (serial)
dec-alpha (serial)
dec-alpga-ev6 (serial)
alpha-linux (serial)
exemplar (serial)
hp-c240 (serial)
aix (serial)
rs6k (serial)
rs6k-pwr3 (serial)
pentium-absoft (serial)
pentium-portland (serial)
sg10k (serial)
sg2k (serial)
sg2k-r5k (serial)
sun-ultra (serial)

Please examine Makefile for details
[hamid@mosa srcmod]$ make intel-linux-ifc
make FC=ifc LD="ifc -o" FFLAGS="-c -O3 -w95 -w" \
LDFLAGS="-Vaxlib -static" \
EX=DLPOLY.X BINROOT=../execute seq
make[1]: Entering directory `/home/hamid/Desktop/dl_poly_2.10/srcmod'
ifc -c -O3 -w95 -w parse_module.f
make[1]: ifc: Command not found
make[1]: *** [parse_module.o] Error 127
make[1]: Leaving directory `/home/hamid/Desktop/dl_poly_2.10/srcmod'
make: *** [intel-linux-ifc] Error 2



0 Kudos
TimP
Honored Contributor III
1,910 Views
And what happens when you specify ifort rather than ifc? IIRC, Vaxlib was an option for ifort 6 and maybe 7.
0 Kudos
hamid_mosaddeghi
Beginner
1,910 Views
hello I add in /etc/profile

source /opt/intel/Compiler/11.1/064/bin/ifortvars.sh ia32

please help me

I do it, and edit /etc/bashrc
insert
export PATH=/opt/intel/Compiler/11.1/064/bin/ia32:${PATH}
export LD_LIBRARY_PATH=/opt/intel/Compiler/11.1/064/lib/ia32:${LD_LIBRARY_PATH}

and Ld path insert in /etc/ld.so.conf the typ /sbin/ldconfig -v

type in terminal which ifort >>> /opt/intel/Compiler/11.1/064/bin /ia32

now make program dl_ploy , I see this error

Permissible targets for this Makefile are:

nag-f95 (serial)
gfortran (serial)
cray-t3e (serial)
macosx (serial)
intel-linux-ifc (serial)
dec-alpha (serial)
dec-alpga-ev6 (serial)
alpha-linux (serial)
exemplar (serial)
hp-c240 (serial)
aix (serial)
rs6k (serial)
rs6k-pwr3 (serial)
pentium-absoft (serial)
pentium-portland (serial)
sg10k (serial)
sg2k (serial)
sg2k-r5k (serial)
sun-ultra (serial)

Please examine Makefile for details
[hamid@mosa srcmod]$ make intel-linux-ifc
make FC=ifc LD="ifc -o" FFLAGS="-c -O3 -w95 -w" \
LDFLAGS="-Vaxlib -static" \
EX=DLPOLY.X BINROOT=../execute seq
make[1]: Entering directory `/home/hamid/Desktop/dl_poly_2.10/srcmod'
ifc -c -O3 -w95 -w parse_module.f
make[1]: ifc: Command not found
make[1]: *** [parse_module.o] Er`/home/hamid/Desktop/dl_poly_2.10/srcmod'
make: *** [intel-linux-ifc] Error 127
make[1]: Leaving directory `/home
0 Kudos
mecej4
Honored Contributor III
1,910 Views
The name of the Intel Fortran compiler is currently 'ifort', not 'ifc'. Do one of the following before issuing the 'make' command:

1) In your shell, declare 'ifc' as an alias for 'ifort'. For example, if you use BASH, do

alias ifc=ifort

2) Edit the makefile and change "FC=ifc" to "FC=ifort" wherever the former occurs. Similarly, change < LD="ifc -o" > to < LD="ifort -o" >.

3) Create a soft link named 'ifc' to 'ifort' accessible somewhere along your $PATH, e.g.,

ln -s /opt/IFC11/bin/ifort /home/myhome/bin/ifc
0 Kudos
hamid_mosaddeghi
Beginner
1,910 Views
thanks
0 Kudos
theophile__tchakoua
1,910 Views

Hi!! All

Please I have a problem to run a program who content suroutine lapack and blas whit ifort. this is the massage:

ld: cannot find -lmkl_intel_lp64

how can I solve this problem??

Cordialy, tchaktheo

0 Kudos
theophile__tchakoua
1,910 Views

I'm using Kubuntu and Kubuntu 12.04
 

0 Kudos
Steven_L_Intel1
Employee
1,910 Views

tchaktheo, please ask in Intel® Math Kernel Library

0 Kudos
theophile__tchakoua
1,910 Views

I'm using Ubuntu and Kubuntu 12.04

0 Kudos
TimP
Honored Contributor III
1,910 Views

Tchakoua T. wrote:

Hi!! All

Please I have a problem to run a program who content suroutine lapack and blas whit ifort. this is the massage:

ld: cannot find -lmkl_intel_lp64

how can I solve this problem??

Cordialy, tchaktheo

These questions about mkl have little relationship to the prior content of the thread.  If you are using an ifort which is too old to support the -mkl option, have a look at the MKL link advisor https://software.intel.com/en-us/articles/intel-mkl-link-line-advisor

where you must enter the version of your MKL etc.

For one thing, the 32-bit version of MKL has no library named with lp64, as there is no contrasting ilp64 support.

0 Kudos
Reply