<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:΢ÈíÑźÚ
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi all,<div><br></div><div>I am testing /petsc-3.4.3/src/mat/examples/tests/ex121.c for FFTW convolution in Petsc.</div><div><br></div><div>I simplified the example code by considering the tangent function of the real space vector only, and got the following error when executing it:</div><div><br></div><div><div>[0]PETSC ERROR: --------------------- Error Message ------------------------------------</div><div>[0]PETSC ERROR: Unknown type. Check for miss-spelling or missing external package needed for type:</div><div>see http://www.mcs.anl.gov/petsc/documentation/installation.html#external!</div><div>[0]PETSC ERROR: Unknown Mat type given: fftw!</div><div>[0]PETSC ERROR: ------------------------------------------------------------------------</div><div>[0]PETSC ERROR: Petsc Release Version 3.4.3, Oct, 15, 2013 </div><div>[0]PETSC ERROR: See docs/changes/index.html for recent updates.</div><div>[0]PETSC ERROR: See docs/faq.html for hints about trouble shooting.</div><div>[0]PETSC ERROR: See docs/index.html for manual pages.</div><div>[0]PETSC ERROR: ------------------------------------------------------------------------</div><div>[0]PETSC ERROR: ./ex121 on a arch-linux2-c-debug named garuda.ce.caltech.edu by likunt Sat Jul 5 16:07:13 2014</div><div>[0]PETSC ERROR: Libraries linked from /home/likunt/petsc-3.4.3/arch-linux2-c-debug/lib</div><div>[0]PETSC ERROR: Configure run at Sat Jul 5 13:01:11 2014</div><div>[0]PETSC ERROR: Configure options --with-scale-type=complex</div><div>[0]PETSC ERROR: ------------------------------------------------------------------------</div><div>[0]PETSC ERROR: MatSetType() line 63 in src/mat/interface/matreg.c</div><div>[0]PETSC ERROR: MatCreateFFT() line 76 in src/mat/impls/fft/fft.c</div><div>[0]PETSC ERROR: main() line 59 in src/mat/examples/tests/ex121.c</div></div><div><br></div><div>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.</div><div><br></div> </div></body>
</html>