Millepede-II V04-17-03
mpmon.f90
Go to the documentation of this file.
1
24
27 USE mpdef
28 IMPLICIT NONE
29
30 INTEGER(mpi) :: lun
31 INTEGER(mpi) :: nrep
32 INTEGER(mpi) :: nrepmi
33
34END MODULE mpmonpgs
35
42SUBROUTINE monini(l,n1,n2)
43 USE mpmonpgs
44
45 IMPLICIT NONE
46
47 INTEGER(mpi), INTENT(IN) :: l
48 INTEGER(mpi), INTENT(IN) :: n1
49 INTEGER(mpi), INTENT(IN) :: n2
50
51 CHARACTER (LEN=24) :: chdate
52
53 lun=l
54 nrep=n1
55 nrepmi=n2
56 CALL fdate(chdate)
57 WRITE(lun,*) ' Starting - ', chdate
58
59END SUBROUTINE monini
60
67SUBROUTINE monpgs(i)
68 USE mpmonpgs
69
70 IMPLICIT NONE
71
72 INTEGER(mpi), INTENT(IN) :: i
73
74 IF (i >= nrep) THEN
75 WRITE(lun,*) ' Index: ', i
76 nrep=nrep+min(nrep,nrepmi)
77 END IF
78
79END SUBROUTINE monpgs
80
82SUBROUTINE monend()
83 USE mpmonpgs
84
85 IMPLICIT NONE
86
87 CHARACTER (LEN=24) :: chdate
88
89 CALL fdate(chdate)
90 WRITE(lun,*) ' Ending - ', chdate
91
92END SUBROUTINE monend
subroutine monend()
End monitoring.
Definition: mpmon.f90:83
subroutine monpgs(i)
Progress monitoring.
Definition: mpmon.f90:68
subroutine monini(l, n1, n2)
Initialize monitoring.
Definition: mpmon.f90:43
Definition of constants.
Definition: mpdef.f90:24
Monitoring data.
Definition: mpmon.f90:26
integer(mpi) lun
output unit
Definition: mpmon.f90:30
integer(mpi) nrep
repetition rate
Definition: mpmon.f90:31
integer(mpi) nrepmi
repetition rate max increase
Definition: mpmon.f90:32