PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

Problems using acml in 5.2

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



Joined: 26 Jul 2005
Posts: 2

PostPosted: Tue Jul 26, 2005 8:46 am    Post subject: Problems using acml in 5.2 Reply with quote

Hi,

We have a fortran code that makes extensive use of LAPACK and BLAS routines. We've been compiling it with pgf90 5.2 and using the LAPACK and BLAS library included with 5.2. The code runs well with this arrangement.

Recently we decided to try using the acml library to see if we can get a speed imporvement. We sucessfully compiled the code with pgf90 and linking it with the acml library included with 5.2. However, when we tried to run the code, we got a floating point exception as soon as the code tried to call a BLAS routine. I tried compiling with the -Mcache_align switch, and it didn't help.

We are using an Opteron 248 system running red hat. Any insight into the problem would be greatly appreciated.
Back to top
View user's profile
mkcolg



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

PostPosted: Tue Jul 26, 2005 11:24 am    Post subject: Reply with quote

Hi Kwa,

Do you know which routine is causing the problem? We reported an issue to AMD where ACML's DGETRF/DGETRS routines can cause programs to seg fault when given large matrices (This should be fixed in ACML version 2.7).

Can you post a small example which exhibits the problem?

Thanks,
Mat
Back to top
View user's profile
kwu



Joined: 26 Jul 2005
Posts: 2

PostPosted: Tue Jul 26, 2005 12:18 pm    Post subject: Reply with quote

Thanks for the reply mat.

According to the debugger, the exception is caused by the subroutine ZTRSM, which was called by ZGETRF. Since ZGETRF is the double complex version of DGETRF, maybe it's the same problem?

Ken
Back to top
View user's profile
mkcolg



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

PostPosted: Wed Jul 27, 2005 10:13 am    Post subject: Reply with quote

Hi Ken,

It's possibly the same bug. Try reducing the matrix size since the error only occurs with large matrices.

The rumor around here is that ACML 2.7 should be out very soon, but we don't know exactly when. Note, since ACML 2.6 and 2.7 are being built with PGI 6.0, you will need to upgrade to 6.0 in order to use them.

- 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