Skip to content

Commit

Permalink
Machine: Enable flushing by default
Browse files Browse the repository at this point in the history
  • Loading branch information
oschuett committed Feb 5, 2021
1 parent b603aa7 commit c565471
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/base/machine.F
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,9 @@ PURE FUNCTION m_cpuid_static() BIND(C)
END FUNCTION m_cpuid_static
END INTERFACE

! should only be set according to the state in &GLOBAL
LOGICAL, SAVE, PUBLIC :: flush_should_flush = .FALSE.
! Flushing is enabled by default because without it crash reports can get lost.
! For performance reasons it can be disabled via the input in &GLOBAL.
LOGICAL, SAVE, PUBLIC :: flush_should_flush = .TRUE.

CONTAINS

Expand Down

0 comments on commit c565471

Please sign in to comment.