3

The library itself compiles just fine with icc, but when I try to link to it (using icc for both the driver code and the linker), I get the same error that this question on stackoverflow is asking about.

I've heard that gsl is very specific to the gnu compiler. Can gsl be compiled and linked to with icc? What about other compilers, like Clang?

Dan
  • 3,355
  • 3
  • 21
  • 47

1 Answers1

4

We've built it with no problems with both GCC and the Intel compilers at TACC. According to ldd, libgsl.so is linked to libintlc.so which is the library that contains the SSE versions of the string routines. You might try explicitly linking to it with something like: -L/path/to/your/intel/libraries -lintlc.

Bill Barth
  • 10,905
  • 1
  • 21
  • 39
  • Even explicitly linking doesn't work, I still get the same error. – Dan Jun 07 '12 at 21:32
  • Not having access to your machine makes this harder to debug. You might try: find /path/to/your/intel/libraries -name '*.so'| xargs nm -DA | grep __intel_sse2_strcpy and then link to the library that resolves the symbol (i.e. has a 'T' in the second column). – Bill Barth Jun 12 '12 at 01:38