On Thu, 5 Mar 2009, Ping Rong wrote:

> i downloaded latest version of libMesh code via svn, and compiled
> petsc-3.0.0-p3 by using following configuration
> --------------------------------------------------------------
> $./config/configure.py --with-cc=gcc \
>                     --with-fc=gfortran \
>                     --with-cxx=g++ \
>                     --with-mpi-compilers=0 \
>                     --with-shared=1 \
>                     --with-debugging=1 \
>                     --download-mpich=1 \
>                     --download-f-blas-lapack=1 \
>                     --with-scalar-type=complex

Try it with "--with-clanguage=c++?  There's multiple ways that PETSc
can support complex number calculations, and I believe libMesh (as
well as some C++ compilers) may only be compatible with the C++
standards like "std::complex<double>", not the new C standards like
"double complex".

Oh, and for future reference, installation/usage problems are more
appropriately directed to libmesh-users instead of libmesh-devel.
---
Roy

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to