PGC-S-0000-Internal compiler error. support scalar members!

Hello:

What the following error message means?

PGC-S-0000-Internal compiler error. support scalar members! 10 (euler3d_cpu.c: 225)

The above error occurred while processing the following code section
by PGI Accelerator Compiler Linux version 11.5:

\

void compute_step_factor(int nelr, float variables[NELRNVAR], float areas[NELR], float step_factors[NELR])
{
int i;
float density;
struct float3S momentum;
float density_energy;
struct float3S velocity;
float speed_sqd;
float pressure;
float speed_of_sound;
#pragma acc region for parallel independent private(i, density, momentum, density_energy, velocity, speed_sqd, pressure, speed_of_sound)
copy(variables[0:NELR
NVAR-1], areas[0:NELR-1], step_factors[0:NELR-1])
for(i = 0; i < nelr; i++)
{
density = variables[NVAR*i + VAR_DENSITY];

momentum.x = variables[NVARi + (VAR_MOMENTUM+0)];
momentum.y = variables[NVAR
i + (VAR_MOMENTUM+1)];
momentum.z = variables[NVAR*i + (VAR_MOMENTUM+2)];

density_energy = variables[NVAR*i + VAR_DENSITY_ENERGY];
//compute_velocity(density, &momentum, &velocity);
velocity.x = momentum.x / density;
velocity.y = momentum.y / density;
velocity.z = momentum.z / density;

//speed_sqd = compute_speed_sqd(&velocity);
speed_sqd = velocity.xvelocity.x + velocity.yvelocity.y + velocity.zvelocity.z;
//pressure = compute_pressure(density, density_energy, speed_sqd);
pressure = (((float)GAMMA)-1.0f)
(density_energy - 0.5fdensityspeed_sqd);
//speed_of_sound = compute_speed_of_sound(density, pressure);
speed_of_sound = sqrtf(((float)GAMMA)*pressure/density);

// dt = float(0.5f) * sqrtf(areas_) / (||v|| + c)… but when we do time stepping, this later would need to be divided by the area, so we just do it all at once
step_factors = 0.5f / (sqrtf(areas) * (sqrtf(speed_sqd) + speed_of_sound));
}
}_

If I unpack the struct data, the error message disappears. Does this mean that PGI Accelerator compiler does not support struct data?
(If the above code is compiled as a serial CPU version, no error occurs; the error occurs only when compiled for GPU execution.)

Hi Seyong,

The internal compiler error is an issue with the compiler. Please send an example code that reproduces the error to PGI Customer Service (trs@pgroup.com) so we can get a better understanding of the problem.

Does this mean that PGI Accelerator compiler does not support struct data?

Basic stucts are support, however something specific to your code is causing the compiler error. Sending us a report would very much be appreciated.

Thanks,
Mat

when i need to compile flowwing code:

pragma acc region

pragma acc for parallel(4096)

