BuildSystem for PETSc+TAO
Barry Smith
bsmith at mcs.anl.gov
Fri Dec 12 14:31:06 CST 2008
On Dec 12, 2008, at 1:50 PM, Lisandro Dalcin wrote:
> When using petsc-2.3.3+tao-1.9, TAO does require that PETSc be built
> with C++. I believe this is just because a PETSc built with C cannot
> always provide enough info to TAO makefiles about the C++ compiler...
> However, when PETSc is built with a external that requires C++/mpicxx,
> then it seems some C++ stuff is configured even when core PETSc is
> compiled with C/mpicc.
This is true.
>
>
> IMHO, this is a bit annoying, and could be done better and probably
> with no too much work...
What is annoying, that "some C++ stuff is configured even when
core PETSc is
>
> compiled with C/mpicc." or that "TAO does require that PETSc be built
> with C++."
>
>
> Could PETSc BuildSystem try to configure both C and C++ despite the
> actual value of --with-clanguage ?? Does this make sense?
In theory, of course, this is trivial. Because of its origins,
BuildSystem was
not designed to do a full proper configuration for both C and C++. It
would take some monkeying with the code and yes we cannot do that
before the release.
Barry
>
>
>
> --
> Lisandro Dalcín
> ---------------
> Centro Internacional de Métodos Computacionales en Ingeniería (CIMEC)
> Instituto de Desarrollo Tecnológico para la Industria Química (INTEC)
> Consejo Nacional de Investigaciones Científicas y Técnicas (CONICET)
> PTLC - Güemes 3450, (3000) Santa Fe, Argentina
> Tel/Fax: +54-(0)342-451.1594
>
More information about the petsc-dev
mailing list