LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 06-09-2008, 08:18 PM   #1
mkrems
Member
 
Registered: Jan 2008
Distribution: Ubuntu
Posts: 31

Rep: Reputation: 15
Mpi


I am running a parallel program which contains a function called "hamiltonian" which contains a parallel initialization and instructions. However, in the code piece

write (*,*) 'n0=',n0
write (*,*) 'nE=',nE
call hamiltonian(Egs_t,zV_t,zH)

in the main program, all of the processors print out n0 and nE. The parallel calls and invocation is in the hamiltonian function so why should each processor print these out. There is something I do not understand about MPI or BLACS, etc. Please provide some insight on this. Thanks!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 chandan_shetty Linux - Networking 1 05-10-2008 06:16 AM
Mpi chui_yap Programming 1 03-07-2006 08:22 AM
what do I need to know to use MPI kgustaf Linux - Networking 0 07-25-2005 05:13 PM
mandrivia 10.1 and MPI 1.4 frodemt Mandriva 1 04-19-2005 01:57 PM
How can I use MPI on RH9 ? millavr Linux - Networking 0 09-08-2004 10:59 AM

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

All times are GMT -5. The time now is 10:17 PM.

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