[petsc-dev] Compiling C code with C compiler

Sean Farley sean at mcs.anl.gov
Mon Apr 4 21:25:39 CDT 2011


>
> What did you expect when you used --with-clanguage=C++ for your buid? Or
> were you misunderstanding what this options means wrt PETSc build?


I understand what it was trying to do but it is necessary for sieve
(especially with certain mesh generators). Why does all of PETSc need to be
compiled with C++ in order to use sieve is the real question?

.c -> compiled with mpicc
.cxx -> compiled with mpicxx

Is there something else missing? (Perhaps linking?)

Sean
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20110404/e2e48507/attachment.html>


More information about the petsc-dev mailing list