PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

How to use PGI ?

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



Joined: 13 Oct 2005
Posts: 2

PostPosted: Fri Oct 14, 2005 2:11 pm    Post subject: How to use PGI ? Reply with quote

Hello
I have 2 pcs running linux fedora core 3 .
I installed PGI on both . There is no problem with installation . I want to know which how to do i need to read to work these pcs for parallel processing . I am really new to this thing . Please point me something . I just want to know wht do i need to do for next steps .
Sorry for my stupid question .
Thanks a lot.
Back to top
View user's profile
David Norton



Joined: 18 Aug 2004
Posts: 20

PostPosted: Sat Oct 15, 2005 4:51 pm    Post subject: Reply with quote

Hi Kernel9x -

I guess it all depends on what your expectations are for using the 2 PCs for parallel processing.

The usual way of dong this is to use a message passing library and MPI is generally the one used.

In order to use MPI, your code needs to be written with various MPI functions to send and receive data. Assuming that your code is already an MPI based code, you then need to have the MPI libraries installed on your systems. If you purchased the PGI CDK (cluster development toolkit) it comes with a version of MPI and the install instructions should guide you through the installation.

If you don't have the CDK, you can still download and install MPI yourself. Most people use MPICH for MPI - which is available from Argone National Lab http://www-unix.mcs.anl.gov/mpi/mpich

The Tips and Techniques section on this web site has some information to help you build MPI: http://www.pgroup.com/resources/mpich/mpich126_pgi60.htm

The MPICH web page has instructions on the several different versions and how to use them to launch parallel applications.

If your code isn't written using MPI but you would like to learn about MPI - there are numerous books on the subject, and a number of tutorials that you can find on the web. It takes a bit of work to get your hands around it when you first start, but after you get used to it, you can write very complex applications.

The methods of parallel computing that the compiler itself supports - automatic loop parallelization and OpenMP style parallelization, both work only with a single address space (that is multiple processors on a single system).

Hope that helps you get started.

-dave
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