Dear FLUKA experts,
I’m trying to model an electron beam travelling through a steel encased vacuum beampipe and quadrupole magnet and then scoring dose in a water phantom, but before I add a magnetic field I find that when I try to run my input file, I get the following error:
======================== Running FLUKA for cycle # 1 ========================
Error: “/usr/local/fluka/bin/fluka” executable returned RC=2
nothing shows up in the .out file other than where it stops running, but the .log file reads:
At line 42 of file cascade/dfatwg.f
Fortran runtime error: Index ‘0’ of dimension 2 of array ‘isondx’ below lower bound of 1
Error termination. Backtrace:
#0 0x7fe5ce2517c2 in ???
#1 0x7fe5ce252289 in ???
#2 0x7fe5ce25289a in ???
#3 0x56316866b78a in dfatwg_
#4 0x563168570187 in master.0.cmpcrd
#5 0x563168405213 in flukam_
#6 0x563168402f10 in fluka
#7 0x563168402f10 in main
I have no idea what this type of error means, I have checked the geometry viewer and that is not showing up any issues, if anyone has any thoughts on how I could fix this I would really appreciate it!