LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 10-30-2010, 09:06 PM   #1
farooq1220
LQ Newbie
 
Registered: Oct 2010
Posts: 19

Rep: Reputation: 0
Question mpi program


i had successfully executed the "mpi" example cpi programe under linux
now i want to write the program on my own
how can i go for that
can u please tell me by "helloworld " program
 
Old 10-30-2010, 09:19 PM   #2
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
What exactly are you asking? You want to write a program, by all means, write one, and if you would like feedback on it, folks will be happy to offer commentary.
If you want to know "how" to go about writing your own program, well, just pop open a text editor or an IDE, and start writing.

Maybe if you expand upon the question, people can offer some better suggestions, more along the lines of what you want.
 
Old 10-30-2010, 10:40 PM   #3
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Hi -

Writing a "hello world" in C is a good thing - any good textbook will get you started.

Writing parallel applications for an MPI cluster is a very different thing. You might want to consider this book:

The Art of Concurrency, Clay Beshears

You can also find many tutorials on-line.

PS:
On a smaller scale, there are a number of interesting efforts to write parallel programs for GPUs. Besides MPI (large scale), you might also be interested in CUDA (micro-scale):

http://www.nvidia.com/object/GPU_Computing.html

Last edited by paulsm4; 10-30-2010 at 10:43 PM.
 
Old 10-31-2010, 07:39 PM   #4
farooq1220
LQ Newbie
 
Registered: Oct 2010
Posts: 19

Original Poster
Rep: Reputation: 0
what i want to ask there is
extremely basics for ons single program
1)by which software i could move on
all the complete steps for ons simple mpi program
because it is completely different from actual programs
 
Old 10-31-2010, 08:04 PM   #5
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,657

Rep: Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970
Quote:
Originally Posted by farooq1220 View Post
what i want to ask there is
extremely basics for ons single program
1)by which software i could move on
all the complete steps for ons simple mpi program
because it is completely different from actual programs
Sorry, still no idea what you're asking...your posts are almost impossible to understand.

As other have said...if you want to write a program, open an editor, and start writing.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
MPI programming: running external program on same processor (Fortran, mpiexec) zugvogel Programming 2 03-03-2010 06:09 AM
problem compiling mpi program(not while install) gamekiller Programming 3 10-02-2007 11:17 PM
MPI program running on cluster. ArthurHuang Programming 1 09-24-2007 01:20 AM
MPI Problem, Additional compy of program hiren_bhatt Programming 4 04-18-2006 12:27 AM
Running Mandelbrot mpi program given with mpich installation Dinux Linux - Networking 0 08-04-2003 09:27 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 06:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration