I have a question regarding the linking to petsc. I have a working petsc
        installation that I configure with
        
        ./config/configure.py --download-mpich=1\
                            --with-debugging=1 \
                            --with-scalar-type=complex\
                            --with-fc=0\
                            --download-c-blas-lapack=1\
                            --with-mpi-compilers=0
        
        If I want to use libmesh with this Petsc version I get the error
        messages like this during compilation:
        
        petsc_matrix.C:199: error: cannot convert ‘std::complex<double>’
        to
        ‘double __complex__’ for argument ‘4’ to ‘PetscErrorCode
        MatZeroRows(_p_Mat*, PetscInt, const PetscInt*, double
        __complex__)’
        
        include/utils/compare_types.h:185: error: template argument 2 is
        invalid
        include/utils/compare_types.h:185: error: wrong number of
        template
        arguments (1, should be 2)
        include/utils/compare_types.h:103: error: provided for
        ‘template<class
        S, class T> struct CompareTypes’
        
        so do I have to configure petsc with --with-clanguage=c++ etc.
        or is
        there any other way to make it work?
        
        Thanks,
        Jan


------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to