Re: [Libmesh-users] enable-complex, make error

2013-11-12 Thread Hui Zhang
On Nov 13, 2013, at 12:35 AM, Jed Brown wrote: > Hui Zhang writes: > >> On Nov 13, 2013, at 12:20 AM, Jed Brown wrote: >> >>> Hui Zhang writes: Note that I compiled petsc with --c-language=c++ and --with-petsc-scalar=complex. >>> >>> This option is spelled --with-clanguage=C++. M

Re: [Libmesh-users] enable-complex, make error

2013-11-12 Thread Hui Zhang
On Nov 13, 2013, at 12:20 AM, Jed Brown wrote: > Hui Zhang writes: >> Note that I compiled petsc with --c-language=c++ and >> --with-petsc-scalar=complex. > > This option is spelled --with-clanguage=C++. Mismatch between C++ > complex and C99 complex is likely the source of your other error.

Re: [Libmesh-users] enable-complex, make error

2013-11-12 Thread Hui Zhang
On Nov 12, 2013, at 11:55 PM, Roy Stogner wrote: > > On Tue, 12 Nov 2013, Hui Zhang wrote: > >> When I 'make' with complex enabled before in 'configure', I got the following >> >> ./include/libmesh/petsc_vector.h: In member function ‘void >> libMesh::PetscVector::zero() [with T = std::complex

Re: [Libmesh-users] enable-complex, make error

2013-11-12 Thread Roy Stogner
On Tue, 12 Nov 2013, Hui Zhang wrote: When I 'make' with complex enabled before in 'configure', I got the following ./include/libmesh/petsc_vector.h: In member function ‘void libMesh::PetscVector::zero() [with T = std::complex]’: src/numerics/numeric_vector.C:391: instantiated from here ./i

[Libmesh-users] enable-complex, make error

2013-11-12 Thread Hui Zhang
When I 'make' with complex enabled before in 'configure', I got the following ./include/libmesh/petsc_vector.h: In member function ‘void libMesh::PetscVector::zero() [with T = std::complex]’: src/numerics/numeric_vector.C:391: instantiated from here ./include/libmesh/petsc_vector.h:1008: error: