PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

Free OpenACC Webinar

PGF90-S-0000-Internal compiler error. unknown reference

 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Accelerator Programming
View previous topic :: View next topic  
Author Message
xlapillonne



Joined: 16 Feb 2011
Posts: 69

PostPosted: Thu Oct 13, 2011 1:02 am    Post subject: PGF90-S-0000-Internal compiler error. unknown reference Reply with quote

Hi,

While compiling a fortran code with pgi directives I am experiencing the following error:

Code:

PGF90-S-0000-Internal compiler error. unknown reference     437 (/project/s83/lapixa/GPU/turb_standalone_1/src/turbulence_tran.f90: 1476)


Would you have any suggestion on what could be triggering such error ?

The line number 1476 refers to the end of the routine, so it is not very helpful, while I don't know the meaning of the number 437 (is it a variable or a line number or error code ?).

I tried to had the following option -v -ta=keepgu:

Code:

/apps/eiger/pgi-11.8/linux86-64/11.8/bin/pgf902 /tmp/pgf90YuZfwkoGHnbg.ilm -fn /project/s83/lapixa/GPU/turb_standalone_1/src/turbulence_tran.f90 -opt 3 -inform inform -x 51 0x20 -x 119 0xa10000 -x 122 0x40 -x 123 0x1000 -x 127 4 -x 127 17 -x 19 0x400000 -x 28 0x40000 -x 120 0x10000000 -x 70 0x8000 -x 122 1 -x 125 0x20000 -quad -vect 60 -y 34 16 -x 34 0x8 -x 32 6291456 -y 19 8 -y 35 0 -x 42 0x30 -x 39 0x40 -x 39 0x80 -x 34 0x400000 -x 149 1 -x 150 1 -x 59 4 -x 59 4 -x 6 0x100 -tp istanbul -x 120 0x1000 -x 124 0x1400 -y 15 2 -x 57 0x3b0000 -x 58 0x48000000 -x 49 0x100 -x 120 0x200 -astype 0 -ieee 1 -inlib /tmp/pgf90suZf2Mnn_iav.ext -x 14 32 -x 124 1 -x 42 0x400000 -x 163 0x10001 -x 176 8 -accel nvidia -x 163 0x40 -x 163 8 -x 180 0x40 -x 176 0x140000 -x 177 0x0202007f -x 176 8448 -quad -x 119 0x10000000 -x 129 0x40000000 -x 129 2 -x 42 0x14200000 -y 39 1 -x 80 0x800000 -x 0 0x1000000 -x 2 0x100000 -x 0 0x2000000 -x 161 16385 -x 162 16385 -cmdline '+pgf90 /project/s83/lapixa/GPU/turb_standalone_1/src/turbulence_tran.f90 -c -I. -I/project/s83/lapixa/GPU/turb_standalone_1/src -I/apps/eiger/mvapich2/1.5.1p1/mvapich2-gnu/include -D__MPICH2 -v -Kieee -Mbyteswapio -Mfree -Mpreprocess -Minform=inform -D__COSMO__ -ta=nvidia,cc20,nofma,keepgpu -Mcache_align -Mflushz -Mlre -Mprefetch -Mpreprocess -Mscalarsse -Mvect=noassoc -Mvect=sse -O3 -Minline -Minfo=inline,accel -o turbulence_tran.o' -asm /tmp/pgf90IuZfM0tu53qg.s
  0 inform,   0 warnings,   0 severes, 0 fatal for turbulence_tran
executing /apps/eiger/pgi-11.8/linux86-64/11.8/bin/pgnvd turbulence_tran.001.gpu -computecap=20 -ptx /tmp/pgacc0yZfC_IrR0OB.ptx -o /tmp/pgaccuyZf8X6hlAW2.bin -3.2 -ptxinfo /tmp/pgacc0yZfCbrbUlZA.info
...
executing /apps/eiger/pgi-11.8/linux86-64/11.8/bin/pgnvd turbulence_tran.011.gpu -computecap=20 -ptx /tmp/pgacc0yZfCBZyRDAb.ptx -o /tmp/pgaccuyZf82oPlRSQ.bin -3.2 -ptxinfo /tmp/pgacc0yZfCUfnUero.info
PGF90-S-0000-Internal compiler error. unknown reference     437 (/project/s83/lapixa/GPU/turb_standalone_1/src/turbulence_tran.f90: 1476)
...
PGF90-F-0008-Error limit exceeded (/project/s83/lapixa/GPU/turb_standalone_1/src/turbulence_tran.f90: 1476)
PGF90/x86-64 Linux 11.8-0: compilation aborted
pgf90-Fatal-f902 completed with exit code 1

So it seems to be craching when compiling turbulence_tran.011.gpu where the kernel name is turbtran_1143_gpu. I don't see however anything obvious in the corresponding section in the fortran code.

Thanks for your help,

Xavier
Back to top
View user's profile
xlapillonne



Joined: 16 Feb 2011
Posts: 69

PostPosted: Fri Oct 14, 2011 1:50 am    Post subject: Reply with quote

ok , problem solved in the mean time.
We just installed pgi 11.9, which now gives the full list of kernel which were crashing (very usefull feature). When commenting them out I could then see the -Minfo messages.
It was caused by a scalar variable which was initialized in one kernel and further reuse later on in other kernel.
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Accelerator Programming All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group