]> git.uio.no Git - u/mrichter/AliRoot.git/blame - GEANT321/gparal/gptrig.F
Bugfix in AliPoints2Memory
[u/mrichter/AliRoot.git] / GEANT321 / gparal / gptrig.F
CommitLineData
fe4da5cc 1*CMZ : 02/11/94 15.22.20 by John Apostolakis CERN GP-MIMD 2
2*-- Author : John Apostolakis CERN GP-MIMD/2 Started: 13/07/94
3C------------------------------------------------------------------------
4C gptrig
5C Function: prints some default information about the number of
6C the event simulated, the node and the current RNG seeds.
7C
8C called by: gtrig (if PARALLEL switch is used)
9C------------------------------------------------------------------------
10#if defined(CERNLIB_PARA)
11 subroutine gptrig
12 implicit none
13#include "geant321/gcflag.inc"
14#include "geant321/multiprox.inc"
15#include "geant321/multseeds.inc"
16 integer isequence, idbg
17
18 idbg= 0
19
20c if (idbg) write( *, 10000) nprank, iseqnc, iseeda, iseedb
2110000 FORMAT (' --> Node',I4,' Before grndmq call. ',
22 & ' Sequence expected ', I5, ' Previous Seeds', 2I11 )
23
24 isequence = -1
25 call GRNDMQ( iseeda, iseedb, isequence, 'G' )
26
27 if(idbg) write( *, 10005) nprank, isequence
2810005 FORMAT (' --> Node',I4,' After grndmq call. ',
29 & ' Sequence returned ', I5 )
30
31c call GRNDMQ( iseeda, iseedb, iseqnc, 'G' )
32
33 write( *, 10010) nprank, ievent, iseeda, iseedb
3410010 FORMAT (' --> Node',I4,' Event',I7,' Seeds',2I11 )
35
36 return
37 end
62be6b28 38#else
39 SUBROUTINE GPTRIG_DUMMY
40 END
fe4da5cc 41#endif