[petsc-users] compiling PETSc using c++ compiler

Lisandro Dalcin dalcinl at gmail.com
Wed Oct 7 04:26:25 CDT 2020


On Wed, 7 Oct 2020 at 02:45, Sam Guo <sam.guo at cd-adapco.com> wrote:

>    I want to experiment c++ compiler to see if I can compile real and
> complex versions to different symbols (I've created another thread for this
> topic.) but it seems c++ compiler does not help and I still get same
> symbols.
>
>
Indeed, that is not going to make it. Or you have to change the definition
of PETSC_EXTERN, such that it does not use `extern "C"`.  Even with that,
you may have trouble with EXTERN_C_BEGIN/END macros.

-- 
Lisandro Dalcin
============
Senior Research Scientist
Extreme Computing Research Center (ECRC)
King Abdullah University of Science and Technology (KAUST)
http://ecrc.kaust.edu.sa/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20201007/b3551c5c/attachment.html>


More information about the petsc-users mailing list