Compiling issue

gfortran -DSET_NEL=120 -DSET_NX=4 -DSET_IT=1000 -DSET_FAC=1 -acc -ta=nvidia,time -Minfo=accel -Mcuda=keepgpu -fast -Mvect=simd:256 -DUR_RS -o dg_kernel_acc_caldera_pgi_RS_fac_1_nel_120_nx_4_it_1000 dg_kernel.F90
gradofdg:
237, Generating create(grad(:,:))
Generating copyin(dt)
Generating copyin(delta(:,:))
Generating copyin(der(:,:))
Generating copyin(gw(:))
Generating copy(fly(:,:))
Generating copy(flx(:,:))
240, Generating present_or_copy(fly(:,:))
Generating present_or_copyin(der(:,:))
Generating present_or_copy(flx(:,:))
Generating present_or_copyin(delta(:,:))
Generating present_or_copyin(gw(:))
Generating present_or_create(grad(:,:))
242, Loop is parallelizable
247, Loop is parallelizable
Accelerator kernel generated
242, !$acc loop gang(??), vector(4) ! blockidx%y threadidx%y
247, !$acc loop gang, vector(64) ! blockidx%x threadidx%x
251, Loop is parallelizable
296, Generating present_or_create(grad(:,:))
Generating present_or_copy(flx(:,:))
Generating present_or_copy(fly(:,:))
298, Loop is parallelizable
303, Loop is parallelizable
Accelerator kernel generated
298, !$acc loop gang(??), vector(4) ! blockidx%y threadidx%y
303, !$acc loop gang, vector(64) ! blockidx%x threadidx%x
/tmp/pgfortranz10lSL1XgZJ.s: Assembler messages:
/tmp/pgfortranz10lSL1XgZJ.s:5448: Error: symbol `.BSS3’ is already defined

$ pgfortran --version

pgfortran 12.10-0 64-bit target on x86-64 Linux -tp sandybridge
Copyright 1989-2000, The Portland Group, Inc. All Rights Reserved.
Copyright 2000-2012, STMicroelectronics, Inc. All Rights Reserved.
/glade/u/ssg/ys/opt/pgi/12.10/linux86-64/12.10/lib/f90main.o: In function main': f90main.c:(.text+0x40): undefined reference to MAIN_’


Any help is appreciated

/tmp/pgfortranz10lSL1XgZJ.s:5448: Error: symbol `.BSS3’ is already defined

Sorry, I haven’t seen this error before so I’d need a reproducing test case to tell what’s wrong. Can you either post or send an example to PGI Customer Service (trs@pgroup.com)?

Thanks,
Mat