Hi folks, I need to build a Firedrake-compatible FFTW. Where can I find all the correct C compiler libraries and mpich etc? all the best --cjc Professor Colin Cotter (he/him) Department of Mathematics 755, Huxley Building Imperial College London South Kensington Campus United Kingdom of Great Britain and Northern Ireland +44 2075943468
Ah it turns out that I can ask PETSc to do it. On 24 May 2020, at 17:10, Cotter, Colin J <colin.cotter@imperial.ac.uk> wrote:  Hi folks, I need to build a Firedrake-compatible FFTW. Where can I find all the correct C compiler libraries and mpich etc? all the best --cjc Professor Colin Cotter (he/him) Department of Mathematics 755, Huxley Building Imperial College London South Kensington Campus United Kingdom of Great Britain and Northern Ireland +44 2075943468
OK, new question! How do I ask PETSc to build FFTW via the Firedrake install script? ________________________________ From: firedrake-bounces@imperial.ac.uk <firedrake-bounces@imperial.ac.uk> on behalf of Cotter, Colin J <colin.cotter@imperial.ac.uk> Sent: 24 May 2020 17:38 To: firedrake <firedrake@imperial.ac.uk> Subject: Re: [firedrake] Firedrake compatible C compiling Ah it turns out that I can ask PETSc to do it. On 24 May 2020, at 17:10, Cotter, Colin J <colin.cotter@imperial.ac.uk> wrote:  Hi folks, I need to build a Firedrake-compatible FFTW. Where can I find all the correct C compiler libraries and mpich etc? all the best --cjc Professor Colin Cotter (he/him) Department of Mathematics 755, Huxley Building Imperial College London South Kensington Campus United Kingdom of Great Britain and Northern Ireland +44 2075943468
Thanks, probably you meant to insert a "python3" in there? ________________________________ From: Lawrence Mitchell <wencel@gmail.com> Sent: 24 May 2020 18:32 To: Cotter, Colin J <colin.cotter@imperial.ac.uk> Cc: firedrake <firedrake@imperial.ac.uk> Subject: Re: [firedrake] Firedrake compatible C compiling
On 24 May 2020, at 18:29, Cotter, Colin J <colin.cotter@imperial.ac.uk> wrote:
OK, new question!
How do I ask PETSc to build FFTW via the Firedrake install script?
Do PETSC_CONFIGURE_OPTIONS="--download-fftw=1" firedrake-install --normal-arguments Lawrence
Oh, I'd never noticed it actually has a #! line in there! ________________________________ From: Cotter, Colin J <colin.cotter@imperial.ac.uk> Sent: 24 May 2020 19:03 To: Lawrence Mitchell <wencel@gmail.com> Cc: firedrake <firedrake@imperial.ac.uk> Subject: Re: [firedrake] Firedrake compatible C compiling Thanks, probably you meant to insert a "python3" in there? ________________________________ From: Lawrence Mitchell <wencel@gmail.com> Sent: 24 May 2020 18:32 To: Cotter, Colin J <colin.cotter@imperial.ac.uk> Cc: firedrake <firedrake@imperial.ac.uk> Subject: Re: [firedrake] Firedrake compatible C compiling
On 24 May 2020, at 18:29, Cotter, Colin J <colin.cotter@imperial.ac.uk> wrote:
OK, new question!
How do I ask PETSc to build FFTW via the Firedrake install script?
Do PETSC_CONFIGURE_OPTIONS="--download-fftw=1" firedrake-install --normal-arguments Lawrence
For future reference, I discovered: (a) that PETSc builds FFTW by default, and further (b) PETSc has all the parallel FFT stuff implemented as a MATFFTW matrix class with wrappers in petsc4py. So all that conversation was unnecessary, sorry! ________________________________ From: Lawrence Mitchell <wencel@gmail.com> Sent: 24 May 2020 18:32 To: Cotter, Colin J <colin.cotter@imperial.ac.uk> Cc: firedrake <firedrake@imperial.ac.uk> Subject: Re: [firedrake] Firedrake compatible C compiling
On 24 May 2020, at 18:29, Cotter, Colin J <colin.cotter@imperial.ac.uk> wrote:
OK, new question!
How do I ask PETSc to build FFTW via the Firedrake install script?
Do PETSC_CONFIGURE_OPTIONS="--download-fftw=1" firedrake-install --normal-arguments Lawrence
Hi Colin,
On 25 May 2020, at 09:56, Cotter, Colin J <colin.cotter@imperial.ac.uk> wrote:
For future reference, I discovered: (a) that PETSc builds FFTW by default, and further (b) PETSc has all the parallel FFT stuff implemented as a MATFFTW matrix class with wrappers in petsc4py. So all that conversation was unnecessary, sorry!
A word of warning. Given the commit history for that code, I think this warning post from Barry is still relevant: https://lists.mcs.anl.gov/pipermail/petsc-dev/2016-August/019593.html So caveat emptor! Lawrence
participants (3)
- 
                
                Cotter, Colin J
- 
                
                Lawrence Mitchell
- 
                
                Lawrence Mitchell