1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-04-04 19:25:56 +01:00

Static required for shmem. Reading same object twice requires csum reset

This commit is contained in:
paboyle 2016-10-12 00:29:57 +01:00
parent 6b27c42dfe
commit a123dcd7e9

View File

@ -457,7 +457,7 @@ class BinaryIO {
// available (how short sighted is that?)
//////////////////////////////////////////////////////////
Umu = zero;
static uint32_t csum=0;
static uint32_t csum; csum=0;
fobj fileObj;
static sobj siteObj; // Static to place in symmetric region for SHMEM