STATISTICS: Get 'statistics_interval' on all processes.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
This commit is contained in:
parent
68449d0ccc
commit
7ab1348259
@ -142,15 +142,15 @@ module statistics
|
|||||||
track_statistics = .false.
|
track_statistics = .false.
|
||||||
end select
|
end select
|
||||||
|
|
||||||
|
call get_parameter("statistics_interval", iintd)
|
||||||
|
iintd = max(1, iintd)
|
||||||
|
|
||||||
! only master process writes the files to the disk
|
! only master process writes the files to the disk
|
||||||
!
|
!
|
||||||
if (master) then
|
if (master) then
|
||||||
|
|
||||||
! process parameters
|
! process parameters
|
||||||
!
|
!
|
||||||
call get_parameter("statistics_interval", iintd)
|
|
||||||
iintd = max(1, iintd)
|
|
||||||
|
|
||||||
stmp = "off"
|
stmp = "off"
|
||||||
call get_parameter("statistics_append", stmp)
|
call get_parameter("statistics_append", stmp)
|
||||||
select case(trim(stmp))
|
select case(trim(stmp))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user