On 27 September 2016 at 21:05, Amit Itagi <[email protected]> wrote:

> Hello,
>
> I am looking at the Petsc FFT interfaces. I was wondering if a parallel
> FFT can be performed within a Petsc4Py code. If not, what would be the best
> way to use the Petsc interfaces for FFT from Petsc4Py ?
>
>
It should work out of the box by using mat.setType(Mat.Type.FFTW) before
setup of your matrix.


-- 
Lisandro Dalcin
============
Research Scientist
Computer, Electrical and Mathematical Sciences & Engineering (CEMSE)
Extreme Computing Research Center (ECRC)
King Abdullah University of Science and Technology (KAUST)
http://ecrc.kaust.edu.sa/

4700 King Abdullah University of Science and Technology
al-Khawarizmi Bldg (Bldg 1), Office # 0109
Thuwal 23955-6900, Kingdom of Saudi Arabia
http://www.kaust.edu.sa

Office Phone: +966 12 808-0459

Reply via email to