Hi all,
I am testing /petsc-3.4.3/src/mat/examples/tests/ex121.c for FFTW convolution
in Petsc.
I simplified the example code by considering the tangent function of the real
space vector only, and got the following error when executing it:
[0]PETSC ERROR: --------------------- Error Message
------------------------------------[0]PETSC ERROR: Unknown type. Check for
miss-spelling or missing external package needed for type:see
http://www.mcs.anl.gov/petsc/documentation/installation.html#external![0]PETSC
ERROR: Unknown Mat type given: fftw![0]PETSC ERROR:
------------------------------------------------------------------------[0]PETSC
ERROR: Petsc Release Version 3.4.3, Oct, 15, 2013 [0]PETSC ERROR: See
docs/changes/index.html for recent updates.[0]PETSC ERROR: See docs/faq.html
for hints about trouble shooting.[0]PETSC ERROR: See docs/index.html for manual
pages.[0]PETSC ERROR:
------------------------------------------------------------------------[0]PETSC
ERROR: ./ex121 on a arch-linux2-c-debug named garuda.ce.caltech.edu by likunt
Sat Jul 5 16:07:13 2014[0]PETSC ERROR: Libraries linked from
/home/likunt/petsc-3.4.3/arch-linux2-c-debug/lib[0]PETSC ERROR: Configure run
at Sat Jul 5 13:01:11 2014[0]PETSC ERROR: Configure options
--with-scale-type=complex[0]PETSC ERROR:
------------------------------------------------------------------------[0]PETSC
ERROR: MatSetType() line 63 in src/mat/interface/matreg.c[0]PETSC ERROR:
MatCreateFFT() line 76 in src/mat/impls/fft/fft.c[0]PETSC ERROR: main() line 59
in src/mat/examples/tests/ex121.c
The error message shows lack of FFTW, but I am not sure how to include FFTW in
the external package. Your help is well appreciated.