FFTW3 does not build on Hopper

Issue #835 closed
Erik Schnetter created an issue

The thorn ExternalLibraries/FFTW3 does not build on Hopper. The error message is

Making all in tests
libtool: link: cc -no-gcc -g -debug all -traceback -msse3 -align -std=c99 -ansi_alias -U__STRICT_ANSI__ -o bench bench.o hook.o fftw-bench.o  ../.libs/libfftw3.a ../libbench2/libbench2.a -lm
../libbench2/libbench2.a(problem.o): In function `problem_parse':
/project/projectdirs/m152/schnette/hopper/Cvanilla/configs/sim/scratch/build/FFTW3/fftw-3.2.2/libbench2/problem.c:252: undefined reference to `__intel_sse2_strlen'
/project/projectdirs/m152/schnette/hopper/Cvanilla/configs/sim/scratch/build/FFTW3/fftw-3.2.2/libbench2/problem.c:253: undefined reference to `__intel_sse2_strcpy'
../libbench2/libbench2.a(my-getopt.o): In function `my_usage':
/project/projectdirs/m152/schnette/hopper/Cvanilla/configs/sim/scratch/build/FFTW3/fftw-3.2.2/libbench2/my-getopt.c:36: undefined reference to `__intel_sse2_strlen'
/project/projectdirs/m152/schnette/hopper/Cvanilla/configs/sim/scratch/build/FFTW3/fftw-3.2.2/libbench2/my-getopt.c:40: undefined reference to `__intel_sse2_strlen'
../libbench2/libbench2.a(my-getopt.o): In function `my_getopt':
/project/projectdirs/m152/schnette/hopper/Cvanilla/configs/sim/scratch/build/FFTW3/fftw-3.2.2/libbench2/my-getopt.c:102: undefined reference to `__intel_sse2_strlen'
/project/projectdirs/m152/schnette/hopper/Cvanilla/configs/sim/scratch/build/FFTW3/fftw-3.2.2/libbench2/my-getopt.c:103: undefined reference to `__intel_sse2_strncmp'

This is probably a configuration issue; this routine does exist, but the compiler may not be linking agains the libiomp5 or libirc libraries that define it.

Keyword:

Comments (2)

  1. Erik Schnetter reporter
    • changed status to resolved
    • removed comment

    The issue was that acml provides an outdated copy of libirc. The solution is to provide a non-outdated copy of libirc ourselves. Corrected in Simfactory.

  2. Log in to comment