History log of /petsc/src/sys/logging/makefile (Results 1 – 25 of 89)
Revision Date Author Comments
# 6d8694c4 20-Mar-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2024-04-29/add-fortran-enums' into 'main'

Major updates to Fortran interface

See merge request petsc/petsc!7517


# ce78bad3 20-Feb-2025 Barry Smith <bsmith@petsc.dev>

Fortran 90: fully embrace After 34 years!

- deprecate use of 'F90' in Fortran function names
- use Fortran pointers when appropriate
- the new Fortran API is not backward compatible with previous ve

Fortran 90: fully embrace After 34 years!

- deprecate use of 'F90' in Fortran function names
- use Fortran pointers when appropriate
- the new Fortran API is not backward compatible with previous versions!
- also clean up inconsistent PETSc code detected by new Fortran generation tools
- drop use of bfort
- automatically generate all the Fortran PETSc objects, enums etc from the include files
- generate most of the Fortran interface definitions and functions from the source code
- simplify the number and organization of Fortran modules

Co-authored-by: Jose E. Roman <jroman@dsic.upv.es>

show more ...


# 60259892 26-Dec-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2023-12-22/rm-libbase' into 'main'

LIBBASE is no longer used in make so remove it

See merge request petsc/petsc!7139


# 9140fee1 22-Dec-2023 Barry Smith <bsmith@mcs.anl.gov>

LIBBASE is no longer used in make so remove it


# 360cdf6b 28-Oct-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2023-10-25/rename-rules-doc' into 'main'

Rename rules.doc and rules.utils because GitLab treats the former as a MS Word document.

See merge request petsc/petsc!6965


# cb5db241 25-Oct-2023 Barry Smith <bsmith@mcs.anl.gov>

Rename rules.doc and rules.utils because GitLab treats the former as a MS Word document.

Thanks-to: Jed Brown


# 97c047f8 25-Oct-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2023-10-18/rm-dirs-from-makefiles' into 'main'

Remove use of and the DIRS variables from the makefiles

See merge request petsc/petsc!6945


# 66af8762 18-Oct-2023 Barry Smith <bsmith@mcs.anl.gov>

Remove DIRS variable and unneeded tabs from all makefiles since no longer needed

Commit-type: housekeeping


# 6c37f76f 27-Jul-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'tisaac/feature-log-handler' into 'main'

Deglobalize logging into PetscLogHandler and PetscLogState

See merge request petsc/petsc!6709


# 19ef957c 13-Jul-2023 Toby Isaac <toby.isaac@gmail.com>

Profiling: Add PetscLogHandler interface

PetscStageLog tries to handle multiple ways of interpreting profiling
data:

* -log_view (default),
* -log_view ::ascii_xml and -log_view ::ascii_flamegraph

Profiling: Add PetscLogHandler interface

PetscStageLog tries to handle multiple ways of interpreting profiling
data:

* -log_view (default),
* -log_view ::ascii_xml and -log_view ::ascii_flamegraph (nested),
* -log_trace,
* -log_mpe,
* tau perfstubs (implicitly),
* nvidia

They can interact with petsc_logState in incompatible ways.

PetscLogHandler gives each handler its own interface so that
it can have its own data structures. They key operations
that a log handler can implement are:

- PetscLogHandlerEventBegin() / PetscLogHandlerEventEnd()
- PetscLogHandlerEventSync()
- PetscLogHandlerStagePush() / PetscLogHandlerStagePop()
- PetscLogHandlerObjectCreate() / PetscLogHandlerObjectDestroy()

The remaining operations are PetscObject standard functions,
with the except of `PetscLogHandlerSetState()` / `PetscLogHandlerGetState()`,
which control the `PetscLogState` that the handler can use to
get information about registered things and about the stage stack.

This change only introduces the type, it does not deploy it
to replace anything in the current profiling interface.
When it does, the user-defined log handling that was implemented
by setting callbacks in in PetscLogSet() will be replaced with
user-defined PetscLogHandler instances.

show more ...


# 6873511f 13-Jul-2023 Toby Isaac <toby.isaac@gmail.com>

Profiling: Add PetscLogState interface to describe events and stages

The design that is being implemented is a separation between the
logging state that is common to multiple log handlers and the lo

Profiling: Add PetscLogState interface to describe events and stages

The design that is being implemented is a separation between the
logging state that is common to multiple log handlers and the log
handlers themselves. This new interface PetscLogState will
become the replacement for PetscStageLog, but this change
only introduces it without deploying it.