for (i=dd;i<((int)length2+dd);i++) {


for (ii=0;ii<nb_tx2;ii++) {
rx_tmp.x = 0;
rx_tmp.y = 0;

for (j=0;j<nb_tx2;j++) {
for (l = 0;lchannel_length2*/23;l++) {
if ((i>=0) && (i-l)>=0) {
tx.x = tx_sig_re[j][i-l];
tx.y = tx_sig_im[j][i-l];
}
else {
tx.x =0;
tx.y =0;
}
rx_tmp.x += (tx.x * tompon[ii+(j2)][l].x) - (tx.y * tompon[ii+(j2)][l].y);
rx_tmp.y += (tx.y * tompon[ii+(j2)][l].x) + (tx.x * tompon[ii+(j2)][l].y);
} //l
} // j
// tx_sig_re[ii][i-dd] =rx_tmp.xpath_loss;
// rx_sig_im[ii][i-dd] = rx_tmp.y
path_loss;
/*
if ((ii==0)&&((i%32)==0)) {
printf("%p %p %f,%f => %e,%e\n",rx_sig_re[ii],rx_sig_im[ii],rx_tmp.x,rx_tmp.y,rx_sig_re[ii][i-dd],rx_sig_im[ii][i-dd]);
}
/
//rx_sig_re[ii] _= sqrt(.5)
(tx_sig_re[0] + tx_sig_re[1]);
//rx_sig_im[ii] = sqrt(.5)*(tx_sig_im[0] + tx_sig_im[1]);

} // ii
} // i

}

I have this message:



PGC-W-0109-Type specification of field padding64 ignored (/homes/benromdh/openair4G/openair1/PHY/LTE_TRANSPORT/dci.h: 412)
PGC-W-0109-Type specification of field rv2 ignored (/homes/benromdh/openair4G/openair1/PHY/LTE_TRANSPORT/dci.h: 412)
PGC-W-0109-Type specification of field ndi2 ignored (/homes/benromdh/openair4G/openair1/PHY/LTE_TRANSPORT/dci.h: 412)
PGC-W-0109-Type specification of field mcs2 ignored (/homes/benromdh/openair4G/openair1/PHY/LTE_TRANSPORT/dci.h: 412)
PGC-W-0109-Type specification of field tpmi ignored (/homes/benromdh/openair4G/openair1/PHY/LTE_TRANSPORT/dci.h: 412)
PGC-W-0109-Type specification of field rv1 ignored (/homes/benromdh/openair4G/openair1/PHY/LTE_TRANSPORT/dci.h: 412)
PGC-W-0109-Type specification of field ndi1 ignored (/homes/benromdh/openair4G/openair1/PHY/LTE_TRANSPORT/dci.h: 412)
PGC-W-0109-Type specification of field mcs1 ignored (/homes/benromdh/openair4G/openair1/PHY/LTE_TRANSPORT/dci.h: 412)
PGC-W-0109-Type specification of field tb_swap ignored (/homes/benromdh/openair4G/openair1/PHY/LTE_TRANSPORT/dci.h: 412)
PGC-W-0109-Type specification of field harq_pid ignored (/homes/benromdh/openair4G/openair1/PHY/LTE_TRANSPORT/dci.h: 412)
PGC-W-0109-Type specification of field dai ignored (/homes/benromdh/openair4G/openair1/PHY/LTE_TRANSPORT/dci.h: 412)
PGC-W-0109-Type specification of field TPC ignored (/homes/benromdh/openair4G/openair1/PHY/LTE_TRANSPORT/dci.h: 412)
PGC-W-0109-Type specification of field rballoc ignored (/homes/benromdh/openair4G/openair1/PHY/LTE_TRANSPORT/dci.h: 412)
PGC-W-0109-Type specification of field padding64 ignored (/homes/benromdh/openair4G/openair1/PHY/LTE_TRANSPORT/dci.h: 476)
PGC-W-0109-Type specification of field rv2 ignored (/homes/benromdh/openair4G/openair1/PHY/LTE_TRANSPORT/dci.h: 476)
PGC-W-0109-Type specification of field ndi2 ignored (/homes/benromdh/openair4G/openair1/PHY/LTE_TRANSPORT/dci.h: 476)
PGC-W-0109-Type specification of field mcs2 ignored (/homes/benromdh/openair4G/openair1/PHY/LTE_TRANSPORT/dci.h: 476)
PGC-W-0109-Type specification of field tpmi ignored (/homes/benromdh/openair4G/openair1/PHY/LTE_TRANSPORT/dci.h: 476)
PGC-W-0109-Type specification of field rv1 ignored (/homes/benromdh/openair4G/openair1/PHY/LTE_TRANSPORT/dci.h: 476)
PGC-W-0109-Type specification of field ndi1 ignored (/homes/benromdh/openair4G/openair1/PHY/LTE_TRANSPORT/dci.h: 476)
PGC-W-0109-Type specification of field mcs1 ignored (/homes/benromdh/openair4G/openair1/PHY/LTE_TRANSPORT/dci.h: 476)
PGC-W-0109-Type specification of field tb_swap ignored (/homes/benromdh/openair4G/openair1/PHY/LTE_TRANSPORT/dci.h: 476)
PGC-W-0109-Type specification of field harq_pid ignored (/homes/benromdh/openair4G/openair1/PHY/LTE_TRANSPORT/dci.h: 476)
PGC-W-0109-Type specification of field dai ignored (/homes/benromdh/openair4G/openair1/PHY/LTE_TRANSPORT/dci.h: 476)
PGC-W-0109-Type specification of field TPC ignored (/homes/benromdh/openair4G/openair1/PHY/LTE_TRANSPORT/dci.h: 476)
PGC-W-0109-Type specification of field rballoc ignored (/homes/benromdh/openair4G/openair1/PHY/LTE_TRANSPORT/dci.h: 476)
PGC-W-0109-Type specification of field rah ignored (/homes/benromdh/openair4G/openair1/PHY/LTE_TRANSPORT/dci.h: 476)
PGC-W-0109-Type specification of field padding ignored (/homes/benromdh/openair4G/openair1/PHY/LTE_TRANSPORT/uci.h: 46)
PGC-W-0109-Type specification of field pmi ignored (/homes/benromdh/openair4G/openair1/PHY/LTE_TRANSPORT/uci.h: 46)
PGC-W-0109-Type specification of field diffcqi2 ignored (/homes/benromdh/openair4G/openair1/PHY/LTE_TRANSPORT/uci.h: 46)
PGC-W-0109-Type specification of field cqi2 ignored (/homes/benromdh/openair4G/openair1/PHY/LTE_TRANSPORT/uci.h: 46)
PGC-W-0109-Type specification of field diffcqi1 ignored (/homes/benromdh/openair4G/openair1/PHY/LTE_TRANSPORT/uci.h: 46)
PGC-W-0109-Type specification of field cqi1 ignored (/homes/benromdh/openair4G/openair1/PHY/LTE_TRANSPORT/uci.h: 46)
PGC-S-0000-Internal compiler error. support scalar members! 20 (/homes/benromdh/openair4G/openair1/SIMULATION/TOOLS/multipath_channel.c: 169)
PGC-S-0000-Internal compiler error. support scalar members! 20 (/homes/benromdh/openair4G/openair1/SIMULATION/TOOLS/multipath_channel.c: 169)
PGC-S-0000-Internal compiler error. support scalar members! 20 (/homes/benromdh/openair4G/openair1/SIMULATION/TOOLS/multipath_channel.c: 169)
PGC-S-0000-Internal compiler error. support scalar members! 20 (/homes/benromdh/openair4G/openair1/SIMULATION/TOOLS/multipath_channel.c: 169)
PGC-S-0000-Internal compiler error. support scalar members! 20 (/homes/benromdh/openair4G/openair1/SIMULATION/TOOLS/multipath_channel.c: 169)
PGC-S-0000-Internal compiler error. support scalar members! 20 (/homes/benromdh/openair4G/openair1/SIMULATION/TOOLS/multipath_channel.c: 169)
PGC-S-0000-Internal compiler error. support scalar members! 20 (/homes/benromdh/openair4G/openair1/SIMULATION/TOOLS/multipath_channel.c: 169)
PGC-S-0000-Internal compiler error. support scalar members! 20 (/homes/benromdh/openair4G/openair1/SIMULATION/TOOLS/multipath_channel.c: 169)
PGC-S-0000-Internal compiler error. support scalar members! 20 (/homes/benromdh/openair4G/openair1/SIMULATION/TOOLS/multipath_channel.c: 169)
PGC-S-0000-Internal compiler error. support scalar members! 20 (/homes/benromdh/openair4G/openair1/SIMULATION/TOOLS/multipath_channel.c: 169)
PGC-S-0000-Internal compiler error. support scalar members! 20 (/homes/benromdh/openair4G/openair1/SIMULATION/TOOLS/multipath_channel.c: 169)
PGC-S-0000-Internal compiler error. support scalar members! 20 (/homes/benromdh/openair4G/openair1/SIMULATION/TOOLS/multipath_channel.c: 169)
PGC-S-0000-Internal compiler error. support scalar members! 20 (/homes/benromdh/openair4G/openair1/SIMULATION/TOOLS/multipath_channel.c: 169)
PGC-S-0000-Internal compiler error. support scalar members! 20 (/homes/benromdh/openair4G/openair1/SIMULATION/TOOLS/multipath_channel.c: 169)
PGC-S-0000-Internal compiler error. support scalar members! 20 (/homes/benromdh/openair4G/openair1/SIMULATION/TOOLS/multipath_channel.c: 169)
PGC-S-0000-Internal compiler error. support scalar members! 20 (/homes/benromdh/openair4G/openair1/SIMULATION/TOOLS/multipath_channel.c: 169)
PGC-S-0000-Internal compiler error. support scalar members! 20 (/homes/benromdh/openair4G/openair1/SIMULATION/TOOLS/multipath_channel.c: 169)
PGC-S-0000-Internal compiler error. support scalar members! 20 (/homes/benromdh/openair4G/openair1/SIMULATION/TOOLS/multipath_channel.c: 169)
PGC-S-0000-Internal compiler error. support scalar members! 20 (/homes/benromdh/openair4G/openair1/SIMULATION/TOOLS/multipath_channel.c: 169)
PGC-S-0000-Internal compiler error. support scalar members! 20 (/homes/benromdh/openair4G/openair1/SIMULATION/TOOLS/multipath_channel.c: 169)
PGC-S-0000-Internal compiler error. support scalar members! 20 (/homes/benromdh/openair4G/openair1/SIMULATION/TOOLS/multipath_channel.c: 169)
PGC-S-0000-Internal compiler error. support scalar members! 20 (/homes/benromdh/openair4G/openair1/SIMULATION/TOOLS/multipath_channel.c: 169)
PGC-S-0000-Internal compiler error. support scalar members! 20 (/homes/benromdh/openair4G/openair1/SIMULATION/TOOLS/multipath_channel.c: 169)
PGC-S-0000-Internal compiler error. support scalar members! 20 (/homes/benromdh/openair4G/openair1/SIMULATION/TOOLS/multipath_channel.c: 169)
PGC-S-0000-Internal compiler error. support scalar members! 20 (/homes/benromdh/openair4G/openair1/SIMULATION/TOOLS/multipath_channel.c: 169)
PGC-F-0008-Error limit exceeded (/homes/benromdh/openair4G/openair1/SIMULATION/TOOLS/multipath_channel.c: 169)


it happen just when i use ACC_