Ticket #27 (defect)
Opened 11 months ago
Last modified 10 months ago
array_declarators: invalid conversion of PTS to local pointer (RC2)
Status: closed (fixed)
| Reported by: | gary | Assigned to: | somebody |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | component1 | Version: | 1.0 |
| Keywords: | Cc: | bonachea@cs.berkeley.edu | |
The recently released verions of the array_declators test fails as follows:
UPC error: Invalid conversion of shared address to local pointer. Thread does not have affinity to shared address.
It fails at line 88:
88 pp = (int *) &A[BLOCKS * MYTHREAD];
The relevant declarations are:
#define N 5 #define BLOCKS 3 shared int A[N*THREADS]; shared[N] int B[N*THREADS];
The test fails for THREADS > 2. We routinely run with THREADS=4.
Given the declarations above, there is no guarantee that that &A[BLOCKS * MYTHREAD] has affinity to MYTHREAD.
Change History
11/05/07 20:41:24: Modified by apokayi
- status changed from new to closed.
- resolution set to fixed.

array A was meant to be array C actually. Typo was fixed.