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

undefined symbol: _intel_fast_memset

deinstein
Beginner
4,436 Views
Hello,
I recently installed the Intel FORTRAN compiler 8.0. I can compile and link my execuatable, without a hitch. However, when I try to run I receive this error:

/opt/intel_fc_80/lib/libguide.so: undefined symbol: _intel_fast_memset

I am running RH 8.0.

Any clues?

0 Kudos
7 Replies
TimP
Honored Contributor III
4,436 Views
Did you check (e.g. with ldd etc) to see that your run time environment sees the same versions of the dependent .so which go with the compiler version you used? My WAG is that you may have inconsistent .so versions, or that your installation is not up to date. You should not try to use the immediately available evaluation version. You shouldopen an evaluation account, in accordance with yourevaluation license instructions,and download the current evaluation version from premier.intel.com.
0 Kudos
deinstein
Beginner
4,436 Views
Thanks for the reply.
I had the 7.1 compiler still installed. I tried something. I switched the libguide.so from 7.1 to 8.0. Suddenly, the error message disappeared and the program started but froze. On the idea that maybe it was a bad idea to have two versions of the same compiler around, I uninstalled the 7.1 version. Now I am back to sqaure one as I get the same:
undefined symbol: _intel_fast_memset
here is some data for the current configuration:
These files exist:

file:/opt/intel_fc_80/lib/libguide.so

file:/opt/intel/mkl70/lib/32/libguide.so

file:/opt/intel/mkl70/lib/64/libguide.so

[einsteid@blue-morpho test]$ ldd ls970_5434

libguide.so => /opt/intel_fc_80/lib/libguide.so (0x40013000) libpthread.so.0 => /lib/i686/libpthread.so.0 (0x40050000) libc.so.6 => /lib/i686/libc.so.6 (0x42000000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

[einsteid@blue-morpho test]$

Any thoughts?

Best Regards,

0 Kudos
TimP
Honored Contributor III
4,436 Views
Installations of 7.1 and 8.0 don't interfere, but only one of them should be set up in PATH and LD_LIBRARY_PATH. If you set up 7.1 paths in bash.rc, for example, you should remove them. Right now, I can't find the IP address of my RH8 installation to check how it's set up. I'd still suggest you make sure your ifort installation is up to date; there were lots of bugs in early versions, including the one which appears on line.
0 Kudos
deinstein
Beginner
4,436 Views
Thanks again.
Where would I find the latest version? The version I downloaded was from the link in the license file that Intel sent me. Are there newer versions?
As for removing the 7.1 compiler from the path, I tried that. I even went so far as to completely remove 7.1 and all of its components. No dice. The libguide.so from version 7.1 seems to work a little bit. I am stumped.
Thanks
-Dan
0 Kudos
Steven_L_Intel1
Employee
4,436 Views
Unfortunately, the link in the license file gets you the original product release, not the latest version. That will change over the coming months.
To get the current version, register the serial number you were sent at http://developer.intel.com/software/products/support/register.htm Then you can log in to your Premier Support account and download the current version.
0 Kudos
TimP
Honored Contributor III
4,436 Views
If you downloaded your compiler installation from premier.intel.com, and your license hasn't expired, you should be able to get the latest version, which is 8.0.050. ifort -V will show l_fc_pc_8.0.046_pe050.1, meaning the 8.0.046 and the 050 patch are installed. You still haven't quoted your version. I doubt that fast_memcpy was broken any time recently, but patch049 did fix some bugs which prevented taking anOpenMPbuild from RH8 and running it on EL3.
It looks like your link should be gettingintel_fast_memcpy from the intel_fc_80/lib/libircmt.a. As there is no libircmt.so, it may need to be linked statically. I don't know what happens if the only reference to it is from libguide, and you link that dynamically.
If you want to check the library search order used in your link, add -# to the ifort options you use to link. If an ld option is needed to force fast_memcpy to link, even though you used ifort to drive the link, that might be a bug which you should report on premier.intel.com. First thing to try would be to add -lircmt at the end of the link command.
0 Kudos
deinstein
Beginner
4,436 Views
Thanks for your help.
I installed the latest patch (l_fc_pc_8.0.046_pe050.1.tar.gz ) with the latest compiler (l_fc_pc_8.0.046.tar.gz) and it did the trick.
0 Kudos
Reply