65#include "implicit_f.inc"
80 INTEGER,
INTENT(IN) :: siz1,siz2
81 real*4,
INTENT(IN) :: a(siz2,siz1)
85 INTEGER,
DIMENSION(:),
ALLOCATABLE :: tmp
86 INTEGER :: i,
checksum,root,s1,s2,two_power_16
96 IF(sizeof(a(1,1)) == 4) prec = 1
97 siz = siz1*siz2 * prec
101 tmp = transfer(a(1:siz2,1:siz1),s1,siz)
103 s1 = mod(s1 + tmp(i),root)
104 s2 = mod(s1 + s2 ,root)
107 checksum = ior(s2 * two_power_16,s1)
118#include "implicit_f.inc"
122#include "com01_c.inc"
123#include "com04_c.inc"
126#include "chara_c.inc"
127#include "units_c.inc"
132 INTEGER,
INTENT(IN) :: siz1,siz2
133 DOUBLE PRECISION,
INTENT(IN) :: a(siz2,siz1)
137 INTEGER,
DIMENSION(:),
ALLOCATABLE :: tmp
138 INTEGER :: i,
checksum,root,s1,s2,two_power_16
148 IF(sizeof(a(1,1)) == 4) prec = 1
149 siz = siz1*siz2 * prec
153 tmp = transfer(a(1:siz2,1:siz1),s1,siz)
155 s1 = mod(s1 + tmp(i),root)
156 s2 = mod(s1 + s2 ,root)
159 checksum = ior(s2 * two_power_16,s1)
174#include "implicit_f.inc"
178#include "com01_c.inc"
179#include "com04_c.inc"
182#include "chara_c.inc"
183#include "units_c.inc"
188 INTEGER,
INTENT(IN) :: siz1,siz2
189 INTEGER,
INTENT(IN) :: a(siz2
193 INTEGER,
DIMENSION(:),
ALLOCATABLE
194INTEGER :: i,
checksum,root,s1,s2,two_power_16
204 IF(sizeof(a(1,1)) == 4) prec = 1
205 siz = siz1*siz2 * prec
209 tmp = transfer(a(1:siz2,1:siz1),s1,siz)
211 s1 = mod(s1 + tmp(i),root)
212 s2 = mod(s1 + s2 ,root)
224!|| resol_alloc_phase1 ../engine/source/engine/resol_alloc.f90
233#include "implicit_f.inc"
235 INTEGER,
INTENT(IN) :: NUMNOD
236 integer,
intent(in) :: ispmd
237 INTEGER,
DIMENSION(:),
INTENT(IN) :: ITAB(NUMNOD)
subroutine prepare_debug(itab, numnod, ispmd)
integer ispmd_debug
processor id
integer ncycle_debug
Engine Cycle number.
pure integer function dp_checksum(a, siz1, siz2)
pure integer function sp_checksum(a, siz1, siz2)
integer, dimension(:), allocatable itab_debug
User Node Identifiers.
pure integer function int_checksum(a, siz1, siz2)