On Nov 13, 2013, at 12:20 AM, Jed Brown wrote:

> Hui Zhang <[email protected]> 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.
> 
> grep PETSC_CLANGUAGE $PETSC_ARCH/include/petscconf.h

I got 

#ifndef PETSC_CLANGUAGE_C
#define PETSC_CLANGUAGE_C 1

You are right. I did not use upper case 'C++'. Try now. Thanks a lot!

> 
> 
> 
> What do you guys think: should we make the interfaces use std::complex
> when C99/Complex PETSc headers are include by C++?  The types are
> binary-compatible, but not functionally identical.


------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to