[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Octave and multi-processors
From: |
Andreas Weber |
Subject: |
Re: Octave and multi-processors |
Date: |
Sat, 14 Jan 2017 11:37:55 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.5.1 |
Am 13.01.2017 um 18:32 schrieb Clinton Winant:
> I use octave to run fluid mechanics flow solvers. These codes rely
> heavily on fft and the related scripts.
GNU Octave uses FFTW (if available at compiletime) and uses as many
threads as "nproc" returns (4 on my system).
You can tweak that setting with
fftw ("threads", NTHREADS)
If you are doing FFT with the same size again and again you should
create "wisdom" (see fftw page and help fftw in Octave)
In a nutshell: This will check what method is the fastest on your CPU
and create plans which then can be used from inside Octave.
If you run into problems we can create a wiki page for that topic, okay?
Hope that helps, Andy