linking error: undefined reference to `_intel_fast_memcpy'

Post here if you have a question about linking your program with LAPACK or ScaLAPACK library

linking error: undefined reference to `_intel_fast_memcpy'

Postby hubloads » Thu Apr 25, 2013 4:52 pm

Hi:
I am new at lapack/scalapack and doing something terribly wrong while compiling or linking to my fortran 90 codes and getting a long list of errors.
For example, to make an executable 'test' I am using:
g95 -O3 -o test test.o liblapack.a librefblas.a libtmglib.a
This gives me a long list of errors...
dsyevx.f:(.text+0xdd8): undefined reference to `_intel_fast_memset'
dlacpy.f:(.text+0xa5): undefined reference to `_intel_fast_memcpy'
dormtr.f:(.text+0x4de): undefined reference to `for_concat'
dlarnv.f:(.text+0x493): undefined reference to `__svml_cos2'
....
This is probably not the correct way of linking them ?
Would someone kindly provide me some pointers as to the correct procedure ?
Thanks a lot,
Datta
hubloads
 
Posts: 2
Joined: Fri Aug 31, 2012 1:12 am

Re: linking error: undefined reference to `_intel_fast_memcp

Postby hubloads » Fri Apr 26, 2013 2:43 pm

Hi:
Just found a way around. The intel compiler 'ifort' gives the same error as 'g95'. But, intel does have a resolution for this:
linking intel support library 'libirc.lib'. So I can compile using the following:
ifort -O3 -I/mypathtointellibraries/intel64 -o test test.o liblapack.a librefblas.a libtmglib.a
Still don't know how to resolve this in g95 though.
Datta
hubloads
 
Posts: 2
Joined: Fri Aug 31, 2012 1:12 am


Return to Linking Problem

Who is online

Users browsing this forum: No registered users and 1 guest