I have written a GEANT4 code to output the simulation result as a root file and obtained the following error. May I please know what has gone wrong?
-------- EEEE ------- G4Exception-START -------- EEEE -------
*** G4Exception : PART70000
issued by : G4NuclideTable
G4ENSDFSTATEDATA environment variable must be set
*** Fatal Exception *** core dump ***
*** Break *** segmentation violation
===========================================================
There was a crash.
This is the entire stack trace of all threads:
===========================================================
#0 0x00007f83bdf8ce0a in waitpid () at /lib64/libc.so.6
#1 0x00007f83bdf0a4af in do_system () at /lib64/libc.so.6
#2 0x00007f83c9ee2b9d in TUnixSystem::StackTrace() () at /app/cern/root_v6.14.00/lib/libCore.so.6.14
#3 0x00007f83c9ee53a4 in TUnixSystem::DispatchSignals(ESignals) () at /app/cern/root_v6.14.00/lib/libCore.so.6.14
#4 0x00007f83be293360 in <signal handler called> () at /lib64/libpthread.so.0
#5 0x00007f83c3170d48 in G4ExceptionHandler::DumpTrackInfo() () at /cern/geant_4.10.04.02/lib64/libG4run.so
#6 0x00007f83c3172f4e in G4ExceptionHandler::Notify(char const*, char const*, G4ExceptionSeverity, char const*) () at /cern/geant_4.10.04.02/lib64/libG4run.so
#7 0x00007f83bf116631 in G4Exception(char const*, char const*, G4ExceptionSeverity, char const*) () at /cern/geant_4.10.04.02/lib64/libG4global.so
#8 0x00007f83c0014fb7 in G4NuclideTable::GenerateNuclide() () at /cern/geant_4.10.04.02/lib64/libG4particles.so
#9 0x00007f83c00152ab in G4NuclideTable::G4NuclideTable() () at /cern/geant_4.10.04.02/lib64/libG4particles.so
#10 0x00007f83c0015364 in G4NuclideTable::GetInstance() () at /cern/geant_4.10.04.02/lib64/libG4particles.so
#11 0x00007f83bffff199 in G4IonTable::PrepareNuclideTable() () at /cern/geant_4.10.04.02/lib64/libG4particles.so
#12 0x00007f83c0000d2e in G4IonTable::G4IonTable() () at /cern/geant_4.10.04.02/lib64/libG4particles.so
#13 0x00007f83c0020c81 in G4ParticleTable::G4ParticleTable() () at /cern/geant_4.10.04.02/lib64/libG4particles.so
#14 0x00007f83c00236ac in G4ParticleTable::GetParticleTable() () at /cern/geant_4.10.04.02/lib64/libG4particles.so
#15 0x00007f83c2f0498b in G4PrimaryTransformer::G4PrimaryTransformer() () at /cern/geant_4.10.04.02/lib64/libG4event.so
#16 0x00007f83c2ee6dc6 in G4EventManager::G4EventManager() () at /cern/geant_4.10.04.02/lib64/libG4event.so
#17 0x00007f83c319bb2e in G4RunManagerKernel::G4RunManagerKernel(G4RunManagerKernel::RMKType) () at /cern/geant_4.10.04.02/lib64/libG4run.so
#18 0x00007f83c319eec3 in G4MTRunManagerKernel::G4MTRunManagerKernel() () at /cern/geant_4.10.04.02/lib64/libG4run.so
#19 0x00007f83c318d4c5 in G4RunManager::G4RunManager(G4RunManager::RMType) () at /cern/geant_4.10.04.02/lib64/libG4run.so
#20 0x00007f83c318f4b5 in G4MTRunManager::G4MTRunManager() () at /cern/geant_4.10.04.02/lib64/libG4run.so
#21 0x00000000004194ca in main ()
===========================================================
The lines below might hint at the cause of the crash.
You may get help by asking at the ROOT forum http://root.cern.ch/forum
Only if you are really convinced it is a bug in ROOT then please submit a
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.
===========================================================
#5 0x00007f83c3170d48 in G4ExceptionHandler::DumpTrackInfo() () at /cern/geant_4.10.04.02/lib64/libG4run.so
#6 0x00007f83c3172f4e in G4ExceptionHandler::Notify(char const*, char const*, G4ExceptionSeverity, char const*) () at /cern/geant_4.10.04.02/lib64/libG4run.so
#7 0x00007f83bf116631 in G4Exception(char const*, char const*, G4ExceptionSeverity, char const*) () at /cern/geant_4.10.04.02/lib64/libG4global.so
#8 0x00007f83c0014fb7 in G4NuclideTable::GenerateNuclide() () at /cern/geant_4.10.04.02/lib64/libG4particles.so
#9 0x00007f83c00152ab in G4NuclideTable::G4NuclideTable() () at /cern/geant_4.10.04.02/lib64/libG4particles.so
#10 0x00007f83c0015364 in G4NuclideTable::GetInstance() () at /cern/geant_4.10.04.02/lib64/libG4particles.so
#11 0x00007f83bffff199 in G4IonTable::PrepareNuclideTable() () at /cern/geant_4.10.04.02/lib64/libG4particles.so
#12 0x00007f83c0000d2e in G4IonTable::G4IonTable() () at /cern/geant_4.10.04.02/lib64/libG4particles.so
#13 0x00007f83c0020c81 in G4ParticleTable::G4ParticleTable() () at /cern/geant_4.10.04.02/lib64/libG4particles.so
#14 0x00007f83c00236ac in G4ParticleTable::GetParticleTable() () at /cern/geant_4.10.04.02/lib64/libG4particles.so
#15 0x00007f83c2f0498b in G4PrimaryTransformer::G4PrimaryTransformer() () at /cern/geant_4.10.04.02/lib64/libG4event.so
#16 0x00007f83c2ee6dc6 in G4EventManager::G4EventManager() () at /cern/geant_4.10.04.02/lib64/libG4event.so
#17 0x00007f83c319bb2e in G4RunManagerKernel::G4RunManagerKernel(G4RunManagerKernel::RMKType) () at /cern/geant_4.10.04.02/lib64/libG4run.so
#18 0x00007f83c319eec3 in G4MTRunManagerKernel::G4MTRunManagerKernel() () at /cern/geant_4.10.04.02/lib64/libG4run.so
#19 0x00007f83c318d4c5 in G4RunManager::G4RunManager(G4RunManager::RMType) () at /cern/geant_4.10.04.02/lib64/libG4run.so
#20 0x00007f83c318f4b5 in G4MTRunManager::G4MTRunManager() () at /cern/geant_4.10.04.02/lib64/libG4run.so
#21 0x00000000004194ca in main ()
===========================================================