PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

Free OpenACC Webinar

Vector intrinsic problem in pgf90 6.0

 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling
View previous topic :: View next topic  
Author Message
Davide



Joined: 02 Aug 2004
Posts: 5
Location: Bologna, Italy

PostPosted: Mon May 30, 2005 1:19 am    Post subject: Vector intrinsic problem in pgf90 6.0 Reply with quote

Dear colleagues, since PGI version 6.0 (even tried last update 6.0-4) I have trouble with the following simple f90 program which formerly worked:

Code:

PROGRAM bugpg6
INTEGER,PARAMETER :: ke=12
INTEGER :: i,b(ke)
REAL :: hhl_z(ke)

hhl_z(:)=1
b=NINT(hhl_z(ke:1:-1))      ! works
PRINT*,b                    ! works
PRINT*,NINT(hhl_z(ke:1:-1)) ! segfault

END PROGRAM bugpg6


regardless of compilation options. gdb gives the following output:

Code:

(gdb) run
Starting program: /automount/nfs/spino_home/.mod/cesari/lokal/lm_z/src/baco
            1            1            1            1            1            1
            1            1            1            1            1            1
            1            1            1            1            1            1

Program received signal SIGSEGV, Segmentation fault.
0x08056e77 in __hpf_dealloc ()
(gdb) where
#0  0x08056e77 in __hpf_dealloc ()
#1  0x08057018 in pgf90_dealloc ()
#2  0x08049e78 in bugpg6 () at baco.f90:9
#3  0x080498cb in main ()


Has anyone a similar problem? Is there any upcoming patch?
thank you, Davide
Back to top
View user's profile
mkcolg



Joined: 30 Jun 2004
Posts: 6211
Location: The Portland Group Inc.

PostPosted: Tue May 31, 2005 11:30 am    Post subject: Reply with quote

Hi Davide,

Thank you for sending this in. We have not seen this bug before and will begin investigating its cause. I have given it to our compiler team, submitted a technical problem report (TPR #3551), and added you as the contact. Hopefully we'll be able to resolve this issue soon and add a fix to a patch release in the near future.

Thanks,
Mat
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling 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