Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation Error #353

Open
Juliya32 opened this issue May 6, 2024 · 3 comments
Open

Compilation Error #353

Juliya32 opened this issue May 6, 2024 · 3 comments

Comments

@Juliya32
Copy link

Juliya32 commented May 6, 2024

Hi ,
1)How can we compile the fftw test codes(/home/...../FFTW_SVE/fftw-3.3.10/tests/fftw-bench.c) in the arm directory with sve for
benchmarking.

  2) How to resolve this issue
      /opt/arm/armgcc/binutils_bin/ld: /tmp/ccTAlgm6.o: in function `done':
    /home/../fftw-3.3.10/tests/fftw-bench.c:283: undefined reference to `uninstall_hook'
    /opt/arm/armgcc/binutils_bin/ld: /tmp/ccTAlgm6.o: in function `cleanup':
   /home/../fftw-3.3.10/tests/fftw-bench.c:288: undefined reference to `initial_cleanup'
   undefined reference to `verbose'
    undefined reference to `timer_start'
    undefined reference to `bench_assertion_failed'
   
  3)Can you suggest any other codes for fftw benchmarking with sve.
  
  4)I tried with 1dimensional fftw code.but  while checking its assembly code sve registers and neon registers are not found.why?
@stevengj
Copy link
Contributor

stevengj commented May 6, 2024

What compile commands are you using? Are you using ./configure && make? With what options?

@Juliya32
Copy link
Author

Juliya32 commented May 7, 2024

Hi
This is my configuration command
1)./configure --prefix=/home/../FFTW_SVE/fftw-3.3.10/build/ --enable-sve --enable-neon --enable-fma --enable-armv8-cntvct-e10 --enable-threads --enable-shared --enable-single CC=gcc CFLAGS="-O3 -gdwarf-4 -mtune=native -march=armv8.2-a+sve -msve-vector-bits=512" CXXFLAGS="-Ofast -march=armv8.2-a+sve -sve-vector-bits=512" FC=gfortran FFLAGS="-g -O3 -march=armv8.2-a+sve -msve-vector-bits=512"
2)make
3)make install
gcc --version 12.2.0

@rdolbeau
Copy link
Contributor

rdolbeau commented Jul 3, 2024

If you're using one of my release for SVE, then the 'bench' binary in tests/ should be built by default, as for other fftw3 version.

It can be used for testing (in tests/ simply do "make check" or "make bigcheck" or ...) and benchmarking using the -s option, such as "./bench -omeasure -v2 -s ocf2048" which will test an (o)ut-of-place, (c)omplex, (f)forward 2048 pts FFT.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants