On Mon, Jul 27, 2020 at 3:08 AM Rubem Mondaini <rmonda...@csrc.ac.cn> wrote:
> Dears, > > I have tried to install the PETSc library on my machine and I am > failing. I have managed to install it on another one, which possess > similar configurations for the compilers, and there things do seem to be > very much fine. > > I am attaching the corresponding configure.log. Is there something > simple that I am missing? > Your configuration does not need C++, so you can use --with-cxx=0 If you want to fix it, the first thing to try is turning off autodetection --with-cxxlib-autodetect=0 which usually means you need something like --LIBS=-lstdc++ Thanks, Matt > Best, > > > -- What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead. -- Norbert Wiener https://www.cse.buffalo.edu/~knepley/ <http://www.cse.buffalo.edu/~knepley/>