PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

Free OpenACC Webinar

Can PGI Fortran compiler call some math libraries?

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



Joined: 24 Sep 2013
Posts: 4

PostPosted: Sun Jul 20, 2014 9:30 pm    Post subject: Can PGI Fortran compiler call some math libraries? Reply with quote

We'll buy the PGI Fortran compiler for our GPU workstation. But we have some questions. I have googled these but I'm confused and the local seller can't really answer these questions.

Can PGI Fortran support some math library like MKL or others?

Can PGI Fortran support some GPU-enable library like cublas or others?
Back to top
View user's profile
cparrott



Joined: 02 May 2011
Posts: 146

PostPosted: Mon Jul 21, 2014 3:16 pm    Post subject: Reply with quote

Hi,

Glad to hear you are considering the PGI compiler suite for your workstation. To answer your questions:

1. Can PGI Fortran support some math library like MKL or others?

The PGI compiler suite ships with a build of the base BLAS and LAPACK packages from Netlib. In addition, we also ship the ACML math libraries from AMD with the PGI compiler suite.

As for MKL, yes, the PGI compilers can also use MKL as well, if you happen to have a current license for MKL from Intel. (PGI does not ship MKL with our compilers.) Here is a support article that describes the process:

http://www.pgroup.com/support/link.htm#mkl

2. Can PGI Fortran support some GPU-enable library like cublas or others?

Yes, we ship CUDA as an optional installable package for all PGI compilers. This includes the cublas and cufft libraries.

Hope this helps!

Best regards,

+chris
Back to top
View user's profile
afai



Joined: 24 Sep 2013
Posts: 4

PostPosted: Tue Jul 22, 2014 9:46 pm    Post subject: Reply with quote

Thank for your help.



Does PGI compiler use the CULA or MAGMA ?
Back to top
View user's profile
cparrott



Joined: 02 May 2011
Posts: 146

PostPosted: Wed Jul 23, 2014 11:49 am    Post subject: Reply with quote

Hi,

I don't know about CULA, but there is a whole thread about PGI and MAGMA here in the User Forum that should be very timely. We have tested MAGMA with PGI with some success here.

http://www.pgroup.com/userforum/viewtopic.php?t=4296

Hope this helps,

+chris
Back to top
View user's profile
mkcolg



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

PostPosted: Wed Jul 23, 2014 2:36 pm    Post subject: Reply with quote

Yes, CULA works with PGI Fortran. See: http://www.culatools.com/blog/2012/03/02/cuda-and-fortran/

- 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