Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
告知
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
29285 ディスカッション

libiomp5.so problem after updating to Ubuntu 9.04

lessonfree
ビギナー
1,148件の閲覧回数
I just update my Ubuntu to 9.04. and I'm getting message after
./t62
./t62: error while loading shared libraries: libiomp5.so: cannot open shared object file: No such file or directory

no errors during compilation(ifort -openmp -o t62 t62.f90)

I'm using 11.0 / 074
libiomp5.so seems to be in directory /opt/intel/Compiler/11.0/074/lib/intel64
0 件の賞賛
7 返答(返信)
TimP
名誉コントリビューター III
1,148件の閲覧回数
Did you set LD_LIBRARY_PATH (recommended way is by source /opt/intel/Compiler/11.0/074/bin/ifortvars.sh,
same as when compiling).
Maybe you have an old fixed path in your setup.
lessonfree
ビギナー
1,148件の閲覧回数
Quoting - tim18
Did you set LD_LIBRARY_PATH (recommended way is by source /opt/intel/Compiler/11.0/074/bin/ifortvars.sh,
same as when compiling).
Maybe you have an old fixed path in your setup.
It works until I restart the computer. How to make it permanent?
lessonfree
ビギナー
1,148件の閲覧回数
Quoting - tim18
Did you set LD_LIBRARY_PATH (recommended way is by source /opt/intel/Compiler/11.0/074/bin/ifortvars.sh,
same as when compiling).
Maybe you have an old fixed path in your setup.
It works until I restart the computer. How to make it permanent?

Secondly. If I upgraded OS, does it mean that all my libraries were connected to the old core?
TimP
名誉コントリビューター III
1,148件の閲覧回数
Quoting - lessonfree
It works until I restart the computer. How to make it permanent?

Secondly. If I upgraded OS, does it mean that all my libraries were connected to the old core?
Maybe you had the source command for the compiler in a login script, such as .profile. Such things might be disturbed with the upgrade. If you upgraded the compiler, you may have several versions installed; if you were pointing to an older version of the shared libraries at run time, it may have worked up to a point.
If you used another mechanism, such as ldconfig, it very likely got changed without recognizing Intel software in the OS upgrade. You would have to update it with the current Intel library directory. I suppose it's easy to get messed up with software upgrades if using ldconfig.

lessonfree
ビギナー
1,148件の閲覧回数
Quoting - tim18
Maybe you had the source command for the compiler in a login script, such as .profile. Such things might be disturbed with the upgrade. If you upgraded the compiler, you may have several versions installed; if you were pointing to an older version of the shared libraries at run time, it may have worked up to a point.
If you used another mechanism, such as ldconfig, it very likely got changed without recognizing Intel software in the OS upgrade. You would have to update it with the current Intel library directory. I suppose it's easy to get messed up with software upgrades if using ldconfig.

how to find out? and how fix it?

lessonfree
ビギナー
1,148件の閲覧回数
Quoting - tim18
Maybe you had the source command for the compiler in a login script, such as .profile. Such things might be disturbed with the upgrade. If you upgraded the compiler, you may have several versions installed; if you were pointing to an older version of the shared libraries at run time, it may have worked up to a point.
If you used another mechanism, such as ldconfig, it very likely got changed without recognizing Intel software in the OS upgrade. You would have to update it with the current Intel library directory. I suppose it's easy to get messed up with software upgrades if using ldconfig.

I did not upgrade the compiler, I have upgrade only for Ubuntu(to 9.04). How about reinstallation of the compiler? If so how to remove it?
I'm probably asking too many questions, but I really do not know much about Linux.
lessonfree
ビギナー
1,148件の閲覧回数
Quoting - tim18
Maybe you had the source command for the compiler in a login script, such as .profile. Such things might be disturbed with the upgrade. If you upgraded the compiler, you may have several versions installed; if you were pointing to an older version of the shared libraries at run time, it may have worked up to a point.
If you used another mechanism, such as ldconfig, it very likely got changed without recognizing Intel software in the OS upgrade. You would have to update it with the current Intel library directory. I suppose it's easy to get messed up with software upgrades if using ldconfig.

file ld.so.conf in /etc
consist only one line
include /etc/ld.so.conf.d/*.conf

返信