diff options
author | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2025-04-05 20:50:12 -0300 |
---|---|---|
committer | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2025-04-05 20:50:12 -0300 |
commit | f65b97b96ec4111807222fd95057813a454a2bea (patch) | |
tree | 4e5162dca4347a5604ad207fd8cf81fcf48fc2fd /Makefile | |
parent | 8328c8294c144e30310c79e15c80a5bf06315bf0 (diff) | |
download | code-f65b97b96ec4111807222fd95057813a454a2bea.tar.gz code-f65b97b96ec4111807222fd95057813a454a2bea.tar.bz2 code-f65b97b96ec4111807222fd95057813a454a2bea.zip |
Enable multithreaded FFTW with openmp
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,6 +1,6 @@ all: walk correlations integrator fourier_integrator get_energy -CC := clang++ -std=c++17 -flto -Wno-mathematical-notation-identifier-extension -O3 -march=native -mtune=native -fopenmp +CC := clang++ -std=c++17 -flto -Wno-mathematical-notation-identifier-extension -O3 -march=native -mtune=native -fopenmp -DFFTW_THREADS=1 walk: walk.cpp $(CC) walk.cpp -o walk @@ -15,7 +15,7 @@ fourier.o: fourier.cpp fourier.hpp $(CC) fourier.cpp -c -o fourier.o fourier_integrator: fourier_integrator.cpp fourier.hpp fourier.o - $(CC) fourier_integrator.cpp fourier.o -lfftw3 -o fourier_integrator + $(CC) fourier_integrator.cpp fourier.o -lfftw3 -lfftw3_omp -o fourier_integrator get_energy: get_energy.cpp fourier.hpp fourier.o - $(CC) get_energy.cpp fourier.o -lfftw3 -o get_energy + $(CC) get_energy.cpp fourier.o -lfftw3 -lfftw3_omp -o get_energy |