Internally, PetscLogState is:

- A registry (PetscLogRegistry) of more-or-less immutable information
about stages, events, and classes that have been registered. The
registry is not exposed, but the registry entries (PetscLogEventInfo,
PetscLogStageInfo, PetscLogClassInfo), that I feel comfortable exposing
them (pass-by-copy) through PetscLogStateXXXGetInfo() functions.

- A stack of stages that have been pushed and popped

- A PetscBT describing the active/inactive state of logging stages
and events. I have kept the existing semantics of
PetscLogStateSetActive / PetscLogEventActivate /
PetscLogEventActivateClass, which is: if the stage is active
and the (event,stage) pair is active, then log handling proceeds.
This logic is encoded in PetscLogStateStageEventIsActive

- For symmetry I have added PetscLogClass that matches PetscLogStage
and PetscLogEvent

- The profiling interface is littered with ad hoc resizable array types
(PetscEventRegLog, PetscEventPerfLog, PetscClassPerfLog,
PetscStageLog). The intention is for these to go away. This commit
introduces a PetscHashMap-style macro constructor for resizable
arrays (PETSC_LOG_RESIZABLE_ARRAY). It is only used in implementing
these arrays: they do not appear in the public interface. Storage
could be switched to a hashmap or other backing storage at some point
in the future.

show more ...


# e6bb321c 26-Mar-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2023-03-17/rm-unneeded-test-from-makefiles' into 'main'

simplify/cleanup makefile system

See merge request petsc/petsc!6201


# aeb908f0 18-Mar-2023 Barry Smith <bsmith@mcs.anl.gov>

non-test and tutorial makefiles only need rules.doc not the full rules

Commit-type: documentation


# 27f49a20 18-Mar-2023 Barry Smith <bsmith@mcs.anl.gov>

Only makefiles in the test and tutorial directories need lib/petsc/conf/test

Commit-type: housekeeping


# 6a84ff42 17-Mar-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2023-03-14/rm-sourceh-from-makefiles' into 'main'

Remove unneeded SOURCE* from makefiles

See merge request petsc/petsc!6186


# 69f65dfb 14-Mar-2023 Barry Smith <bsmith@mcs.anl.gov>

Remove now unneeded SOURCE* variables from makefiles

Commit-type: configure, housekeeping


# 166fa825 14-Mar-2023 Barry Smith <bsmith@mcs.anl.gov>

Remove unneeded SOURCEH from makefiles

No longer used by docs or build


# 850ff99a 09-Mar-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jolivet/follow-up-6107-6113' into 'main'

Remove unneeded (empty) makefile variables

See merge request petsc/petsc!6132


# c8c5c547 02-Mar-2023 Pierre Jolivet <pierre@joliv.et>

Remove empty preprocessor variables


# 297cb52f 01-Mar-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2023-02-22/rm-locdir' into 'main'

Remove need for hardwired LOCDIR in all makefiles

See merge request petsc/petsc!6113


# 21e3ffae 23-Feb-2023 Barry Smith <bsmith@mcs.anl.gov>

Remove unneeded declarations of LOCDIR from all the makefiles

Commit-type:documentation


# faafb810 18-Sep-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'balay/misc-fixes' into 'main'

petsc4py: revert python3 requirement - as python2 is needed for docs/tarball generation

See merge request petsc/petsc!5620


# d1874862 16-Sep-2022 Satish Balay <balay@mcs.anl.gov>

makefile: fix typo - petsckdir.mk -> petscdir.mk


# 6ffe77ea 12-May-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2022-05-03/cleanup-makefiles' into 'main'

remove unneeded stuff from makefiles

See merge request petsc/petsc!5211


# 7bb670c6 03-May-2022 Barry Smith <bsmith@mcs.anl.gov>

Add -include */petscdir.mk to makefile that lacked it

for i in `git ls-files | grep makefile | xargs grep -L petscdir.mk`; do
echo $i ;
str=`echo $i |sed -e 's?[-a-zA-Z0-9]*/?../?g' -e 's?makef

Add -include */petscdir.mk to makefile that lacked it

for i in `git ls-files | grep makefile | xargs grep -L petscdir.mk`; do
echo $i ;
str=`echo $i |sed -e 's?[-a-zA-Z0-9]*/?../?g' -e 's?makefile?petsckdir.mk?g'` ;
cp $i tmp
echo "-include $str" > $i
cat tmp >> $i
done

Commit-type: makefile, housekeeping
/spend 15m

show more ...


1234