[petsc-users] [splec-3.2] cannot convert ‘std::complex<double>’ to ‘PetscReal’ in assignment

Kyunghoon Lee aeronova.mailing at gmail.com
Fri Oct 28 17:50:24 CDT 2011


Hi,

I got the following error for slepc-3.2-p0

ks-slice.c: In function ‘PetscErrorCode EPSKrylovSchur_Slice(_p_EPS*)’:
ks-slice.c:244: error: cannot convert ‘std::complex<double>’ to ‘PetscReal’
in assignment
ks-slice.c:257: error: cannot convert ‘std::complex<double>’ to ‘PetscReal’
in assignment
ks-slice.c:316: error: cannot convert ‘std::complex<double>’ to ‘PetscReal’
in assignment

I compiled petsc-3.2 with the following options:

Using PETSc configure options:
--prefix=/Users/aeronova/Development/local/lib64/petsc/petsc-3.2-p4
--download-mpich=1 --download-blacs=1 --download-parmetis=1
--download-scalapack=1 --download-mumps=1 --download-umfpack=1
--with-scalar-type=complex --with-clanguage=C++ --with-fc=g95
Using SLEPc

I hope someone can help me with this error.

Regards,
K. Lee.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20111029/0f967a51/attachment.htm>


More information about the petsc-users mailing list