Closed edoapra closed 2 years ago
some of the elements of GAstat struct contain nonsensical values
GAstat
numput_procs numget_procs numacc_procs numsca_procs numgat_procs
The root cause of the problem in the following code in onesided.c https://github.com/GlobalArrays/ga/blob/56443bb81df5f0e4118ca79f5aa3af30ca44ea76/global/src/onesided.c#L581
The line GAstat.numput_procs += np; is the culprit, since np is never set.
GAstat.numput_procs += np;
np
Older version of onesided.c got the np value out of pnga_locate_region(), but in current incarnation of onesided.c pnga_locate_region is no longer there.
onesided.c
pnga_locate_region(),
some of the elements of
GAstat
struct contain nonsensical valuesThe root cause of the problem in the following code in onesided.c https://github.com/GlobalArrays/ga/blob/56443bb81df5f0e4118ca79f5aa3af30ca44ea76/global/src/onesided.c#L581
The line
GAstat.numput_procs += np;
is the culprit, sincenp
is never set.Older version of
onesided.c
got thenp
value out ofpnga_locate_region(),
but in current incarnation of onesided.c pnga_locate_region is no longer there.