1 *CMZ : 03/11/94 15.43.38 by John Apostolakis CERN GP-MIMD 2
5 *. ******************************************************************
7 *. * Steering routine to process all the events *
9 *. * ==>Called by : <USER>, main program *
10 *. * Author R.Brun ********* *
12 *. ******************************************************************
14 #include "geant321/gcbank.inc"
15 #include "geant321/gcflag.inc"
16 #include "geant321/gcunit.inc"
17 #include "geant321/gctime.inc"
19 #if defined(CERNLIB_PARA)
20 #include "geant321/multiprox.inc"
26 *. ------------------------------------------------------------------
34 #if defined(CERNLIB_PARA)
35 * Parallel : Does not change nevent on nodes - using it as maximum
36 * number that one node can process and regulating
37 * end by end of input file ...
38 * For programs that have no input file, gprun should
39 * divide the total number of events evenly between tasks.
44 10 IF(IEVENT.LT.NEVENT) THEN
47 * Initialises event partition
51 * Process one event (trigger)
55 * Clear event partition
63 IF(ITIME.LE.0)GO TO 10
64 IF(MOD(IEVENT,ITIME).NE.0)GO TO 10
66 IF(TIMNOW.GT.TIMEND)GO TO 10
67 WRITE(CHMAIL,10000)TIMEND
73 10000 FORMAT(5X,'***** THE JOB STOPS NOW BECAUSE THE TIME LEFT IS LESS',
74 +' THAN ',F8.3,' SECONDS *****')