Dear Petsc developers,  I am using Petsc to solve a complex system ,AX=B. A is complex and B is real.   And the petsc was configured with  Configure options --download-mpich --download-fblaslapack=1 --with-cc=gcc --with-cxx=g++ --with-fc=gfortran
ZjQcmQRYFpfptBannerStart
This Message Is From an External Sender
This message came from outside your organization.
 
ZjQcmQRYFpfptBannerEnd
Dear Petsc developers, 

I am using Petsc to solve a complex system ,AX=B.

A is complex and B is real. 

And the petsc was configured with 
Configure options --download-mpich --download-fblaslapack=1 --with-cc=gcc --with-cxx=g++ --with-fc=gfortran --download-triangle --with-scalar-type=complex

A and B were also imported to matlab and the same system was solved.
The direct and iterative solver in matlab give the same result, which are quite different from the result from Petsc. 
A and B are attached. x from petsc is also attached. I am using only one processor. 

It is weird. 

Thanks a lot.

Xiaodong