Message: Re: G4mpi -> How To Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Idea Re: G4mpi -> How To 

Forum: Multithreading
Re: Question G4mpi -> How To (Dylan Pierce)
Date: 14 Dec, 2015
From: Andrea Dotti <Andrea Dotti>

Hello, first of all let me suggest you to migrate to Geant4 version 10.2. G4mpi was substantially improved in 10.2 and should also be easier to compile applications with it. Another suggestion is to look at exMPI03 that is a more complete example also showing how to use histograms, scorers and user data with MPI.

Note that compilation of an MPI-enabled application is a separate step with respect to running it on machines. If MPI is enabled and set-up correctly on machine "machine-A" and "machine-B", you can run MPI on them via:

> mpirun -host mahine-A,machine-B myExecutble arguments-to-exe

Refer to mpirun manpage for instructions and more details (for example on how to setup a machinefile for later use):

Clearly this step requires that mpi is installed on the machines you want to use. A google search can help you in getting more info, for example:


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

1 Question: Re: G4mpi -> How To   (Dylan Pierce - 15 Dec, 2015)
(_ Warning: Re: G4mpi -> How To   (Andrea Dotti - 15 Dec, 2015)
(_ Question: Re: G4mpi -> How To   (Dylan Pierce - 06 Jan, 2016)
(_ Feedback: Re: G4mpi -> How To   (Andrea Dotti - 15 Jan, 2016)
 Add Message Add Message
to: "Re: G4mpi -> How To"

 Subscribe Subscribe

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