[petsc-dev] Configure issue, PETSC_USE_SOCKET_VIEWER not defined

Lisandro Dalcin dalcinl at gmail.com
Thu Jul 18 05:21:18 CDT 2019


PETSC_USE_SOCKET_VIEWER is no longer defined in petsconf.h when configuring
on my Fedora 30.

I think the problem started in the following commit, the parent of this one
seems to be OK.

commit 2475b7ca256cea2a4b7cbf2d8babcda14e5fa36e
Author: Barry Smith <bsmith at mcs.anl.gov>
Date:   Sun Jun 30 02:41:52 2019 -0500

    Remove testing and inserting into petscconf.h items that are not
actually used by PETSc

    1) PETSC_HAVE_LIBXXXX - which was rarely used
       be careful with the package libpng and libjpeg since they have lib
in the name of the package
    2) various system include files that are never used or always exist:
for example stdlib.h
    3) various system functions that are never used or always exist
    4) fixes for requires for MUMPS and SuperLU_DIST when dependent
packages are installed or not installed (unrelated to the rest of this pull
request)
    5) packages that always exist such as PETSC_HAVE_BLASLAPACK, or are not
used by PETSc such as PETSC_HAVE_NETCFD
    6) remove a couple of uses of HAVE_LIB* in the code that were not
needed by adjusting the configure code slightly
    7) remove all the #if guards for each entry in petscconf.h since
petscconf.h already has a guard and
       the values are never defined else where the extra guards just make
the file cluttered

    For a build with about 10 external packages this reduced the size of
petscconf.h from 1236 lines to 828/4 around 220 entries.

    Commit-type: style-fix, cleanup

    Reported-by: Jed Brown <jed at jedbrown.org


-- 
Lisandro Dalcin
============
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-dev/attachments/20190718/3bfaccee/attachment-0001.html>


More information about the petsc-dev mailing list