![]() |
help regarding intel fortran compiler
hey i have installed intel fortran compiler and also added the path in .bashrc file.
on giving a command to compile like ifort new.for it gives an error - /Desktop$ ifort new.for /opt/intel/Compiler/11.1/064/bin/ia32/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/ia32/fortcom, terminated by 0x7f well m not able to understand that... new to linux plz help |
Install libstdc++.so.5. You neglected to mention what distro you are running. Is it Ubuntu like your profile says? What version!? Try installing libstdc++5 (or ia32-libs if you're 64-bit).
|
sudo apt-cache search libstdc++
sudo apt-get install libstdc++5 .. And if you have Ubuntu 9.10 or 10.04 : Get an Ubuntu 9.04 package → http://packages.ubuntu.com/jaunty/libstdc++5 → → Download libstdc++5 . |
Hi.
A data point: compiling a simple "hi.for" code with ifort, and looking at the libraries required with ldd yields: Code:
% ldd a.out The same kind of code, hi.cpp, with g++: Code:
% ldd a.out The compiler uses libraries: Code:
% ldd /opt/intel/Compiler/11.1/056/bin/intel64/ifortCode:
% ldd /usr/lib/libstdc++.so.6However, our platforms differ somewhat. Mine is: Code:
OS, ker|rel, machine: Linux, 2.6.26-2-amd64, x86_64 |
| All times are GMT -5. The time now is 07:42 PM. |