Message: Re: Parallel calculation and marshaled object Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Parallel calculation and marshaled object 

Keywords: marshal
Forum: Run Management
Re: Question Parallel calculation and marshaled object (Alain Ferragut)
Date: 02 Jul, 2007
From: John Apostolakis <John Apostolakis>

I am posting this response, to provide a first response to those interested in this subject.

First of all, only objects which must be passed between processes need to be marshaled (brought together in a particular area of memory.) Since physics lists are initialised by Geant4 code, this code is run on all processes and the resulting physics lists objects are created on each one separately. This must be the case.

There is no need to marshall physics lists object - nor indeed would it be possible to marshall object that refer to (active) physics processes that will need to be called during a Geant4 simulation.

Only objects that contain just data are good candidates for passing between processes and, as such, marshaling. In the Geant4 context this typically will be input data relevant for a particular event and output data produced by an event (hits, histrograms etc). The marshaled output data will be passed between the worker node and the master process (or machine) which will then output it.

I hope that this helps regarding what type of data should be marshaled.

Best regards, John Apostolakis

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

 Add Message Add Message
to: "Re: Parallel calculation and marshaled object"

 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 ]