C... -1 - STOP signal was received from another node because of error;
C... -2 - STOP signal was received from another node, because
C... the node's time was up.
- implicit real*8 (a-h,o-z)
+ implicit none
include 'DIMENSIONS'
integer nf
logical ovrtim
end
C--------------------------------------------------------------------------
logical function ovrtim()
+ implicit none
include 'DIMENSIONS'
include 'COMMON.IOUNITS'
include 'COMMON.TIME1'
- real*8 tcpu
+ real*8 tcpu,curtim
#ifdef MPI
include "mpif.h"
curtim = MPI_Wtime()-walltime
end
**************************************************************************
double precision function tcpu()
+ implicit none
include 'COMMON.TIME1'
+ double precision seconds
#ifdef ES9000
****************************
C Next definition for EAGLE (ibm-es9000)
end
C---------------------------------------------------------------------------
subroutine dajczas(rntime,hrtime,mintime,sectime)
+ implicit none
include 'COMMON.IOUNITS'
real*8 rntime,hrtime,mintime,sectime
+ integer ihr,imn,isc
hrtime=rntime/3600.0D0
- hrtime=aint(hrtime)
- mintime=aint((rntime-3600.0D0*hrtime)/60.0D0)
- sectime=aint((rntime-3600.0D0*hrtime-60.0D0*mintime)+0.5D0)
+ hrtime=dint(hrtime)
+ mintime=dint((rntime-3600.0D0*hrtime)/60.0D0)
+ sectime=dint((rntime-3600.0D0*hrtime-60.0D0*mintime)+0.5D0)
if (sectime.eq.60.0D0) then
sectime=0.0D0
mintime=mintime+1.0D0
end
C---------------------------------------------------------------------------
subroutine print_detailed_timing
- implicit real*8 (a-h,o-z)
+ implicit none
include 'DIMENSIONS'
#ifdef MPI
include 'mpif.h'
+ double precision time1
#endif
include 'COMMON.IOUNITS'
include 'COMMON.TIME1'
& " BCASTW",time_bcastw," ALLREDUCE",time_allreduce,
& " TOTAL",
& time_bcast+time_reduce+time_gather+time_scatter+
- & time_sendrecv+time_barrier+time_bcastc
+ & time_sendrecv+time_barrier_g+time_barrier_e+time_bcastc
write (*,*) "Processor",fg_rank,myrank," enecalc",time_enecalc
write (*,*) "Processor",fg_rank,myrank," sumene",time_sumene
write (*,*) "Processor",fg_rank,myrank," intfromcart",