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
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.
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
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
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: