Message: How is parallelization implemented using MPI and Geant4? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question How is parallelization implemented using MPI and Geant4? 

Forum: Documentation and Examples
Date: 31 Jan, 2009
From: Krisztian Balla <Krisztian Balla>

I installed Geant4 & MPICH2 on Xubuntu Linux 8.04 and compiled the parallelization examples successfully.

Unfortunately all the applications do, is to construct an MPI session im main() and start it. The README files of the applications state that you can learn how to parallelize your Geant4 applications with them.

It seems to me that you don't have to do anything to parallelize your application, despite creating the MPI manager and session objects. Is this true?

There is no real documentation on how the MPI parallelization written by mister Koichi Murakami works. So I wonder if this would work?

1.) I use the "EndOfEvent()" method of the sensitive detector to add hits to an AIDA histogram.

2.) I use the "EndOfRunAction()" method of a custom run action class to write the histogram to a file.

If only the events are parallelized (and NOT the sensitive detector) this should work fine. Could anybody please enlighten me?

(I hope this is the right forum to post. There seems to be no parallelization forum.)

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 Sad: Re: How is parallelization implemented using MPI and Geant4?   (Krisztian Balla - 31 Jan, 2009)
(_ Idea: Re: How is parallelization implemented using MPI and Geant4?   (Krisztian Balla - 31 Jan, 2009)
(_ None: Re: How is parallelization implemented using MPI and Geant4?   (Tom Roberts - 31 Jan, 2009)
(_ Agree: Re: How is parallelization implemented using MPI and Geant4?   (Krisztian Balla - 31 Jan, 2009)
1 None: Re: How is parallelization implemented using MPI and Geant4?   (Tom Roberts - 31 Jan, 2009)
2 Question: Re: How is parallelization implemented using MPI and Geant4?   (Geng - 01 Jul, 2012)
1 None: Re: How is parallelization implemented using MPI and Geant4?   (Youming Yang - 02 Jul, 2012)
... 1 Message(s)
 Add Message Add Message
to: "How is parallelization implemented using MPI and Geant4?"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]