Error on TRandom3 while executing a Garfield++ program using mpiicc INTEL compiler for parallel simulations

Dear responsible,
I am trying to run a simulation using parallel garfield. I am using root 5.34.36 compiled with mpiicc INTEL compiler. Also parallel garfield is compiled using the same one as well as the the example I am trying to run (name BAND_Fili).
When running I get the error explained below.

==========================================================
There was a crash (kSigSegmentationViolation).
This is the entire stack trace of all threads:

#0 0x00007fbcec53107a in _GI__waitpid (pid=27007, stat_loc=stat_loc
entry=0x7ffd1e7ae270, options=options
entry=0) at …/sysdeps/unix/sysv/linux/waitpid.c:29
#1 0x00007fbcec4a9fbb in do_system (line=) at …/sysdeps/posix/system.c:148
#2 0x00007fbcf4e06ee0 in TUnixSystem::Exec (this=0x3501e200, shellcmd=0x3586bb40 “/home/garfield/root-build/etc/gdb-backtrace.sh 26993 1>&2”) at /home/garfield/root/core/unix/src/TUnixSystem.cxx:2172
#3 0x00007fbcf4e07e64 in TUnixSystem::StackTrace (this=0x3501e200) at /home/garfield/root/core/unix/src/TUnixSystem.cxx:2419
#4 0x00007fbcf4e05b85 in TUnixSystem::DispatchSignals (this=0x3501e200, sig=kSigSegmentationViolation) at /home/garfield/root/core/unix/src/TUnixSystem.cxx:1294
#5 0x00007fbcf4dfd721 in SigHandler (sig=kSigSegmentationViolation) at /home/garfield/root/core/unix/src/TUnixSystem.cxx:440
#6 0x00007fbcf4dfda62 in sighandler (sig=11) at /home/garfield/root/core/unix/src/TUnixSystem.cxx:3750
#7
#8 0x00007fbcf036edb6 in TRandom3::Rndm (this=0x5987548 Garfield::randomEngine+8) at /home/garfield/root/math/mathcore/src/TRandom3.cxx:126
#9 0x000000000040e375 in Garfield::RandomEngineRoot::Draw (this=) at /home/garfield/pGarfield-toolkit-master/pGarfield/Include/RandomEngineRoot.hh:20
#10 Garfield::RndmUniform () at /home/garfield/pGarfield-toolkit-master/pGarfield/Include/Random.hh:16
#11 main (argc=1, argv=0x0) at Band_Fili.C:160

The lines below might hint at the cause of the crash.
If they do not help you then please submit a bug report at
http://root.cern.ch/bugs. Please post the ENTIRE stack trace
from above as an attachment in addition to anything else
that might help us fixing this issue.

#8 0x00007fbcf036edb6 in TRandom3::Rndm (this=0x5987548 Garfield::randomEngine+8) at /home/garfield/root/math/mathcore/src/TRandom3.cxx:126
#9 0x000000000040e375 in Garfield::RandomEngineRoot::Draw (this=) at /home/garfield/pGarfield-toolkit-master/pGarfield/Include/RandomEngineRoot.hh:20
#10 Garfield::RndmUniform () at /home/garfield/pGarfield-toolkit-master/pGarfield/Include/Random.hh:16:12 24911454 /usr/lib/x86_64-linux-gnu/libXext.so.6.4.

At the moment I do not know how to solve this issue.
Any help is very appreciated.

Thanks

Gabriele

Hello,

I understand that the problem happens in ROOT, but without knowing how Garfield++ uses ROOT it is basically impossible to say anything. The line of the crash corresponds to a call to a function which called thousands of times. So the suspect is some form of corruption somewhere.

I think you should contact the Garfield developers and have a first debug run with them.

G Ganis

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.