Message: Segfault when using MPI interface Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Segfault when using MPI interface 

Forum: Documentation and Examples
Date: 19 Jan, 2012
From: Josh Davies <Josh Davies>

I am trying to use the MPI interface demonstrated in examples/extended/parallel/MPI to thread my application, and am using G4MPImanager in pretty much exactly the same way as the example code.

The segfault is produced by the function G4RunManager::AnalyzeEvent - fairly deep in the frame work and not something in direct user control, so I am at a loss trying to work out what exactly is wrong.

Valgrind --tool=memcheck output:


It worked before adding in the MPI stuff, so presumably I have missed something somewhere... the examples build and run with no issues.

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

1 None: Re: Segfault when using MPI interface   (Josh Davies - 20 Jan, 2012)
 Add Message Add Message
to: "Segfault when using MPI interface"

 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 ]